Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001426/0.001426, allocations: 80.05 kB / 20.72 MB, free: 3.77 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.001491/0.001491, allocations: 169 kB / 24.14 MB, free: 364 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8977/0.8977, allocations: 158.6 MB / 186 MB, free: 2.746 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1242/0.1242, allocations: 32.38 MB / 270.7 MB, free: 14.59 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_ModelicaTest.Math.TestMatrices") translateModel(ModelicaTest.Math.TestMatrices,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 299 MB, free: 2.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.644e-05/1.768e-05, allocations: 2.312 kB / 299 MB, free: 2.227 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices): time 0.0009629/0.0009806, allocations: 0.5054 MB / 299.5 MB, free: 1.723 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00155/0.00253, allocations: 1.591 MB / 301.1 MB, free: 112 kB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.71e-05/0.002548, allocations: 0 / 301.1 MB, free: 112 kB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.381e-05/0.002561, allocations: 4 kB / 301.1 MB, free: 108 kB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 7.093e-06/0.002568, allocations: 0 / 301.1 MB, free: 108 kB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.1284/0.1309, allocations: 291 kB / 301.4 MB, free: 19.27 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 4.375e-05/0.131, allocations: 1.859 kB / 301.4 MB, free: 19.27 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.474e-05/0.131, allocations: 2.469 kB / 301.4 MB, free: 19.27 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.689e-05/0.131, allocations: 1.938 kB / 301.4 MB, free: 19.27 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.685e-05/0.131, allocations: 1.25 kB / 301.4 MB, free: 19.27 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.883e-06/0.131, allocations: 0.5625 kB / 301.4 MB, free: 19.27 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005191/0.1316, allocations: 409 kB / 301.8 MB, free: 19.26 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.045e-06/0.1316, allocations: 0 / 301.8 MB, free: 19.26 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.317e-05/0.1316, allocations: 6.672 kB / 301.8 MB, free: 19.26 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003707/0.132, allocations: 311.8 kB / 302.1 MB, free: 19.26 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.132, allocations: 2.062 kB / 302.1 MB, free: 19.26 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.132, allocations: 0 / 302.1 MB, free: 19.26 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.826e-06/0.132, allocations: 0.5312 kB / 302.1 MB, free: 19.26 MB / 282.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.0002223/0.1322, allocations: 278.2 kB / 302.4 MB, free: 18.98 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.019e-05/0.1322, allocations: 10.25 kB / 302.4 MB, free: 18.98 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.377e-05/0.1322, allocations: 2.656 kB / 302.4 MB, free: 18.98 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 3.555e-05/0.1323, allocations: 106.3 kB / 302.5 MB, free: 18.86 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.039e-05/0.1323, allocations: 2.906 kB / 302.5 MB, free: 18.86 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.348e-06/0.1323, allocations: 1.969 kB / 302.5 MB, free: 18.86 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.302e-05/0.1324, allocations: 59.44 kB / 302.6 MB, free: 18.79 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.121e-06/0.1324, allocations: 192 / 302.6 MB, free: 18.79 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.38e-06/0.1324, allocations: 2.531 kB / 302.6 MB, free: 18.79 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.1324, allocations: 3.938 kB / 302.6 MB, free: 18.79 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.008e-05/0.1324, allocations: 30.33 kB / 302.6 MB, free: 18.76 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.176e-05/0.1324, allocations: 59 kB / 302.7 MB, free: 18.69 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.57e-05/0.1325, allocations: 46.91 kB / 302.7 MB, free: 18.64 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.998e-06/0.1325, allocations: 33.55 kB / 302.8 MB, free: 18.6 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.156e-06/0.1325, allocations: 0.6562 kB / 302.8 MB, free: 18.6 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.387e-05/0.1325, allocations: 59.95 kB / 302.8 MB, free: 18.53 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 5.01e-07/0.1325, allocations: 0 / 302.8 MB, free: 18.53 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 8.384e-05/0.1326, allocations: 115.1 kB / 302.9 MB, free: 18.4 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.046e-05/0.1326, allocations: 81.97 kB / 303 MB, free: 18.31 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.548e-05/0.1326, allocations: 90.61 kB / 303.1 MB, free: 18.21 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.727e-06/0.1326, allocations: 27.02 kB / 303.1 MB, free: 18.18 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.093e-06/0.1326, allocations: 80.14 kB / 303.2 MB, free: 18.1 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.391e-05/0.1326, allocations: 2.406 kB / 303.2 MB, free: 18.1 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.703e-05/0.1327, allocations: 23.06 kB / 303.2 MB, free: 18.08 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 2.681e-05/0.1327, allocations: 316.8 kB / 303.6 MB, free: 17.76 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.492e-06/0.1327, allocations: 26.8 kB / 303.6 MB, free: 17.73 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.173e-06/0.1327, allocations: 29.47 kB / 303.6 MB, free: 17.7 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.717e-05/0.1327, allocations: 61.48 kB / 303.7 MB, free: 17.63 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1327, allocations: 1.156 kB / 303.7 MB, free: 17.63 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 2.809e-05/0.1328, allocations: 87.55 kB / 303.8 MB, free: 17.54 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.158e-05/0.1328, allocations: 32.33 kB / 303.8 MB, free: 17.5 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.1328, allocations: 4.359 kB / 303.8 MB, free: 17.5 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/0.1328, allocations: 1.156 kB / 303.8 MB, free: 17.5 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.058e-06/0.1328, allocations: 0 / 303.8 MB, free: 17.5 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.304e-06/0.1328, allocations: 0 / 303.8 MB, free: 17.5 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.087e-05/0.1328, allocations: 1.859 kB / 303.8 MB, free: 17.5 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.598e-06/0.1328, allocations: 1.125 kB / 303.8 MB, free: 17.5 MB / 282.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 3.434e-05/0.1329, allocations: 139.4 kB / 303.9 MB, free: 17.36 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.647e-06/0.1329, allocations: 1.25 kB / 303.9 MB, free: 17.36 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.437e-06/0.1329, allocations: 4.703 kB / 303.9 MB, free: 17.35 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.1329, allocations: 1.75 kB / 303.9 MB, free: 17.35 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.1329, allocations: 1.188 kB / 303.9 MB, free: 17.35 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.1329, allocations: 0 / 303.9 MB, free: 17.35 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.003e-05/0.1329, allocations: 69.58 kB / 304 MB, free: 17.27 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1329, allocations: 2.406 kB / 304 MB, free: 17.27 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.9e-07/0.1329, allocations: 0 / 304 MB, free: 17.27 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.31e-07/0.1329, allocations: 3.75 kB / 304 MB, free: 17.27 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.827e-06/0.1329, allocations: 2 kB / 304 MB, free: 17.27 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.51e-07/0.1329, allocations: 5.062 kB / 304 MB, free: 17.27 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.81e-07/0.1329, allocations: 0 / 304 MB, free: 17.27 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.853e-05/0.133, allocations: 115.3 kB / 304.1 MB, free: 17.14 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.237e-06/0.133, allocations: 3.875 kB / 304.1 MB, free: 17.14 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.004e-05/0.133, allocations: 1.844 kB / 304.1 MB, free: 17.14 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.47e-06/0.133, allocations: 1.938 kB / 304.1 MB, free: 17.14 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.775e-06/0.133, allocations: 0.75 kB / 304.1 MB, free: 17.14 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.172e-06/0.133, allocations: 1.156 kB / 304.1 MB, free: 17.14 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.228e-06/0.133, allocations: 6.016 kB / 304.1 MB, free: 17.13 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.133, allocations: 0 / 304.1 MB, free: 17.13 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001927/0.1332, allocations: 70.2 kB / 304.2 MB, free: 17.12 MB / 282.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.000315/0.1335, allocations: 182.8 kB / 304.4 MB, free: 17.03 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 6.102e-05/0.1336, allocations: 118.9 kB / 304.5 MB, free: 16.89 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1336, allocations: 0 / 304.5 MB, free: 16.89 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.3e-05/0.1336, allocations: 86.8 kB / 304.6 MB, free: 16.79 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 3.712e-05/0.1336, allocations: 7.219 kB / 304.6 MB, free: 16.79 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001091/0.1337, allocations: 110.3 kB / 304.7 MB, free: 16.66 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.482e-05/0.1337, allocations: 53.31 kB / 304.8 MB, free: 16.59 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.939e-06/0.1337, allocations: 0 / 304.8 MB, free: 16.59 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.312e-05/0.1338, allocations: 58.02 kB / 304.8 MB, free: 16.54 MB / 282.7 MB Notification: Performance of SimCode: time 2.51e-07/0.1338, allocations: 0 / 304.8 MB, free: 16.54 MB / 282.7 MB Notification: Performance of Templates: time 0.003053/0.1368, allocations: 1.495 MB / 306.3 MB, free: 16.45 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.sim & ./ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.8290265589021146]