Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001023/0.001023, 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.001279/0.001279, 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.959/0.959, allocations: 158.6 MB / 186 MB, free: 2.754 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.1625/0.1625, allocations: 32.37 MB / 270.7 MB, free: 14.6 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.TestMatrices3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3") translateModel(ModelicaTest.Math.TestMatrices3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 299.1 MB, free: 2.18 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.523e-05/1.665e-05, allocations: 2.312 kB / 299.1 MB, free: 2.176 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.001065/0.001081, allocations: 0.5524 MB / 299.6 MB, free: 1.625 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001687/0.002769, allocations: 1.553 MB / 301.2 MB, free: 52 kB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.807e-05/0.002787, allocations: 0 / 301.2 MB, free: 52 kB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.437e-05/0.002801, allocations: 0 / 301.2 MB, free: 52 kB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 6.953e-06/0.002808, allocations: 0 / 301.2 MB, free: 52 kB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.1593/0.1621, allocations: 245.9 kB / 301.4 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 5.124e-05/0.1621, allocations: 4.359 kB / 301.4 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.829e-05/0.1622, allocations: 2.031 kB / 301.4 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.16e-05/0.1622, allocations: 2.906 kB / 301.4 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.078e-05/0.1622, allocations: 1.062 kB / 301.4 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 7.444e-06/0.1622, allocations: 0 / 301.4 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001059/0.1633, allocations: 0.7166 MB / 302.2 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.676e-06/0.1633, allocations: 0 / 302.2 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.597e-05/0.1633, allocations: 1.094 kB / 302.2 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000911/0.1642, allocations: 0.7459 MB / 302.9 MB, free: 19.25 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.1642, allocations: 0.75 kB / 302.9 MB, free: 19.25 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.1642, allocations: 0 / 302.9 MB, free: 19.25 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.022e-06/0.1642, allocations: 0 / 302.9 MB, free: 19.25 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.0004847/0.1647, allocations: 266.5 kB / 303.2 MB, free: 18.98 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.371e-05/0.1647, allocations: 9.438 kB / 303.2 MB, free: 18.98 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.683e-05/0.1648, allocations: 2.094 kB / 303.2 MB, free: 18.98 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.156e-05/0.1648, allocations: 107.8 kB / 303.3 MB, free: 18.86 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.305e-06/0.1648, allocations: 384 / 303.3 MB, free: 18.86 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.324e-06/0.1648, allocations: 5.125 kB / 303.3 MB, free: 18.86 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.008e-05/0.1649, allocations: 60.44 kB / 303.3 MB, free: 18.79 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.111e-06/0.1649, allocations: 1.406 kB / 303.3 MB, free: 18.79 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.18e-06/0.1649, allocations: 0.5625 kB / 303.4 MB, free: 18.79 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.1649, allocations: 4.594 kB / 303.4 MB, free: 18.79 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.151e-05/0.1649, allocations: 29.38 kB / 303.4 MB, free: 18.76 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.43e-05/0.165, allocations: 56.88 kB / 303.4 MB, free: 18.69 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.45e-05/0.165, allocations: 50.27 kB / 303.5 MB, free: 18.64 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.18e-05/0.165, allocations: 32.52 kB / 303.5 MB, free: 18.6 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.086e-06/0.165, allocations: 1.719 kB / 303.5 MB, free: 18.6 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.394e-05/0.165, allocations: 61.34 kB / 303.6 MB, free: 18.53 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 7.21e-07/0.165, allocations: 1.156 kB / 303.6 MB, free: 18.53 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001009/0.1651, allocations: 112.8 kB / 303.7 MB, free: 18.4 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.207e-05/0.1652, allocations: 89.23 kB / 303.8 MB, free: 18.3 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.9e-05/0.1652, allocations: 89.86 kB / 303.9 MB, free: 18.21 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.567e-06/0.1652, allocations: 27.55 kB / 303.9 MB, free: 18.18 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.065e-06/0.1652, allocations: 80.14 kB / 304 MB, free: 18.09 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.466e-05/0.1652, allocations: 3.406 kB / 304 MB, free: 18.09 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.928e-05/0.1652, allocations: 12.91 kB / 304 MB, free: 18.08 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.708e-05/0.1653, allocations: 316.6 kB / 304.3 MB, free: 17.76 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.045e-05/0.1653, allocations: 27.88 kB / 304.3 MB, free: 17.73 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.125e-05/0.1653, allocations: 28.95 kB / 304.4 MB, free: 17.7 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.824e-05/0.1653, allocations: 64.2 kB / 304.4 MB, free: 17.63 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.1653, allocations: 1.281 kB / 304.4 MB, free: 17.63 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.462e-05/0.1654, allocations: 87.45 kB / 304.5 MB, free: 17.54 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.179e-05/0.1654, allocations: 35.61 kB / 304.5 MB, free: 17.5 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.1654, allocations: 3.266 kB / 304.5 MB, free: 17.5 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.1654, allocations: 0 / 304.5 MB, free: 17.5 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.825e-06/0.1654, allocations: 1.156 kB / 304.5 MB, free: 17.5 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.527e-06/0.1654, allocations: 0 / 304.5 MB, free: 17.5 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.974e-05/0.1655, allocations: 2.234 kB / 304.5 MB, free: 17.5 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.047e-06/0.1655, allocations: 1.219 kB / 304.5 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 5.725e-05/0.1655, allocations: 139.8 kB / 304.7 MB, free: 17.36 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.314e-06/0.1655, allocations: 3.047 kB / 304.7 MB, free: 17.36 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.228e-05/0.1655, allocations: 4.312 kB / 304.7 MB, free: 17.35 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.1655, allocations: 5.547 kB / 304.7 MB, free: 17.35 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.776e-06/0.1656, allocations: 0.75 kB / 304.7 MB, free: 17.35 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.1656, allocations: 0 / 304.7 MB, free: 17.35 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.777e-05/0.1656, allocations: 64.06 kB / 304.8 MB, free: 17.27 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.1656, allocations: 1.938 kB / 304.8 MB, free: 17.27 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.563e-06/0.1656, allocations: 3.188 kB / 304.8 MB, free: 17.27 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.61e-07/0.1656, allocations: 0 / 304.8 MB, free: 17.27 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.34e-06/0.1656, allocations: 2.344 kB / 304.8 MB, free: 17.27 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.1656, allocations: 4.375 kB / 304.8 MB, free: 17.27 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1656, allocations: 0 / 304.8 MB, free: 17.27 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.342e-05/0.1657, allocations: 113.8 kB / 304.9 MB, free: 17.14 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.542e-06/0.1657, allocations: 2.047 kB / 304.9 MB, free: 17.14 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.208e-05/0.1657, allocations: 1.797 kB / 304.9 MB, free: 17.14 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.09e-06/0.1657, allocations: 1.469 kB / 304.9 MB, free: 17.14 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.748e-06/0.1657, allocations: 4.688 kB / 304.9 MB, free: 17.14 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.927e-06/0.1657, allocations: 6.844 kB / 304.9 MB, free: 17.14 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.392e-06/0.1657, allocations: 11.11 kB / 304.9 MB, free: 17.13 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1657, allocations: 256 / 304.9 MB, free: 17.13 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004754/0.1662, allocations: 123.1 kB / 305 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.0005334/0.1667, allocations: 165.6 kB / 305.2 MB, free: 17.04 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.199e-05/0.1668, allocations: 119.5 kB / 305.3 MB, free: 16.91 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.085e-06/0.1668, allocations: 1.031 kB / 305.3 MB, free: 16.91 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.88e-05/0.1668, allocations: 86.25 kB / 305.4 MB, free: 16.8 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.49e-05/0.1669, allocations: 7.984 kB / 305.4 MB, free: 16.8 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001353/0.167, allocations: 115.3 kB / 305.5 MB, free: 16.68 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.945e-05/0.167, allocations: 53.31 kB / 305.6 MB, free: 16.61 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.612e-06/0.167, allocations: 1 kB / 305.6 MB, free: 16.61 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.416e-05/0.1671, allocations: 52.2 kB / 305.6 MB, free: 16.56 MB / 282.7 MB Notification: Performance of SimCode: time 6.61e-07/0.1671, allocations: 0 / 305.6 MB, free: 16.56 MB / 282.7 MB Notification: Performance of Templates: time 0.007423/0.1745, allocations: 4.063 MB / 309.7 MB, free: 15.75 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3.sim & ./ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.3339248299598694]