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.000938/0.000938, allocations: 80.8 kB / 21.49 MB, free: 2.988 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.001142/0.001142, allocations: 168.3 kB / 24.91 MB, free: 8.77 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 1.017/1.017, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.2864/0.2864, allocations: 32.8 MB / 294.6 MB, free: 1.238 MB / 266.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.723e-06/1.723e-06, allocations: 0 / 323.2 MB, free: 9.695 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.271e-05/2.444e-05, allocations: 3.297 kB / 323.2 MB, free: 9.691 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.001284/0.001308, allocations: 0.5489 MB / 323.8 MB, free: 9.141 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001674/0.002982, allocations: 1.565 MB / 325.4 MB, free: 7.555 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.877e-05/0.003001, allocations: 0 / 325.4 MB, free: 7.555 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.242e-05/0.003013, allocations: 0 / 325.4 MB, free: 7.555 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 5.731e-06/0.003019, allocations: 0 / 325.4 MB, free: 7.555 MB / 298.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.0007781/0.003797, allocations: 255.2 kB / 325.6 MB, free: 7.305 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 4.916e-05/0.003846, allocations: 0 / 325.6 MB, free: 7.305 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.987e-05/0.003886, allocations: 4.609 kB / 325.6 MB, free: 7.301 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.141e-05/0.003918, allocations: 8 kB / 325.6 MB, free: 7.293 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.934e-05/0.003937, allocations: 0 / 325.6 MB, free: 7.293 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.266e-06/0.003945, allocations: 0 / 325.6 MB, free: 7.293 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008613/0.004807, allocations: 0.7109 MB / 326.3 MB, free: 6.582 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.134e-05/0.004818, allocations: 7.984 kB / 326.3 MB, free: 6.574 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.532e-05/0.004833, allocations: 3.938 kB / 326.3 MB, free: 6.57 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007024/0.005536, allocations: 0.7408 MB / 327.1 MB, free: 5.828 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.055e-06/0.005539, allocations: 4 kB / 327.1 MB, free: 5.824 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.243e-06/0.00554, allocations: 0 / 327.1 MB, free: 5.824 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.005546, allocations: 0 / 327.1 MB, free: 5.824 MB / 298.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.0003493/0.005895, allocations: 274.2 kB / 327.4 MB, free: 5.527 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.00593, allocations: 8.031 kB / 327.4 MB, free: 5.52 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.18e-05/0.005952, allocations: 0.9375 kB / 327.4 MB, free: 5.52 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.081e-05/0.006003, allocations: 105.8 kB / 327.5 MB, free: 5.391 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.133e-06/0.00601, allocations: 4.312 kB / 327.5 MB, free: 5.387 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.729e-06/0.006015, allocations: 384 / 327.5 MB, free: 5.387 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.322e-05/0.006078, allocations: 63.91 kB / 327.5 MB, free: 5.312 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.751e-06/0.006083, allocations: 192 / 327.5 MB, free: 5.312 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.17e-06/0.006089, allocations: 384 / 327.5 MB, free: 5.312 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.006096, allocations: 7.922 kB / 327.5 MB, free: 5.305 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.471e-05/0.00611, allocations: 33.7 kB / 327.6 MB, free: 5.266 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.893e-05/0.006169, allocations: 53.05 kB / 327.6 MB, free: 5.199 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.113e-05/0.00621, allocations: 48.31 kB / 327.7 MB, free: 5.137 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.452e-05/0.006225, allocations: 30.56 kB / 327.7 MB, free: 5.098 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.136e-06/0.006228, allocations: 0 / 327.7 MB, free: 5.098 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.634e-05/0.006294, allocations: 60.33 kB / 327.8 MB, free: 5.023 MB / 298.7 MB Notification: Performance of pre-optimization done (n=1): time 6.82e-07/0.006295, allocations: 3.938 kB / 327.8 MB, free: 5.02 MB / 298.7 MB Notification: Performance of matching and sorting (n=1): time 0.000103/0.006398, allocations: 110.8 kB / 327.9 MB, free: 4.887 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.002e-05/0.006428, allocations: 81.11 kB / 327.9 MB, free: 4.789 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.69e-05/0.006455, allocations: 89.86 kB / 328 MB, free: 4.691 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.644e-06/0.006463, allocations: 29.83 kB / 328.1 MB, free: 4.656 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.852e-05/0.006481, allocations: 80.14 kB / 328.1 MB, free: 4.574 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.476e-05/0.006496, allocations: 1.203 kB / 328.1 MB, free: 4.574 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.089e-05/0.006517, allocations: 21.69 kB / 328.2 MB, free: 4.547 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.024e-05/0.006587, allocations: 314.8 kB / 328.5 MB, free: 4.23 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.488e-05/0.006602, allocations: 29.7 kB / 328.5 MB, free: 4.195 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.211e-05/0.006614, allocations: 29.7 kB / 328.5 MB, free: 4.16 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.37e-05/0.006658, allocations: 64.2 kB / 328.6 MB, free: 4.082 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.00666, allocations: 0 / 328.6 MB, free: 4.082 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.184e-05/0.006712, allocations: 89.16 kB / 328.7 MB, free: 3.977 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.785e-05/0.00674, allocations: 33.7 kB / 328.7 MB, free: 3.938 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.006745, allocations: 0 / 328.7 MB, free: 3.938 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.457e-06/0.006754, allocations: 0 / 328.7 MB, free: 3.938 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.323e-06/0.006756, allocations: 0 / 328.7 MB, free: 3.938 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.044e-06/0.006758, allocations: 0 / 328.7 MB, free: 3.938 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.999e-06/0.006768, allocations: 0 / 328.7 MB, free: 3.938 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-06/0.006773, allocations: 3.938 kB / 328.7 MB, free: 3.934 MB / 298.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 6.538e-05/0.006839, allocations: 139.5 kB / 328.9 MB, free: 3.781 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.32e-06/0.006844, allocations: 0 / 328.9 MB, free: 3.781 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.306e-06/0.006852, allocations: 7.031 kB / 328.9 MB, free: 3.777 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.82e-07/0.006853, allocations: 7.938 kB / 328.9 MB, free: 3.77 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.272e-06/0.006855, allocations: 0 / 328.9 MB, free: 3.77 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.006857, allocations: 0 / 328.9 MB, free: 3.77 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.327e-05/0.0069, allocations: 65.78 kB / 328.9 MB, free: 3.688 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-07/0.006901, allocations: 0 / 328.9 MB, free: 3.688 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.51e-07/0.006901, allocations: 4 kB / 328.9 MB, free: 3.684 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.283e-06/0.006902, allocations: 0 / 328.9 MB, free: 3.684 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.218e-06/0.006907, allocations: 0 / 328.9 MB, free: 3.684 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.006909, allocations: 3.984 kB / 328.9 MB, free: 3.68 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.00691, allocations: 0 / 328.9 MB, free: 3.68 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.678e-05/0.006976, allocations: 116.5 kB / 329.1 MB, free: 3.535 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.001e-06/0.006982, allocations: 12.27 kB / 329.1 MB, free: 3.523 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.236e-06/0.006991, allocations: 0 / 329.1 MB, free: 3.523 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.981e-06/0.006997, allocations: 4 kB / 329.1 MB, free: 3.52 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.393e-06/0.007004, allocations: 0 / 329.1 MB, free: 3.52 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.427e-06/0.007007, allocations: 4 kB / 329.1 MB, free: 3.516 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.199e-06/0.007013, allocations: 4.859 kB / 329.1 MB, free: 3.508 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007013, allocations: 0 / 329.1 MB, free: 3.508 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002874/0.0073, allocations: 119.9 kB / 329.2 MB, free: 3.391 MB / 298.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.0004919/0.007792, allocations: 179.8 kB / 329.4 MB, free: 3.223 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001595/0.007951, allocations: 111.7 kB / 329.5 MB, free: 3.086 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.007954, allocations: 0 / 329.5 MB, free: 3.086 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.791e-05/0.007982, allocations: 94.02 kB / 329.6 MB, free: 2.973 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.873e-05/0.008031, allocations: 7.938 kB / 329.6 MB, free: 2.965 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000137/0.008168, allocations: 109.3 kB / 329.7 MB, free: 2.824 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.544e-05/0.008193, allocations: 51.36 kB / 329.7 MB, free: 2.754 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.102e-06/0.008199, allocations: 3.984 kB / 329.7 MB, free: 2.75 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.92e-05/0.008228, allocations: 51.38 kB / 329.8 MB, free: 2.699 MB / 298.7 MB Notification: Performance of SimCode: time 7.31e-07/0.008229, allocations: 0 / 329.8 MB, free: 2.699 MB / 298.7 MB Notification: Performance of Templates: time 0.005917/0.01415, allocations: 4.066 MB / 333.9 MB, free: 14.62 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 -s gbode -gbm=radauIIA3 -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.251073104329407]