Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001344/0.001344, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.001542/0.001542, allocations: 168.7 kB / 24.91 MB, free: 9.199 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.9795/0.9795, allocations: 177.1 MB / 205.3 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2644/0.2644, allocations: 34.26 MB / 296.1 MB, free: 0.6445 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.0_ModelicaTest.Math.TestMatrices3") translateModel(ModelicaTest.Math.TestMatrices3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 325.3 MB, free: 7.656 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.418e-05/1.557e-05, allocations: 3.016 kB / 325.3 MB, free: 7.652 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.001296/0.001312, allocations: 0.5472 MB / 325.8 MB, free: 7.105 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001904/0.003216, allocations: 1.573 MB / 327.4 MB, free: 5.512 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.892e-05/0.003235, allocations: 0 / 327.4 MB, free: 5.512 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.255e-05/0.003247, allocations: 0 / 327.4 MB, free: 5.512 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 5.621e-06/0.003253, allocations: 0 / 327.4 MB, free: 5.512 MB / 298.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.00073/0.003983, allocations: 247.2 kB / 327.6 MB, free: 5.27 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 4.148e-05/0.004024, allocations: 4.625 kB / 327.6 MB, free: 5.266 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.253e-05/0.004057, allocations: 0 / 327.6 MB, free: 5.266 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.488e-05/0.004082, allocations: 4 kB / 327.6 MB, free: 5.262 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.862e-05/0.0041, allocations: 7.938 kB / 327.6 MB, free: 5.254 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.57e-06/0.004106, allocations: 0 / 327.6 MB, free: 5.254 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008744/0.00498, allocations: 0.7186 MB / 328.4 MB, free: 4.535 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.543e-06/0.004987, allocations: 0 / 328.4 MB, free: 4.535 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.136e-05/0.004998, allocations: 4 kB / 328.4 MB, free: 4.531 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006765/0.005675, allocations: 0.7446 MB / 329.1 MB, free: 3.785 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.563e-06/0.005676, allocations: 0 / 329.1 MB, free: 3.785 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.005677, allocations: 4 kB / 329.1 MB, free: 3.781 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.387e-06/0.00568, allocations: 0 / 329.1 MB, free: 3.781 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.0002794/0.00596, allocations: 266.2 kB / 329.4 MB, free: 3.492 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.252e-05/0.005992, allocations: 8.031 kB / 329.4 MB, free: 3.484 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.202e-05/0.006014, allocations: 0.9375 kB / 329.4 MB, free: 3.484 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.309e-05/0.006077, allocations: 109.8 kB / 329.5 MB, free: 3.352 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.528e-06/0.006087, allocations: 4.359 kB / 329.5 MB, free: 3.348 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.561e-06/0.006093, allocations: 384 / 329.5 MB, free: 3.348 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.661e-05/0.006159, allocations: 55.97 kB / 329.5 MB, free: 3.281 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.171e-06/0.006165, allocations: 192 / 329.5 MB, free: 3.281 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.84e-06/0.00617, allocations: 384 / 329.5 MB, free: 3.281 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.006176, allocations: 3.938 kB / 329.5 MB, free: 3.277 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.828e-05/0.006194, allocations: 37.64 kB / 329.6 MB, free: 3.234 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.946e-05/0.006264, allocations: 53.05 kB / 329.6 MB, free: 3.168 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.316e-05/0.006307, allocations: 48.3 kB / 329.7 MB, free: 3.105 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.62e-05/0.006323, allocations: 30.56 kB / 329.7 MB, free: 3.066 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.655e-06/0.006326, allocations: 0 / 329.7 MB, free: 3.066 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.214e-05/0.006358, allocations: 60.33 kB / 329.8 MB, free: 2.992 MB / 298.7 MB Notification: Performance of pre-optimization done (n=1): time 5.61e-07/0.006359, allocations: 0 / 329.8 MB, free: 2.992 MB / 298.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001065/0.006465, allocations: 122.7 kB / 329.9 MB, free: 2.848 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.251e-05/0.006498, allocations: 81.11 kB / 330 MB, free: 2.75 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.204e-05/0.00653, allocations: 89.86 kB / 330.1 MB, free: 2.652 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.266e-06/0.006538, allocations: 29.83 kB / 330.1 MB, free: 2.617 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.038e-05/0.006558, allocations: 80.14 kB / 330.2 MB, free: 2.535 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.493e-05/0.006573, allocations: 5.359 kB / 330.2 MB, free: 2.531 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.469e-05/0.006598, allocations: 13.72 kB / 330.2 MB, free: 2.512 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.412e-05/0.006682, allocations: 314.8 kB / 330.5 MB, free: 2.195 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.203e-05/0.006694, allocations: 25.7 kB / 330.5 MB, free: 2.164 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.34e-05/0.006707, allocations: 29.7 kB / 330.5 MB, free: 2.129 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.812e-05/0.006756, allocations: 64.25 kB / 330.6 MB, free: 2.051 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.006757, allocations: 0 / 330.6 MB, free: 2.051 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.5e-05/0.006812, allocations: 89.11 kB / 330.7 MB, free: 1.945 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.592e-05/0.006838, allocations: 33.69 kB / 330.7 MB, free: 1.906 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.006843, allocations: 4 kB / 330.7 MB, free: 1.902 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.084e-05/0.006854, allocations: 0 / 330.7 MB, free: 1.902 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.412e-06/0.006855, allocations: 0 / 330.7 MB, free: 1.902 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.465e-06/0.006857, allocations: 0 / 330.7 MB, free: 1.902 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.084e-05/0.006868, allocations: 0 / 330.7 MB, free: 1.902 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.131e-06/0.006874, allocations: 7.938 kB / 330.7 MB, free: 1.895 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 5.701e-05/0.006931, allocations: 139.5 kB / 330.9 MB, free: 1.742 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.949e-06/0.006936, allocations: 0 / 330.9 MB, free: 1.742 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.973e-06/0.006943, allocations: 7.031 kB / 330.9 MB, free: 1.738 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-06/0.006944, allocations: 4 kB / 330.9 MB, free: 1.734 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-06/0.006946, allocations: 0 / 330.9 MB, free: 1.734 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.006949, allocations: 3.984 kB / 330.9 MB, free: 1.73 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.535e-05/0.006994, allocations: 61.84 kB / 331 MB, free: 1.652 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.006995, allocations: 0 / 331 MB, free: 1.652 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.533e-06/0.006997, allocations: 4 kB / 331 MB, free: 1.648 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.32e-07/0.006998, allocations: 4 kB / 331 MB, free: 1.645 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.557e-06/0.007001, allocations: 0 / 331 MB, free: 1.645 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.61e-07/0.007002, allocations: 0 / 331 MB, free: 1.645 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.007002, allocations: 0 / 331 MB, free: 1.645 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.874e-05/0.007081, allocations: 120.4 kB / 331.1 MB, free: 1.496 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.669e-06/0.007086, allocations: 4.344 kB / 331.1 MB, free: 1.492 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.005e-05/0.007096, allocations: 0 / 331.1 MB, free: 1.492 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.605e-06/0.007103, allocations: 7.922 kB / 331.1 MB, free: 1.484 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.354e-06/0.007111, allocations: 0 / 331.1 MB, free: 1.484 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.474e-06/0.007113, allocations: 4 kB / 331.1 MB, free: 1.48 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.142e-06/0.007119, allocations: 4.859 kB / 331.1 MB, free: 1.473 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00712, allocations: 0 / 331.1 MB, free: 1.473 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003021/0.007422, allocations: 123.9 kB / 331.2 MB, free: 1.352 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.0005192/0.007941, allocations: 167.8 kB / 331.4 MB, free: 1.195 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.286e-05/0.008024, allocations: 123.6 kB / 331.5 MB, free: 1.043 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.008026, allocations: 0 / 331.5 MB, free: 1.043 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.993e-05/0.008056, allocations: 90.03 kB / 331.6 MB, free: 0.9336 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.793e-05/0.008104, allocations: 7.938 kB / 331.6 MB, free: 0.9258 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001284/0.008232, allocations: 108.6 kB / 331.7 MB, free: 0.7852 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.469e-05/0.008257, allocations: 51.36 kB / 331.8 MB, free: 0.7148 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.599e-06/0.008261, allocations: 0 / 331.8 MB, free: 0.7148 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.763e-05/0.008289, allocations: 51.38 kB / 331.8 MB, free: 0.6641 MB / 298.7 MB Notification: Performance of SimCode: time 3.71e-07/0.008289, allocations: 0 / 331.8 MB, free: 0.6641 MB / 298.7 MB Notification: Performance of Templates: time 0.005737/0.01403, allocations: 4.072 MB / 335.9 MB, free: 12.59 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3.sim & ./ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.2275156690739095]