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.001015/0.001015, allocations: 77.97 kB / 21.42 MB, free: 3.074 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.001109/0.001109, allocations: 165.3 kB / 24.82 MB, free: 9.27 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.041/1.041, allocations: 177.1 MB / 205.3 MB, free: 5.512 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.2411/0.2411, 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.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.533e-06/1.533e-06, allocations: 0 / 378.5 MB, free: 2.387 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.869e-05/2.022e-05, allocations: 2.312 kB / 378.5 MB, free: 2.383 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices): time 0.001087/0.001107, allocations: 0.5 MB / 379 MB, free: 1.883 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002024/0.003131, allocations: 1.592 MB / 380.6 MB, free: 276 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.446e-05/0.003155, allocations: 0 / 380.6 MB, free: 276 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.971e-05/0.003175, allocations: 3.938 kB / 380.6 MB, free: 272 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 8.886e-06/0.003184, allocations: 0 / 380.6 MB, free: 272 kB / 346.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.0009245/0.004108, allocations: 295.1 kB / 380.9 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 4.662e-05/0.004155, allocations: 4 kB / 380.9 MB, free: 15.97 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.45e-05/0.00419, allocations: 7.984 kB / 380.9 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.84e-05/0.004218, allocations: 0 / 380.9 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.771e-05/0.004236, allocations: 4 kB / 380.9 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 7.835e-06/0.004244, allocations: 4 kB / 380.9 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004993/0.004743, allocations: 425.6 kB / 381.3 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.356e-06/0.004751, allocations: 0 / 381.3 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 1.367e-05/0.004765, allocations: 0 / 381.3 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003339/0.005099, allocations: 319.1 kB / 381.6 MB, free: 15.23 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.924e-06/0.005101, allocations: 0 / 381.6 MB, free: 15.23 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.005102, allocations: 0 / 381.6 MB, free: 15.23 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.017e-06/0.005106, allocations: 0 / 381.6 MB, free: 15.23 MB / 362.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.0002818/0.005387, allocations: 397.7 kB / 382 MB, free: 14.8 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/0.00543, allocations: 12.03 kB / 382 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.905e-05/0.005459, allocations: 0.9375 kB / 382 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.024e-05/0.005519, allocations: 124.5 kB / 382.1 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.488e-06/0.005529, allocations: 384 / 382.1 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.322e-06/0.005535, allocations: 4.375 kB / 382.1 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.532e-05/0.0056, allocations: 51.97 kB / 382.2 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.005608, allocations: 4.172 kB / 382.2 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.672e-06/0.005614, allocations: 4.375 kB / 382.2 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.005621, allocations: 3.938 kB / 382.2 MB, free: 14.56 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.583e-05/0.005637, allocations: 29.69 kB / 382.2 MB, free: 14.53 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.385e-05/0.00571, allocations: 93.27 kB / 382.3 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.635e-05/0.005747, allocations: 52.7 kB / 382.4 MB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.48e-05/0.005762, allocations: 37.48 kB / 382.4 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.767e-06/0.005765, allocations: 7.938 kB / 382.4 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.512e-05/0.005801, allocations: 59.09 kB / 382.5 MB, free: 14.21 MB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 5.91e-07/0.005801, allocations: 0 / 382.5 MB, free: 14.21 MB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001488/0.00595, allocations: 118.8 kB / 382.6 MB, free: 14.07 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.34e-05/0.005983, allocations: 81.11 kB / 382.7 MB, free: 13.97 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.845e-05/0.006032, allocations: 142.2 kB / 382.8 MB, free: 13.82 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.297e-06/0.006041, allocations: 25.7 kB / 382.8 MB, free: 13.79 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.053e-05/0.006072, allocations: 130.8 kB / 383 MB, free: 13.66 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.569e-05/0.006087, allocations: 352 / 383 MB, free: 13.66 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.566e-05/0.006113, allocations: 27.48 kB / 383 MB, free: 13.62 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001219/0.006235, allocations: 496.1 kB / 383.5 MB, free: 13.12 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.72e-05/0.006252, allocations: 25.7 kB / 383.5 MB, free: 13.09 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.393e-05/0.006266, allocations: 29.7 kB / 383.5 MB, free: 13.06 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.029e-05/0.006306, allocations: 63.09 kB / 383.6 MB, free: 12.98 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.006308, allocations: 0 / 383.6 MB, free: 12.98 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.995e-05/0.006368, allocations: 93.05 kB / 383.7 MB, free: 12.87 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.537e-05/0.006393, allocations: 33.7 kB / 383.7 MB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.006397, allocations: 0 / 383.7 MB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.068e-05/0.006408, allocations: 4.094 kB / 383.7 MB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.525e-06/0.00641, allocations: 3.938 kB / 383.7 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.645e-06/0.006413, allocations: 0 / 383.7 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.291e-05/0.006426, allocations: 7.938 kB / 383.7 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.67e-06/0.006431, allocations: 4 kB / 383.7 MB, free: 12.81 MB / 362.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.968e-05/0.006501, allocations: 186.2 kB / 383.9 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.26e-06/0.006506, allocations: 4 kB / 383.9 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.125e-05/0.006518, allocations: 3 kB / 383.9 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.006519, allocations: 0 / 383.9 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.00652, allocations: 0 / 383.9 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.006524, allocations: 4 kB / 383.9 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.798e-05/0.006582, allocations: 97.2 kB / 384 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.006582, allocations: 0 / 384 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.61e-07/0.006583, allocations: 0 / 384 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.52e-07/0.006583, allocations: 0 / 384 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.04e-06/0.006588, allocations: 4 kB / 384 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.00659, allocations: 3.984 kB / 384 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.006592, allocations: 3.984 kB / 384 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.571e-05/0.006668, allocations: 131.7 kB / 384.2 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.338e-06/0.006672, allocations: 7.984 kB / 384.2 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.666e-06/0.006681, allocations: 0 / 384.2 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.579e-06/0.006685, allocations: 4.031 kB / 384.2 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.185e-05/0.006697, allocations: 0 / 384.2 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.877e-06/0.006701, allocations: 4 kB / 384.2 MB, free: 12.29 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.055e-05/0.006732, allocations: 119.2 kB / 384.3 MB, free: 12.18 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006732, allocations: 0 / 384.3 MB, free: 12.18 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002289/0.006961, allocations: 67.8 kB / 384.4 MB, free: 12.11 MB / 362.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.0003233/0.007284, allocations: 193.6 kB / 384.5 MB, free: 11.92 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.75e-05/0.007371, allocations: 118.5 kB / 384.7 MB, free: 11.78 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.007373, allocations: 0 / 384.7 MB, free: 11.78 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.025e-05/0.007403, allocations: 96.84 kB / 384.8 MB, free: 11.66 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.672e-05/0.00749, allocations: 9.969 kB / 384.8 MB, free: 11.65 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001284/0.007618, allocations: 113.6 kB / 384.9 MB, free: 11.5 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.806e-05/0.007646, allocations: 59.34 kB / 384.9 MB, free: 11.43 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.31e-06/0.007652, allocations: 0 / 384.9 MB, free: 11.43 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.6e-05/0.007688, allocations: 74.19 kB / 385 MB, free: 11.35 MB / 362.7 MB Notification: Performance of SimCode: time 3.71e-07/0.007688, allocations: 0 / 385 MB, free: 11.35 MB / 362.7 MB Notification: Performance of Templates: time 0.003115/0.0108, allocations: 1.512 MB / 386.5 MB, free: 9.836 MB / 362.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: 3.0273008961230516]