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.001228/0.001228, 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.001054/0.001054, allocations: 169 kB / 24.14 MB, free: 368 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.8486/0.8486, allocations: 158.6 MB / 186 MB, free: 2.766 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.1249/0.1249, 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.663e-06/1.663e-06, allocations: 0 / 299 MB, free: 2.234 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.616e-05/1.782e-05, allocations: 2.312 kB / 299 MB, free: 2.23 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.001052/0.00107, allocations: 0.5092 MB / 299.6 MB, free: 1.723 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1721/0.1732, allocations: 2.106 MB / 301.7 MB, free: 19.24 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.228e-05/0.1732, allocations: 1.156 kB / 301.7 MB, free: 19.24 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 2.062e-05/0.1732, allocations: 0.875 kB / 301.7 MB, free: 19.24 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 1.015e-05/0.1732, allocations: 1.062 kB / 301.7 MB, free: 19.24 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0021/0.1753, allocations: 0.7664 MB / 302.4 MB, free: 19.22 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 5.723e-05/0.1754, allocations: 3.781 kB / 302.4 MB, free: 19.22 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.87e-05/0.1754, allocations: 2.469 kB / 302.4 MB, free: 19.22 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.015e-05/0.1755, allocations: 0.7031 kB / 302.4 MB, free: 19.22 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.239e-05/0.1755, allocations: 4.797 kB / 302.4 MB, free: 19.22 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 8.055e-06/0.1755, allocations: 0.6562 kB / 302.4 MB, free: 19.22 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002493/0.178, allocations: 1.536 MB / 304 MB, free: 19.18 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.213e-05/0.178, allocations: 1.859 kB / 304 MB, free: 19.18 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.822e-05/0.178, allocations: 2.906 kB / 304 MB, free: 19.18 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002716/0.1808, allocations: 1.882 MB / 305.9 MB, free: 19 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.1808, allocations: 0.6562 kB / 305.9 MB, free: 19 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1808, allocations: 2.781 kB / 305.9 MB, free: 19 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.98e-06/0.1808, allocations: 0 / 305.9 MB, free: 19 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.001198/0.182, allocations: 330.5 kB / 306.2 MB, free: 18.7 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.413e-05/0.182, allocations: 13.16 kB / 306.2 MB, free: 18.7 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.464e-05/0.1821, allocations: 2.156 kB / 306.2 MB, free: 18.7 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.319e-05/0.1821, allocations: 104.6 kB / 306.3 MB, free: 18.58 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.156e-05/0.1821, allocations: 384 / 306.3 MB, free: 18.58 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.808e-06/0.1821, allocations: 1.438 kB / 306.3 MB, free: 18.58 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.911e-05/0.1822, allocations: 65.36 kB / 306.4 MB, free: 18.51 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.183e-06/0.1822, allocations: 0.75 kB / 306.4 MB, free: 18.51 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.873e-06/0.1822, allocations: 9.047 kB / 306.4 MB, free: 18.5 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.1822, allocations: 3.562 kB / 306.4 MB, free: 18.5 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.291e-05/0.1822, allocations: 28.7 kB / 306.4 MB, free: 18.47 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.388e-05/0.1823, allocations: 56.12 kB / 306.5 MB, free: 18.4 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.245e-05/0.1823, allocations: 43.89 kB / 306.5 MB, free: 18.35 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.875e-05/0.1823, allocations: 33.86 kB / 306.5 MB, free: 18.31 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.729e-06/0.1824, allocations: 0 / 306.5 MB, free: 18.31 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.054e-05/0.1824, allocations: 63.06 kB / 306.6 MB, free: 18.23 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 4.5e-07/0.1824, allocations: 0 / 306.6 MB, free: 18.23 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001467/0.1825, allocations: 115.6 kB / 306.7 MB, free: 18.11 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.848e-05/0.1826, allocations: 80.97 kB / 306.8 MB, free: 18.01 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.787e-05/0.1826, allocations: 89.86 kB / 306.9 MB, free: 17.91 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.114e-06/0.1826, allocations: 26.92 kB / 306.9 MB, free: 17.88 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.388e-05/0.1826, allocations: 82.09 kB / 307 MB, free: 17.8 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.238e-05/0.1826, allocations: 2.562 kB / 307 MB, free: 17.8 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.753e-05/0.1827, allocations: 16.92 kB / 307 MB, free: 17.78 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.223e-05/0.1827, allocations: 316.7 kB / 307.3 MB, free: 17.46 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.315e-05/0.1828, allocations: 27.52 kB / 307.3 MB, free: 17.43 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.096e-05/0.1828, allocations: 27.7 kB / 307.4 MB, free: 17.4 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.053e-05/0.1828, allocations: 67.16 kB / 307.4 MB, free: 17.33 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.1828, allocations: 1 kB / 307.4 MB, free: 17.33 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.04e-05/0.1829, allocations: 83.7 kB / 307.5 MB, free: 17.23 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.591e-05/0.1829, allocations: 32.16 kB / 307.6 MB, free: 17.2 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.1829, allocations: 1.125 kB / 307.6 MB, free: 17.2 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.1829, allocations: 4.094 kB / 307.6 MB, free: 17.2 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.744e-06/0.1829, allocations: 1.547 kB / 307.6 MB, free: 17.2 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.1829, allocations: 1.609 kB / 307.6 MB, free: 17.2 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.923e-05/0.183, allocations: 5.031 kB / 307.6 MB, free: 17.2 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/0.183, allocations: 0 / 307.6 MB, free: 17.2 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.7e-05/0.183, allocations: 140.3 kB / 307.7 MB, free: 17.05 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.244e-06/0.183, allocations: 1.844 kB / 307.7 MB, free: 17.05 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.421e-05/0.1831, allocations: 4.156 kB / 307.7 MB, free: 17.04 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.1831, allocations: 0.75 kB / 307.7 MB, free: 17.04 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/0.1831, allocations: 0 / 307.7 MB, free: 17.04 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.1831, allocations: 9.094 kB / 307.7 MB, free: 17.04 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.624e-05/0.1831, allocations: 65.27 kB / 307.8 MB, free: 16.96 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.1831, allocations: 6.453 kB / 307.8 MB, free: 16.95 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.092e-06/0.1831, allocations: 0.5625 kB / 307.8 MB, free: 16.95 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.32e-07/0.1831, allocations: 0 / 307.8 MB, free: 16.95 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.63e-06/0.1831, allocations: 1.922 kB / 307.8 MB, free: 16.95 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.1831, allocations: 0.6875 kB / 307.8 MB, free: 16.95 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.1831, allocations: 1.125 kB / 307.8 MB, free: 16.95 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.914e-05/0.1832, allocations: 113 kB / 307.9 MB, free: 16.82 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.956e-06/0.1832, allocations: 4.547 kB / 307.9 MB, free: 16.82 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.65e-05/0.1832, allocations: 5.188 kB / 307.9 MB, free: 16.82 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.054e-05/0.1832, allocations: 4.188 kB / 307.9 MB, free: 16.82 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.432e-05/0.1833, allocations: 4.438 kB / 307.9 MB, free: 16.82 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.074e-06/0.1833, allocations: 0 / 307.9 MB, free: 16.82 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.738e-06/0.1833, allocations: 6.109 kB / 307.9 MB, free: 16.81 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1833, allocations: 0 / 307.9 MB, free: 16.81 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001336/0.1846, allocations: 296.7 kB / 308.2 MB, free: 16.78 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.001342/0.1859, allocations: 490.6 kB / 308.7 MB, free: 16.67 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.798e-05/0.186, allocations: 115.4 kB / 308.8 MB, free: 16.54 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.186, allocations: 1.25 kB / 308.8 MB, free: 16.54 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.866e-05/0.1861, allocations: 90.14 kB / 308.9 MB, free: 16.43 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.007e-05/0.1861, allocations: 13.53 kB / 308.9 MB, free: 16.43 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001384/0.1862, allocations: 110.1 kB / 309 MB, free: 16.3 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.047e-05/0.1863, allocations: 54.81 kB / 309.1 MB, free: 16.23 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.899e-06/0.1863, allocations: 0 / 309.1 MB, free: 16.23 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.368e-05/0.1863, allocations: 51.61 kB / 309.1 MB, free: 16.18 MB / 282.7 MB Notification: Performance of SimCode: time 8.52e-07/0.1863, allocations: 1.062 kB / 309.1 MB, free: 16.18 MB / 282.7 MB Notification: Performance of Templates: time 0.0147/0.201, allocations: 9.398 MB / 318.5 MB, free: 10.41 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 -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.520033312030137]