Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001187/0.001187, allocations: 81.97 kB / 22.21 MB, free: 2.289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001173/0.001173, allocations: 163.9 kB / 25.61 MB, free: 8.582 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9344/0.9344, allocations: 177.1 MB / 206.1 MB, free: 4.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1624/0.1624, allocations: 32.8 MB / 295.4 MB, free: 15.37 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.TestMatrices3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3") translateModel(ModelicaTest.Math.TestMatrices3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 377.2 MB, free: 25.63 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.087e-05/2.247e-05, allocations: 2.312 kB / 377.2 MB, free: 25.62 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.001401/0.001424, allocations: 0.5086 MB / 377.7 MB, free: 25.11 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001822/0.003246, allocations: 1.545 MB / 379.3 MB, free: 23.55 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.491e-05/0.003271, allocations: 0 / 379.3 MB, free: 23.55 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 1.665e-05/0.003287, allocations: 0 / 379.3 MB, free: 23.55 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 6.823e-06/0.003294, allocations: 0 / 379.3 MB, free: 23.55 MB / 314.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Math.mo:576:3-610:16:writable] Warning: Pure function 'ModelicaTest.Math.Matrices3' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.0009511/0.004245, allocations: 259.1 kB / 379.5 MB, free: 23.29 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 5.113e-05/0.004296, allocations: 7.984 kB / 379.6 MB, free: 23.29 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.903e-05/0.004335, allocations: 4 kB / 379.6 MB, free: 23.28 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.598e-05/0.004361, allocations: 0 / 379.6 MB, free: 23.28 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.746e-05/0.004379, allocations: 0 / 379.6 MB, free: 23.28 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 6.713e-06/0.004386, allocations: 0 / 379.6 MB, free: 23.28 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008319/0.005218, allocations: 0.683 MB / 380.2 MB, free: 22.6 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 9.598e-06/0.005227, allocations: 0 / 380.2 MB, free: 22.6 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 1.521e-05/0.005242, allocations: 7.984 kB / 380.2 MB, free: 22.59 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007401/0.005982, allocations: 0.7524 MB / 381 MB, free: 21.84 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.005987, allocations: 0 / 381 MB, free: 21.84 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.005988, allocations: 0 / 381 MB, free: 21.84 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.787e-06/0.005992, allocations: 0 / 381 MB, free: 21.84 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.0003502/0.006342, allocations: 389.9 kB / 381.4 MB, free: 21.41 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.006382, allocations: 15.98 kB / 381.4 MB, free: 21.4 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.928e-05/0.006411, allocations: 0.9375 kB / 381.4 MB, free: 21.4 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.756e-05/0.006459, allocations: 112.6 kB / 381.5 MB, free: 21.26 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.203e-05/0.006471, allocations: 384 / 381.5 MB, free: 21.26 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.933e-06/0.006478, allocations: 4.375 kB / 381.5 MB, free: 21.26 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.964e-05/0.006547, allocations: 59.97 kB / 381.6 MB, free: 21.19 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-06/0.006555, allocations: 192 / 381.6 MB, free: 21.19 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.304e-06/0.006562, allocations: 8.359 kB / 381.6 MB, free: 21.18 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.431e-06/0.006568, allocations: 3.938 kB / 381.6 MB, free: 21.18 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.443e-05/0.006582, allocations: 33.64 kB / 381.6 MB, free: 21.14 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.665e-05/0.006649, allocations: 97.25 kB / 381.7 MB, free: 21.02 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.845e-05/0.006697, allocations: 48.77 kB / 381.8 MB, free: 20.95 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.292e-05/0.00671, allocations: 33.48 kB / 381.8 MB, free: 20.91 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.767e-06/0.006714, allocations: 4 kB / 381.8 MB, free: 20.9 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.427e-05/0.006738, allocations: 59.09 kB / 381.8 MB, free: 20.83 MB / 314.7 MB Notification: Performance of pre-optimization done (n=1): time 9.02e-07/0.006739, allocations: 0 / 381.8 MB, free: 20.83 MB / 314.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001493/0.006889, allocations: 122.7 kB / 382 MB, free: 20.68 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.039e-05/0.006919, allocations: 77.11 kB / 382 MB, free: 20.59 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.842e-05/0.006947, allocations: 150.4 kB / 382.2 MB, free: 20.43 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.292e-06/0.006954, allocations: 25.7 kB / 382.2 MB, free: 20.4 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.668e-05/0.00697, allocations: 126.9 kB / 382.3 MB, free: 20.27 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.607e-05/0.006986, allocations: 0 / 382.3 MB, free: 20.27 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.616e-05/0.007013, allocations: 19.38 kB / 382.4 MB, free: 20.24 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.656e-05/0.007079, allocations: 500 kB / 382.8 MB, free: 19.74 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.446e-05/0.007094, allocations: 29.69 kB / 382.9 MB, free: 19.71 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.029e-05/0.007104, allocations: 25.7 kB / 382.9 MB, free: 19.68 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.304e-05/0.007147, allocations: 63.09 kB / 383 MB, free: 19.6 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.007149, allocations: 0 / 383 MB, free: 19.6 MB / 314.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.088e-05/0.007219, allocations: 97.11 kB / 383.1 MB, free: 19.48 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.687e-05/0.007246, allocations: 37.69 kB / 383.1 MB, free: 19.44 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.007252, allocations: 0 / 383.1 MB, free: 19.44 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.678e-06/0.007261, allocations: 0 / 383.1 MB, free: 19.44 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.954e-06/0.007263, allocations: 4 kB / 383.1 MB, free: 19.44 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.236e-06/0.007266, allocations: 0 / 383.1 MB, free: 19.44 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.736e-05/0.007284, allocations: 3.938 kB / 383.1 MB, free: 19.43 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.149e-06/0.007289, allocations: 0 / 383.1 MB, free: 19.43 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 5.806e-05/0.007347, allocations: 186.3 kB / 383.3 MB, free: 19.23 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.855e-06/0.007355, allocations: 352 / 383.3 MB, free: 19.23 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.908e-06/0.007365, allocations: 11.03 kB / 383.3 MB, free: 19.23 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.007367, allocations: 3.984 kB / 383.3 MB, free: 19.22 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-06/0.007369, allocations: 0 / 383.3 MB, free: 19.22 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.007373, allocations: 0 / 383.3 MB, free: 19.22 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.457e-05/0.007427, allocations: 93.2 kB / 383.4 MB, free: 19.11 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.007428, allocations: 0 / 383.4 MB, free: 19.11 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.71e-07/0.007429, allocations: 0 / 383.4 MB, free: 19.11 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.022e-06/0.00743, allocations: 4 kB / 383.4 MB, free: 19.1 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.519e-06/0.007434, allocations: 0 / 383.4 MB, free: 19.1 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.007436, allocations: 3.938 kB / 383.4 MB, free: 19.1 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.007437, allocations: 0 / 383.4 MB, free: 19.1 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.656e-05/0.007534, allocations: 139.7 kB / 383.5 MB, free: 18.93 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.45e-06/0.007539, allocations: 0 / 383.5 MB, free: 18.93 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.162e-05/0.007551, allocations: 4 kB / 383.5 MB, free: 18.92 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.654e-06/0.007558, allocations: 0 / 383.5 MB, free: 18.92 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.295e-06/0.007567, allocations: 0 / 383.5 MB, free: 18.92 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.158e-06/0.007571, allocations: 0 / 383.5 MB, free: 18.92 MB / 314.7 MB Notification: Performance of sorting global known variables: time 1.529e-05/0.007586, allocations: 123.2 kB / 383.7 MB, free: 18.8 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007586, allocations: 4 kB / 383.7 MB, free: 18.8 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004256/0.008012, allocations: 123.8 kB / 383.8 MB, free: 18.68 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.0006186/0.00863, allocations: 184.5 kB / 384 MB, free: 18.5 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 8.598e-05/0.008716, allocations: 122.4 kB / 384.1 MB, free: 18.35 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.008718, allocations: 0 / 384.1 MB, free: 18.35 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.019e-05/0.008738, allocations: 100.8 kB / 384.2 MB, free: 18.23 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001354/0.008873, allocations: 6.125 kB / 384.2 MB, free: 18.22 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001497/0.009023, allocations: 103.6 kB / 384.3 MB, free: 18.09 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.216e-05/0.009045, allocations: 55.22 kB / 384.3 MB, free: 18.01 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 7.273e-06/0.009052, allocations: 4 kB / 384.3 MB, free: 18.01 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.027e-05/0.009083, allocations: 70.19 kB / 384.4 MB, free: 17.94 MB / 314.7 MB Notification: Performance of SimCode: time 1.292e-06/0.009084, allocations: 0 / 384.4 MB, free: 17.94 MB / 314.7 MB Notification: Performance of Templates: time 0.00755/0.01663, allocations: 4.466 MB / 388.9 MB, free: 13.47 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/TestMatrices3/TestMatrices3.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: 3.4777492051944137]