Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.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.0009963/0.0009963, 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.001069/0.001069, allocations: 169 kB / 24.14 MB, free: 360 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.8937/0.8937, allocations: 158.6 MB / 186 MB, free: 2.773 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.1914/0.1914, allocations: 32.38 MB / 270.7 MB, free: 14.61 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.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b") translateModel(ModelicaTest.Math.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 299.1 MB, free: 2.18 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.807e-05/1.956e-05, allocations: 2.312 kB / 299.1 MB, free: 2.176 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.001129/0.001149, allocations: 0.5524 MB / 299.6 MB, free: 1.625 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.161/0.1621, allocations: 2.111 MB / 301.8 MB, free: 19.2 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.432e-05/0.1622, allocations: 0 / 301.8 MB, free: 19.2 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.349e-05/0.1622, allocations: 1.188 kB / 301.8 MB, free: 19.2 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 5.661e-06/0.1622, allocations: 0 / 301.8 MB, free: 19.2 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001563/0.1637, allocations: 0.7361 MB / 302.5 MB, free: 19.17 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 4.508e-05/0.1638, allocations: 5.5 kB / 302.5 MB, free: 19.17 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.894e-05/0.1638, allocations: 1.25 kB / 302.5 MB, free: 19.17 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.463e-05/0.1638, allocations: 4.609 kB / 302.5 MB, free: 19.17 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.522e-05/0.1639, allocations: 1.5 kB / 302.5 MB, free: 19.17 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.73e-06/0.1639, allocations: 0.5312 kB / 302.5 MB, free: 19.17 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001974/0.1658, allocations: 1.621 MB / 304.1 MB, free: 19.12 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.785e-06/0.1658, allocations: 1.219 kB / 304.1 MB, free: 19.12 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.35e-05/0.1659, allocations: 1.031 kB / 304.1 MB, free: 19.12 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001992/0.1679, allocations: 1.873 MB / 306 MB, free: 18.94 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.1679, allocations: 0 / 306 MB, free: 18.94 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1679, allocations: 2.594 kB / 306 MB, free: 18.94 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.049e-06/0.1679, allocations: 0 / 306 MB, free: 18.94 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.0005818/0.1684, allocations: 343.2 kB / 306.3 MB, free: 18.63 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.263e-05/0.1685, allocations: 9.75 kB / 306.4 MB, free: 18.63 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.781e-05/0.1685, allocations: 2.406 kB / 306.4 MB, free: 18.63 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 3.571e-05/0.1685, allocations: 104.9 kB / 306.5 MB, free: 18.5 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.285e-06/0.1686, allocations: 384 / 306.5 MB, free: 18.5 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.699e-06/0.1686, allocations: 2.688 kB / 306.5 MB, free: 18.5 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.045e-05/0.1686, allocations: 62.31 kB / 306.5 MB, free: 18.44 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.65e-06/0.1686, allocations: 0 / 306.5 MB, free: 18.44 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.841e-06/0.1686, allocations: 5.094 kB / 306.5 MB, free: 18.43 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.1686, allocations: 1.078 kB / 306.5 MB, free: 18.43 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.129e-05/0.1686, allocations: 29.09 kB / 306.6 MB, free: 18.4 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 4.925e-05/0.1687, allocations: 56.36 kB / 306.6 MB, free: 18.34 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.932e-05/0.1687, allocations: 43.92 kB / 306.7 MB, free: 18.28 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.159e-05/0.1687, allocations: 32.67 kB / 306.7 MB, free: 18.24 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.847e-06/0.1687, allocations: 6.562 kB / 306.7 MB, free: 18.24 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.01e-05/0.1688, allocations: 58.03 kB / 306.7 MB, free: 18.17 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.1688, allocations: 5.125 kB / 306.8 MB, free: 18.17 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 8.635e-05/0.1688, allocations: 115.2 kB / 306.9 MB, free: 18.04 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.642e-05/0.1689, allocations: 78.2 kB / 306.9 MB, free: 17.95 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.47e-05/0.1689, allocations: 91.42 kB / 307 MB, free: 17.85 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.797e-06/0.1689, allocations: 25.7 kB / 307.1 MB, free: 17.82 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.314e-06/0.1689, allocations: 84.67 kB / 307.1 MB, free: 17.73 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.657e-05/0.1689, allocations: 2.859 kB / 307.1 MB, free: 17.73 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.814e-05/0.1689, allocations: 16.41 kB / 307.2 MB, free: 17.71 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 2.927e-05/0.169, allocations: 316.3 kB / 307.5 MB, free: 17.4 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.346e-06/0.169, allocations: 27.66 kB / 307.5 MB, free: 17.37 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.332e-06/0.169, allocations: 27.89 kB / 307.5 MB, free: 17.34 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.74e-05/0.169, allocations: 64.95 kB / 307.6 MB, free: 17.26 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.169, allocations: 0 / 307.6 MB, free: 17.26 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.374e-05/0.169, allocations: 85.28 kB / 307.7 MB, free: 17.17 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.347e-05/0.1691, allocations: 40.27 kB / 307.7 MB, free: 17.13 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.1691, allocations: 0 / 307.7 MB, free: 17.13 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.028e-05/0.1691, allocations: 0.5625 kB / 307.7 MB, free: 17.13 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.302e-06/0.1691, allocations: 1.125 kB / 307.7 MB, free: 17.13 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.064e-06/0.1691, allocations: 0 / 307.7 MB, free: 17.13 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.258e-05/0.1691, allocations: 9.516 kB / 307.7 MB, free: 17.12 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.221e-06/0.1691, allocations: 1.75 kB / 307.7 MB, free: 17.12 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.79e-05/0.1691, allocations: 135.3 kB / 307.9 MB, free: 16.98 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.2e-06/0.1691, allocations: 2.125 kB / 307.9 MB, free: 16.98 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.668e-06/0.1691, allocations: 3.75 kB / 307.9 MB, free: 16.97 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.1691, allocations: 4 kB / 307.9 MB, free: 16.97 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.452e-06/0.1691, allocations: 1.516 kB / 307.9 MB, free: 16.97 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.1691, allocations: 0 / 307.9 MB, free: 16.97 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.186e-05/0.1692, allocations: 68.62 kB / 307.9 MB, free: 16.89 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.1692, allocations: 5.188 kB / 307.9 MB, free: 16.89 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.41e-07/0.1692, allocations: 0 / 307.9 MB, free: 16.89 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.61e-07/0.1692, allocations: 0 / 307.9 MB, free: 16.89 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.807e-06/0.1692, allocations: 1.938 kB / 307.9 MB, free: 16.89 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.1692, allocations: 1.125 kB / 307.9 MB, free: 16.89 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.1692, allocations: 0 / 307.9 MB, free: 16.89 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.618e-05/0.1692, allocations: 116.9 kB / 308.1 MB, free: 16.75 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.139e-06/0.1692, allocations: 2.062 kB / 308.1 MB, free: 16.75 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.666e-06/0.1692, allocations: 2.188 kB / 308.1 MB, free: 16.75 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.348e-06/0.1693, allocations: 0 / 308.1 MB, free: 16.75 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.017e-06/0.1693, allocations: 2.297 kB / 308.1 MB, free: 16.75 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.685e-06/0.1693, allocations: 1.031 kB / 308.1 MB, free: 16.75 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.69e-06/0.1693, allocations: 8.859 kB / 308.1 MB, free: 16.74 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1693, allocations: 0 / 308.1 MB, free: 16.74 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001036/0.1703, allocations: 292.1 kB / 308.4 MB, free: 16.71 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.001163/0.1715, allocations: 494.9 kB / 308.8 MB, free: 16.59 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.454e-05/0.1715, allocations: 119.7 kB / 309 MB, free: 16.45 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1715, allocations: 0 / 309 MB, free: 16.45 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.455e-05/0.1716, allocations: 91.2 kB / 309 MB, free: 16.35 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.062e-05/0.1716, allocations: 8.078 kB / 309.1 MB, free: 16.34 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001432/0.1718, allocations: 109.3 kB / 309.2 MB, free: 16.21 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.174e-05/0.1718, allocations: 53.78 kB / 309.2 MB, free: 16.14 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 9.608e-06/0.1718, allocations: 1.125 kB / 309.2 MB, free: 16.14 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.179e-05/0.1718, allocations: 52.64 kB / 309.3 MB, free: 16.1 MB / 282.7 MB Notification: Performance of SimCode: time 1.052e-06/0.1718, allocations: 0 / 309.3 MB, free: 16.1 MB / 282.7 MB Notification: Performance of Templates: time 0.01444/0.1863, allocations: 9.403 MB / 318.7 MB, free: 10.25 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.sim & ./ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/TestMatrices2b/TestMatrices2b.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: 4.560121899005026]