Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.0008468/0.0008468, 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.004014/0.004014, allocations: 163.5 kB / 24.7 MB, free: 9.426 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.9178/0.9178, 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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2282/0.2282, allocations: 32.8 MB / 294.2 MB, free: 1.199 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.TestMatrices3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3") translateModel(ModelicaTest.Math.TestMatrices3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.234e-06/2.234e-06, allocations: 0 / 440.8 MB, free: 3.77 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.669e-05/2.892e-05, allocations: 6.219 kB / 440.8 MB, free: 3.762 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.001112/0.001141, allocations: 0.4952 MB / 441.3 MB, free: 3.27 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001559/0.0027, allocations: 1.526 MB / 442.8 MB, free: 1.723 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.327e-05/0.002724, allocations: 4 kB / 442.8 MB, free: 1.719 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.729e-05/0.002741, allocations: 0 / 442.8 MB, free: 1.719 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 6.883e-06/0.002748, allocations: 0 / 442.8 MB, free: 1.719 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Math.mo:576:3-610:16:writable] Warning: Pure function 'ModelicaTest.Math.Matrices3' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.0008709/0.003619, allocations: 255.8 kB / 443.1 MB, free: 1.469 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 4.654e-05/0.003665, allocations: 3.984 kB / 443.1 MB, free: 1.465 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.891e-05/0.003704, allocations: 4 kB / 443.1 MB, free: 1.461 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.755e-05/0.003732, allocations: 0 / 443.1 MB, free: 1.461 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.742e-05/0.003749, allocations: 4 kB / 443.1 MB, free: 1.457 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.002e-06/0.003755, allocations: 0 / 443.1 MB, free: 1.457 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000963/0.004718, allocations: 0.6791 MB / 443.8 MB, free: 0.7773 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.576e-06/0.004727, allocations: 0 / 443.8 MB, free: 0.7773 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.958e-05/0.004746, allocations: 0 / 443.8 MB, free: 0.7773 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006335/0.00538, allocations: 0.7564 MB / 444.5 MB, free: 20 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.005382, allocations: 0 / 444.5 MB, free: 20 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.005384, allocations: 0 / 444.5 MB, free: 20 kB / 410.7 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.005388, allocations: 3.938 kB / 444.5 MB, free: 16 kB / 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.159/0.1644, allocations: 285.4 kB / 444.8 MB, free: 46.54 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.1644, allocations: 10.09 kB / 444.8 MB, free: 46.54 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.803e-05/0.1644, allocations: 0.9375 kB / 444.8 MB, free: 46.54 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 3.937e-05/0.1645, allocations: 104.4 kB / 444.9 MB, free: 46.42 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.15e-05/0.1645, allocations: 3.312 kB / 444.9 MB, free: 46.42 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.687e-06/0.1645, allocations: 3.531 kB / 444.9 MB, free: 46.42 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.77e-05/0.1646, allocations: 58.11 kB / 445 MB, free: 46.36 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.794e-06/0.1646, allocations: 192 / 445 MB, free: 46.36 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.975e-06/0.1646, allocations: 0.75 kB / 445 MB, free: 46.36 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.1646, allocations: 0 / 445 MB, free: 46.36 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.842e-05/0.1646, allocations: 32.67 kB / 445 MB, free: 46.32 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.958e-05/0.1647, allocations: 102.1 kB / 445.1 MB, free: 46.2 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.656e-05/0.1647, allocations: 45.16 kB / 445.2 MB, free: 46.14 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.316e-05/0.1647, allocations: 35.56 kB / 445.2 MB, free: 46.11 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.333e-06/0.1647, allocations: 0 / 445.2 MB, free: 46.11 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.439e-05/0.1648, allocations: 66.28 kB / 445.3 MB, free: 46.04 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 5.71e-07/0.1648, allocations: 0 / 445.3 MB, free: 46.04 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001485/0.1649, allocations: 115.2 kB / 445.4 MB, free: 45.91 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.403e-05/0.1649, allocations: 79.83 kB / 445.5 MB, free: 45.82 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.425e-05/0.1649, allocations: 93.86 kB / 445.6 MB, free: 45.72 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.649e-06/0.1649, allocations: 25.7 kB / 445.6 MB, free: 45.69 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.091e-06/0.165, allocations: 83.73 kB / 445.7 MB, free: 45.61 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.64e-05/0.165, allocations: 6.234 kB / 445.7 MB, free: 45.61 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.974e-05/0.165, allocations: 9.719 kB / 445.7 MB, free: 45.59 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.862e-05/0.165, allocations: 321 kB / 446 MB, free: 45.27 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.114e-05/0.165, allocations: 25.7 kB / 446 MB, free: 45.24 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.246e-06/0.165, allocations: 31.02 kB / 446 MB, free: 45.21 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.653e-05/0.1651, allocations: 60.33 kB / 446.1 MB, free: 45.14 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.1651, allocations: 0 / 446.1 MB, free: 45.14 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.687e-05/0.1651, allocations: 93.31 kB / 446.2 MB, free: 45.05 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.304e-05/0.1651, allocations: 31.45 kB / 446.2 MB, free: 45.02 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.1651, allocations: 0 / 446.2 MB, free: 45.02 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.1651, allocations: 2.625 kB / 446.2 MB, free: 45.02 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.02e-07/0.1651, allocations: 0 / 446.2 MB, free: 45.02 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/0.1652, allocations: 3.125 kB / 446.2 MB, free: 45.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.297e-05/0.1652, allocations: 9.891 kB / 446.2 MB, free: 45.01 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.935e-06/0.1652, allocations: 7.844 kB / 446.2 MB, free: 45.01 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.854e-05/0.1652, allocations: 131.5 kB / 446.4 MB, free: 44.87 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.248e-06/0.1652, allocations: 5.719 kB / 446.4 MB, free: 44.87 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.018e-05/0.1652, allocations: 3 kB / 446.4 MB, free: 44.86 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/0.1652, allocations: 0 / 446.4 MB, free: 44.86 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.1652, allocations: 0 / 446.4 MB, free: 44.86 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.1652, allocations: 6.25 kB / 446.4 MB, free: 44.86 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.114e-05/0.1653, allocations: 101.3 kB / 446.5 MB, free: 44.74 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.01e-07/0.1653, allocations: 0 / 446.5 MB, free: 44.74 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.4e-07/0.1653, allocations: 0 / 446.5 MB, free: 44.74 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.91e-07/0.1653, allocations: 2.625 kB / 446.5 MB, free: 44.74 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.38e-06/0.1653, allocations: 0 / 446.5 MB, free: 44.74 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.61e-07/0.1653, allocations: 3 kB / 446.5 MB, free: 44.74 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.01e-07/0.1653, allocations: 0 / 446.5 MB, free: 44.74 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.212e-05/0.1653, allocations: 122.6 kB / 446.6 MB, free: 44.61 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.106e-06/0.1653, allocations: 3.469 kB / 446.6 MB, free: 44.61 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.037e-05/0.1653, allocations: 3.188 kB / 446.6 MB, free: 44.61 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.951e-06/0.1653, allocations: 2.875 kB / 446.6 MB, free: 44.61 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.203e-05/0.1654, allocations: 0 / 446.6 MB, free: 44.61 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.824e-06/0.1654, allocations: 0 / 446.6 MB, free: 44.61 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.657e-06/0.1654, allocations: 79.5 kB / 446.7 MB, free: 44.54 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1654, allocations: 3.938 kB / 446.7 MB, free: 44.53 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003278/0.1657, allocations: 121.9 kB / 446.8 MB, free: 44.52 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.0005706/0.1663, allocations: 191.4 kB / 447 MB, free: 44.42 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 8.66e-05/0.1664, allocations: 110.9 kB / 447.1 MB, free: 44.3 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.1664, allocations: 3.531 kB / 447.1 MB, free: 44.3 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.495e-05/0.1664, allocations: 86.61 kB / 447.2 MB, free: 44.2 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.504e-05/0.1665, allocations: 1.719 kB / 447.2 MB, free: 44.2 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001606/0.1666, allocations: 130.5 kB / 447.3 MB, free: 44.05 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.399e-05/0.1666, allocations: 54.58 kB / 447.4 MB, free: 43.98 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.11e-05/0.1667, allocations: 10.19 kB / 447.4 MB, free: 43.98 MB / 410.7 MB Notification: Performance of SimCode: time 3.61e-07/0.1667, allocations: 0 / 447.4 MB, free: 43.98 MB / 410.7 MB Notification: Performance of Templates: time 0.003017/0.1697, allocations: 2.72 MB / 450.1 MB, free: 43.86 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/TestMatrices3/TestMatrices3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.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: 5.56096626073122]