Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestMatrices.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009561/0.0009561, allocations: 84.73 kB / 21.5 MB, free: 2.992 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009966/0.0009966, allocations: 161.1 kB / 24.91 MB, free: 8.719 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8745/0.8745, allocations: 177 MB / 205.2 MB, free: 4.441 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1374/0.1374, allocations: 34.87 MB / 296.6 MB, free: 13.4 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Math.TestMatrices,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatrices") translateModel(ModelicaTest.Math.TestMatrices,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatrices") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.152e-06/1.152e-06, allocations: 0 / 325.9 MB, free: 100 kB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.223e-05/1.339e-05, allocations: 5.266 kB / 325.9 MB, free: 96 kB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices): time 0.0009534/0.0009668, allocations: 0.5013 MB / 326.4 MB, free: 15.59 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001546/0.002513, allocations: 1.595 MB / 328 MB, free: 13.98 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.357e-05/0.002526, allocations: 0 / 328 MB, free: 13.98 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 1.195e-05/0.002538, allocations: 3.938 kB / 328 MB, free: 13.97 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 5.38e-06/0.002543, allocations: 4 kB / 328 MB, free: 13.97 MB / 314.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Math.mo:171:3-212:15:writable] Warning: Pure function 'ModelicaTest.Math.Matrices' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.0006932/0.003237, allocations: 287.1 kB / 328.3 MB, free: 13.69 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 3.581e-05/0.003273, allocations: 7.984 kB / 328.3 MB, free: 13.68 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.91e-05/0.003302, allocations: 3.984 kB / 328.3 MB, free: 13.68 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.219e-05/0.003324, allocations: 0 / 328.3 MB, free: 13.68 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.626e-05/0.00334, allocations: 4 kB / 328.3 MB, free: 13.67 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 6.553e-06/0.003347, allocations: 0 / 328.3 MB, free: 13.67 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004258/0.003772, allocations: 414.9 kB / 328.7 MB, free: 13.27 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 6.853e-06/0.003779, allocations: 4 kB / 328.7 MB, free: 13.26 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 1.142e-05/0.003791, allocations: 0 / 328.7 MB, free: 13.26 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000282/0.004073, allocations: 319.2 kB / 329 MB, free: 12.95 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.814e-06/0.004074, allocations: 0 / 329 MB, free: 12.95 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.72e-07/0.004075, allocations: 0 / 329 MB, free: 12.95 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.385e-06/0.004078, allocations: 0 / 329 MB, free: 12.95 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0001904/0.004268, allocations: 282 kB / 329.3 MB, free: 12.64 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.536e-05/0.004293, allocations: 8.031 kB / 329.3 MB, free: 12.64 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.534e-05/0.004309, allocations: 8.875 kB / 329.3 MB, free: 12.63 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.536e-05/0.004354, allocations: 101.8 kB / 329.4 MB, free: 12.5 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.094e-06/0.004361, allocations: 384 / 329.4 MB, free: 12.5 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.961e-06/0.004367, allocations: 384 / 329.4 MB, free: 12.5 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.067e-05/0.004418, allocations: 67.94 kB / 329.5 MB, free: 12.43 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.268e-06/0.004422, allocations: 192 / 329.5 MB, free: 12.43 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.739e-06/0.004427, allocations: 384 / 329.5 MB, free: 12.43 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.004431, allocations: 3.938 kB / 329.5 MB, free: 12.42 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.122e-05/0.004442, allocations: 29.7 kB / 329.5 MB, free: 12.39 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 4.37e-05/0.004486, allocations: 57.05 kB / 329.6 MB, free: 12.32 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.543e-05/0.004521, allocations: 48.25 kB / 329.6 MB, free: 12.25 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.419e-05/0.004535, allocations: 30.62 kB / 329.6 MB, free: 12.21 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.306e-06/0.004539, allocations: 7.984 kB / 329.6 MB, free: 12.21 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.666e-05/0.004565, allocations: 56.27 kB / 329.7 MB, free: 12.14 MB / 314.7 MB Notification: Performance of pre-optimization done (n=1): time 5.11e-07/0.004566, allocations: 0 / 329.7 MB, free: 12.14 MB / 314.7 MB Notification: Performance of matching and sorting (n=1): time 7.753e-05/0.004643, allocations: 114.8 kB / 329.8 MB, free: 12 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.061e-05/0.004674, allocations: 81.11 kB / 329.9 MB, free: 11.9 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.765e-05/0.004702, allocations: 93.84 kB / 330 MB, free: 11.8 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.975e-06/0.00471, allocations: 29.83 kB / 330 MB, free: 11.77 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.891e-05/0.004728, allocations: 84.12 kB / 330.1 MB, free: 11.68 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.098e-05/0.004739, allocations: 4.344 kB / 330.1 MB, free: 11.68 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.572e-05/0.004755, allocations: 9.719 kB / 330.1 MB, free: 11.66 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.817e-05/0.004823, allocations: 314.8 kB / 330.4 MB, free: 11.34 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.151e-05/0.004835, allocations: 29.7 kB / 330.4 MB, free: 11.31 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.14e-05/0.004846, allocations: 25.7 kB / 330.5 MB, free: 11.28 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.314e-05/0.004879, allocations: 64.25 kB / 330.5 MB, free: 11.2 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-06/0.004881, allocations: 0 / 330.5 MB, free: 11.2 MB / 314.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.867e-05/0.004919, allocations: 89.11 kB / 330.6 MB, free: 11.09 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.231e-05/0.004942, allocations: 37.73 kB / 330.6 MB, free: 11.05 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.536e-06/0.004945, allocations: 0 / 330.6 MB, free: 11.05 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.863e-06/0.004952, allocations: 0 / 330.6 MB, free: 11.05 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.515e-06/0.004954, allocations: 0 / 330.6 MB, free: 11.05 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.435e-06/0.004957, allocations: 3.984 kB / 330.7 MB, free: 11.05 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.273e-06/0.004964, allocations: 0 / 330.7 MB, free: 11.05 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.729e-06/0.004969, allocations: 7.938 kB / 330.7 MB, free: 11.04 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.766e-05/0.005017, allocations: 135.5 kB / 330.8 MB, free: 10.89 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.939e-06/0.005021, allocations: 7.938 kB / 330.8 MB, free: 10.88 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.14e-06/0.005027, allocations: 3 kB / 330.8 MB, free: 10.88 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.12e-07/0.005027, allocations: 4 kB / 330.8 MB, free: 10.88 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.51e-07/0.005028, allocations: 0 / 330.8 MB, free: 10.88 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.005031, allocations: 0 / 330.8 MB, free: 10.88 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.879e-05/0.00507, allocations: 73.78 kB / 330.9 MB, free: 10.79 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-07/0.00507, allocations: 0 / 330.9 MB, free: 10.79 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.71e-07/0.005071, allocations: 0 / 330.9 MB, free: 10.79 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.11e-07/0.005071, allocations: 0 / 330.9 MB, free: 10.79 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.604e-06/0.005074, allocations: 0 / 330.9 MB, free: 10.79 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.61e-07/0.005074, allocations: 0 / 330.9 MB, free: 10.79 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-07/0.005075, allocations: 0 / 330.9 MB, free: 10.79 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.328e-05/0.005128, allocations: 124.4 kB / 331 MB, free: 10.64 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.536e-06/0.005132, allocations: 3.984 kB / 331 MB, free: 10.63 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.093e-06/0.005139, allocations: 0 / 331 MB, free: 10.63 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.717e-06/0.005143, allocations: 0 / 331 MB, free: 10.63 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.464e-06/0.00515, allocations: 4 kB / 331 MB, free: 10.63 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.092e-06/0.005151, allocations: 0 / 331 MB, free: 10.63 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.021e-06/0.005157, allocations: 8.891 kB / 331 MB, free: 10.62 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.005157, allocations: 0 / 331 MB, free: 10.62 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001799/0.005337, allocations: 71.73 kB / 331.1 MB, free: 10.55 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002889/0.005626, allocations: 177.5 kB / 331.3 MB, free: 10.37 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 6.269e-05/0.005689, allocations: 111.7 kB / 331.4 MB, free: 10.23 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.00569, allocations: 4.062 kB / 331.4 MB, free: 10.23 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.815e-05/0.005718, allocations: 93.89 kB / 331.5 MB, free: 10.12 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 3.113e-05/0.00575, allocations: 11.88 kB / 331.5 MB, free: 10.11 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001006/0.00585, allocations: 104 kB / 331.6 MB, free: 9.969 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.329e-05/0.005873, allocations: 51.36 kB / 331.6 MB, free: 9.898 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.717e-06/0.005877, allocations: 0 / 331.6 MB, free: 9.898 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.501e-05/0.005902, allocations: 55.36 kB / 331.7 MB, free: 9.844 MB / 314.7 MB Notification: Performance of SimCode: time 5.51e-07/0.005903, allocations: 3.938 kB / 331.7 MB, free: 9.84 MB / 314.7 MB Notification: Performance of Templates: time 0.002363/0.008266, allocations: 1.493 MB / 333.2 MB, free: 8.352 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestMatrices.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestMatrices.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestMatrices.sim & ./ModelicaTest_trunk_ModelicaTest.Math.TestMatrices -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestMatrices.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Math.TestMatrices_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Math/TestMatrices/TestMatrices.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8281681309454143]