Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.0007618/0.0007618, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.004039/0.004039, allocations: 160.2 kB / 24.7 MB, free: 9.418 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 0.8697/0.8697, allocations: 177.1 MB / 205 MB, free: 5.723 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.2619/0.2619, allocations: 34.25 MB / 295.7 MB, free: 0.707 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.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2b") translateModel(ModelicaTest.Math.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2b") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.172e-06/1.172e-06, allocations: 0 / 443.4 MB, free: 1.188 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.903e-05/2.021e-05, allocations: 6.219 kB / 443.4 MB, free: 1.18 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.000909/0.0009292, allocations: 0.4904 MB / 443.9 MB, free: 0.6953 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1667/0.1676, allocations: 2.067 MB / 446 MB, free: 43.38 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.115e-05/0.1676, allocations: 6.859 kB / 446 MB, free: 43.38 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.496e-05/0.1677, allocations: 0 / 446 MB, free: 43.38 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 7.324e-06/0.1677, allocations: 0 / 446 MB, free: 43.38 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/Math.mo:485:3-574:17:writable] Warning: Pure function 'ModelicaTest.Math.Matrices2b' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.00128/0.1689, allocations: 0.7599 MB / 446.7 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 5.1e-05/0.169, allocations: 6.688 kB / 446.7 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.779e-05/0.169, allocations: 0 / 446.7 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.772e-05/0.1691, allocations: 2.625 kB / 446.7 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.067e-05/0.1691, allocations: 0 / 446.7 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.096e-05/0.1691, allocations: 0 / 446.7 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001181/0.1703, allocations: 1.554 MB / 448.3 MB, free: 43 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.817e-06/0.1703, allocations: 0 / 448.3 MB, free: 43 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.727e-05/0.1703, allocations: 2.844 kB / 448.3 MB, free: 43 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001085/0.1714, allocations: 1.859 MB / 450.2 MB, free: 42.65 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1714, allocations: 3.938 kB / 450.2 MB, free: 42.64 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1714, allocations: 0 / 450.2 MB, free: 42.64 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.1714, allocations: 0.6875 kB / 450.2 MB, free: 42.64 MB / 410.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.0004027/0.1718, allocations: 361.2 kB / 450.5 MB, free: 42.31 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.1718, allocations: 12.66 kB / 450.5 MB, free: 42.31 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.571e-05/0.1719, allocations: 4.844 kB / 450.5 MB, free: 42.31 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.043e-05/0.1719, allocations: 104.6 kB / 450.6 MB, free: 42.18 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.1719, allocations: 384 / 450.6 MB, free: 42.18 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.875e-06/0.1719, allocations: 384 / 450.6 MB, free: 42.18 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.647e-05/0.172, allocations: 58.14 kB / 450.7 MB, free: 42.12 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.172, allocations: 3.938 kB / 450.7 MB, free: 42.12 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.172, allocations: 2.844 kB / 450.7 MB, free: 42.12 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.172, allocations: 3.469 kB / 450.7 MB, free: 42.12 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.984e-05/0.1721, allocations: 25.7 kB / 450.7 MB, free: 42.09 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.155e-05/0.1721, allocations: 100.1 kB / 450.8 MB, free: 41.96 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.612e-05/0.1722, allocations: 61.78 kB / 450.9 MB, free: 41.9 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.183e-05/0.1722, allocations: 30.56 kB / 450.9 MB, free: 41.86 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.535e-06/0.1722, allocations: 2.875 kB / 450.9 MB, free: 41.86 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.646e-05/0.1722, allocations: 56.27 kB / 451 MB, free: 41.79 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 8.31e-07/0.1722, allocations: 0 / 451 MB, free: 41.79 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001477/0.1724, allocations: 122.7 kB / 451.1 MB, free: 41.66 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.586e-05/0.1724, allocations: 84.98 kB / 451.2 MB, free: 41.55 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.61e-05/0.1724, allocations: 92.7 kB / 451.3 MB, free: 41.46 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.549e-06/0.1724, allocations: 25.83 kB / 451.3 MB, free: 41.43 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.222e-06/0.1724, allocations: 84.14 kB / 451.4 MB, free: 41.34 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.544e-05/0.1724, allocations: 3.266 kB / 451.4 MB, free: 41.34 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.883e-05/0.1724, allocations: 15.83 kB / 451.4 MB, free: 41.32 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.925e-05/0.1725, allocations: 310.8 kB / 451.7 MB, free: 41.01 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.146e-05/0.1725, allocations: 32.58 kB / 451.7 MB, free: 40.98 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.252e-06/0.1725, allocations: 25.7 kB / 451.8 MB, free: 40.95 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.523e-05/0.1725, allocations: 59.14 kB / 451.8 MB, free: 40.88 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.1725, allocations: 2.469 kB / 451.8 MB, free: 40.88 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.335e-05/0.1725, allocations: 89.88 kB / 451.9 MB, free: 40.78 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.158e-05/0.1726, allocations: 37.02 kB / 451.9 MB, free: 40.74 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.1726, allocations: 0 / 451.9 MB, free: 40.74 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.1726, allocations: 14.02 kB / 452 MB, free: 40.73 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.02e-07/0.1726, allocations: 0 / 452 MB, free: 40.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.1726, allocations: 0 / 452 MB, free: 40.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.224e-05/0.1726, allocations: 0 / 452 MB, free: 40.73 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.741e-06/0.1726, allocations: 0 / 452 MB, free: 40.73 MB / 410.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.559e-05/0.1726, allocations: 134.5 kB / 452.1 MB, free: 40.59 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.577e-06/0.1726, allocations: 2.438 kB / 452.1 MB, free: 40.59 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.117e-06/0.1727, allocations: 4.922 kB / 452.1 MB, free: 40.59 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.1727, allocations: 7.938 kB / 452.1 MB, free: 40.58 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.1727, allocations: 3.188 kB / 452.1 MB, free: 40.58 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.1727, allocations: 0 / 452.1 MB, free: 40.58 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 2.724e-05/0.1727, allocations: 96.02 kB / 452.2 MB, free: 40.46 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.3e-07/0.1727, allocations: 0 / 452.2 MB, free: 40.46 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.8e-07/0.1727, allocations: 0 / 452.2 MB, free: 40.46 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.072e-06/0.1727, allocations: 4.031 kB / 452.2 MB, free: 40.46 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.451e-06/0.1727, allocations: 0 / 452.2 MB, free: 40.46 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.81e-07/0.1727, allocations: 0 / 452.2 MB, free: 40.46 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1727, allocations: 3.938 kB / 452.2 MB, free: 40.45 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.558e-05/0.1727, allocations: 125.2 kB / 452.3 MB, free: 40.32 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.306e-06/0.1728, allocations: 3.141 kB / 452.3 MB, free: 40.32 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.365e-06/0.1728, allocations: 0 / 452.3 MB, free: 40.32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.049e-06/0.1728, allocations: 2.812 kB / 452.3 MB, free: 40.32 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.184e-05/0.1728, allocations: 8.75 kB / 452.3 MB, free: 40.31 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.643e-06/0.1728, allocations: 4 kB / 452.3 MB, free: 40.3 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.458e-06/0.1728, allocations: 75.28 kB / 452.4 MB, free: 40.23 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1728, allocations: 2.75 kB / 452.4 MB, free: 40.23 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004397/0.1732, allocations: 292 kB / 452.7 MB, free: 40.2 MB / 410.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.0009112/0.1741, allocations: 0.5154 MB / 453.2 MB, free: 40.06 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 7.714e-05/0.1742, allocations: 119.7 kB / 453.3 MB, free: 39.93 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.1742, allocations: 0 / 453.3 MB, free: 39.93 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.229e-05/0.1742, allocations: 79.95 kB / 453.4 MB, free: 39.84 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.031e-05/0.1743, allocations: 5.859 kB / 453.4 MB, free: 39.84 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001427/0.1745, allocations: 143.5 kB / 453.6 MB, free: 39.67 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.078e-05/0.1745, allocations: 54.27 kB / 453.6 MB, free: 39.6 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.174e-05/0.1745, allocations: 8.5 kB / 453.6 MB, free: 39.6 MB / 410.7 MB Notification: Performance of SimCode: time 4.31e-07/0.1745, allocations: 0 / 453.6 MB, free: 39.6 MB / 410.7 MB Notification: Performance of Templates: time 0.005667/0.1802, allocations: 6.707 MB / 460.3 MB, free: 39.06 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2b.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2b.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2b.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2b.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2b.sim & ./ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2b -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2b.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2b_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Math/TestMatrices2b/TestMatrices2b.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2b.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.003928838297725]