Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices.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.0009532/0.0009532, 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.0008867/0.0008867, 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.868/0.868, 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.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.133/0.133, allocations: 34.27 MB / 296.9 MB, free: 13.91 MB / 282.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.TestMatrices,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices") translateModel(ModelicaTest.Math.TestMatrices,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 379.3 MB, free: 23.43 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.072e-05/1.222e-05, allocations: 6.25 kB / 379.3 MB, free: 23.42 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices): time 0.0008357/0.000848, allocations: 485.1 kB / 379.8 MB, free: 22.95 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001122/0.00197, allocations: 1.592 MB / 381.3 MB, free: 21.33 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.496e-05/0.001985, allocations: 0 / 381.3 MB, free: 21.33 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 1.222e-05/0.001998, allocations: 0 / 381.3 MB, free: 21.33 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 5.881e-06/0.002004, allocations: 0 / 381.3 MB, free: 21.33 MB / 314.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/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.0006114/0.002615, allocations: 295.1 kB / 381.6 MB, free: 21.04 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 4.135e-05/0.002656, allocations: 0 / 381.6 MB, free: 21.04 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.318e-05/0.002689, allocations: 11.98 kB / 381.6 MB, free: 21.03 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.394e-05/0.002713, allocations: 0 / 381.6 MB, free: 21.03 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.554e-05/0.002729, allocations: 3.984 kB / 381.7 MB, free: 21.03 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 6.021e-06/0.002735, allocations: 0 / 381.7 MB, free: 21.03 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003925/0.003127, allocations: 423 kB / 382.1 MB, free: 20.61 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 8.717e-06/0.003136, allocations: 7.984 kB / 382.1 MB, free: 20.61 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 1.136e-05/0.003148, allocations: 4 kB / 382.1 MB, free: 20.6 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002434/0.003391, allocations: 319.1 kB / 382.4 MB, free: 20.29 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.423e-06/0.003392, allocations: 0 / 382.4 MB, free: 20.29 MB / 314.7 MB Notification: Performance of FrontEnd: time 4e-07/0.003393, allocations: 0 / 382.4 MB, free: 20.29 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.945e-06/0.003396, allocations: 0 / 382.4 MB, free: 20.29 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.0001765/0.003572, allocations: 397.7 kB / 382.8 MB, free: 19.86 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.694e-05/0.003599, allocations: 8.031 kB / 382.8 MB, free: 19.85 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.104e-05/0.00362, allocations: 0.9375 kB / 382.8 MB, free: 19.85 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 3.225e-05/0.003652, allocations: 112.6 kB / 382.9 MB, free: 19.71 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.905e-06/0.00366, allocations: 384 / 382.9 MB, free: 19.71 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.451e-06/0.003666, allocations: 384 / 382.9 MB, free: 19.71 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.483e-05/0.003711, allocations: 63.95 kB / 383 MB, free: 19.64 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.621e-06/0.003716, allocations: 4.172 kB / 383 MB, free: 19.64 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.509e-06/0.003721, allocations: 384 / 383 MB, free: 19.64 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.003725, allocations: 7.875 kB / 383 MB, free: 19.63 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.338e-06/0.003734, allocations: 29.7 kB / 383 MB, free: 19.59 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 4.533e-05/0.00378, allocations: 97.27 kB / 383.1 MB, free: 19.47 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.736e-05/0.003807, allocations: 56.73 kB / 383.1 MB, free: 19.4 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.638e-06/0.003817, allocations: 37.38 kB / 383.2 MB, free: 19.35 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.475e-06/0.003819, allocations: 0 / 383.2 MB, free: 19.35 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.83e-05/0.003837, allocations: 67.16 kB / 383.3 MB, free: 19.27 MB / 314.7 MB Notification: Performance of pre-optimization done (n=1): time 5.01e-07/0.003838, allocations: 0 / 383.3 MB, free: 19.27 MB / 314.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001027/0.003941, allocations: 114.8 kB / 383.4 MB, free: 19.13 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.78e-05/0.003958, allocations: 81.09 kB / 383.4 MB, free: 19.04 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.928e-05/0.003978, allocations: 142.2 kB / 383.6 MB, free: 18.88 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.167e-06/0.003982, allocations: 25.7 kB / 383.6 MB, free: 18.85 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.002e-05/0.003992, allocations: 130.8 kB / 383.7 MB, free: 18.72 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.324e-05/0.004005, allocations: 7.984 kB / 383.7 MB, free: 18.71 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.542e-05/0.004021, allocations: 15.38 kB / 383.8 MB, free: 18.69 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 3.685e-05/0.004057, allocations: 496.1 kB / 384.2 MB, free: 18.19 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.645e-06/0.004065, allocations: 29.83 kB / 384.3 MB, free: 18.16 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.622e-06/0.004072, allocations: 29.7 kB / 384.3 MB, free: 18.12 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.527e-05/0.004097, allocations: 67.08 kB / 384.4 MB, free: 18.04 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.004098, allocations: 0 / 384.4 MB, free: 18.04 MB / 314.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.567e-05/0.004134, allocations: 89.11 kB / 384.5 MB, free: 17.93 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.004151, allocations: 31.73 kB / 384.5 MB, free: 17.9 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.156e-06/0.004154, allocations: 0 / 384.5 MB, free: 17.9 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.352e-06/0.00416, allocations: 0 / 384.5 MB, free: 17.9 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.453e-06/0.004162, allocations: 7.938 kB / 384.5 MB, free: 17.89 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.835e-06/0.004164, allocations: 7.969 kB / 384.5 MB, free: 17.88 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.407e-06/0.004174, allocations: 8.031 kB / 384.5 MB, free: 17.88 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.379e-06/0.004178, allocations: 0 / 384.5 MB, free: 17.88 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.188e-05/0.00422, allocations: 182.3 kB / 384.7 MB, free: 17.68 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.198e-06/0.004224, allocations: 352 / 384.7 MB, free: 17.68 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.362e-06/0.004231, allocations: 3 kB / 384.7 MB, free: 17.68 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-06/0.004232, allocations: 0 / 384.7 MB, free: 17.68 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/0.004233, allocations: 4 kB / 384.7 MB, free: 17.68 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.004236, allocations: 0 / 384.7 MB, free: 17.68 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.111e-05/0.004267, allocations: 97.19 kB / 384.8 MB, free: 17.55 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.11e-07/0.004267, allocations: 0 / 384.8 MB, free: 17.55 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.21e-07/0.004268, allocations: 7.938 kB / 384.8 MB, free: 17.55 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.3e-07/0.004268, allocations: 0 / 384.8 MB, free: 17.55 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.828e-06/0.004272, allocations: 4 kB / 384.8 MB, free: 17.54 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.1e-07/0.004272, allocations: 0 / 384.8 MB, free: 17.54 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.004273, allocations: 0 / 384.8 MB, free: 17.54 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.412e-05/0.004317, allocations: 139.7 kB / 384.9 MB, free: 17.37 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.357e-06/0.00432, allocations: 4 kB / 384.9 MB, free: 17.37 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.895e-06/0.004328, allocations: 4 kB / 384.9 MB, free: 17.36 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.838e-06/0.004332, allocations: 0 / 384.9 MB, free: 17.36 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.042e-06/0.004338, allocations: 0 / 384.9 MB, free: 17.36 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.664e-06/0.00434, allocations: 4.031 kB / 384.9 MB, free: 17.36 MB / 314.7 MB Notification: Performance of sorting global known variables: time 1.004e-05/0.00435, allocations: 123.2 kB / 385.1 MB, free: 17.24 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.00435, allocations: 0 / 385.1 MB, free: 17.24 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001827/0.004533, allocations: 67.73 kB / 385.1 MB, free: 17.17 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.0002648/0.004797, allocations: 198.6 kB / 385.3 MB, free: 16.98 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 6.457e-05/0.004862, allocations: 118.5 kB / 385.4 MB, free: 16.83 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.062e-06/0.004863, allocations: 0 / 385.4 MB, free: 16.83 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.498e-05/0.004878, allocations: 88.8 kB / 385.5 MB, free: 16.72 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.322e-05/0.004961, allocations: 7.938 kB / 385.5 MB, free: 16.71 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001144/0.005076, allocations: 115.6 kB / 385.7 MB, free: 16.57 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.665e-05/0.005092, allocations: 59.22 kB / 385.7 MB, free: 16.49 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.05e-06/0.005097, allocations: 0 / 385.7 MB, free: 16.49 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.312e-05/0.00512, allocations: 74.2 kB / 385.8 MB, free: 16.41 MB / 314.7 MB Notification: Performance of SimCode: time 3.8e-07/0.005121, allocations: 0 / 385.8 MB, free: 16.41 MB / 314.7 MB Notification: Performance of Templates: time 0.002317/0.007437, allocations: 1.522 MB / 387.3 MB, free: 14.89 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices.sim & ./ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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.757530798204243]