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.0008632/0.0008632, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001122/0.001986, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007433/0.0007433, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009992/0.001742, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.9726/0.9726, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09623/1.069, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.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.2657/0.2657, allocations: 32.81 MB / 276.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02461/0.2903, allocations: 12.53 MB / 289.3 MB, free: 8.676 MB / 282.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 1.543e-06/1.543e-06, allocations: 0 / 290.6 MB, free: 7.668 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.974e-05/2.128e-05, allocations: 2.312 kB / 290.6 MB, free: 7.664 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.001757/0.001779, allocations: 0.5366 MB / 291.1 MB, free: 7.254 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00217/0.003949, allocations: 1.575 MB / 292.7 MB, free: 5.977 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.552e-05/0.003964, allocations: 0 / 292.7 MB, free: 5.977 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.669e-06/0.003969, allocations: 0 / 292.7 MB, free: 5.977 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 1.192e-06/0.00397, allocations: 1.125 kB / 292.7 MB, free: 5.977 MB / 282.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.0009588/0.004929, allocations: 238.7 kB / 292.9 MB, free: 5.848 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 6.001e-05/0.004989, allocations: 2.625 kB / 292.9 MB, free: 5.848 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.431e-05/0.005023, allocations: 4 kB / 292.9 MB, free: 5.844 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.546e-05/0.005059, allocations: 14.05 kB / 293 MB, free: 5.832 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.256e-05/0.005081, allocations: 0 / 293 MB, free: 5.832 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 8.195e-06/0.005089, allocations: 0 / 293 MB, free: 5.832 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001077/0.006166, allocations: 0.7014 MB / 293.7 MB, free: 5.25 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.828e-06/0.006176, allocations: 0 / 293.7 MB, free: 5.25 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.381e-05/0.00619, allocations: 0 / 293.7 MB, free: 5.25 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007189/0.006909, allocations: 0.5421 MB / 294.2 MB, free: 4.707 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.678e-05/0.006926, allocations: 3.984 kB / 294.2 MB, free: 4.703 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.006927, allocations: 0 / 294.2 MB, free: 4.703 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.51e-05/0.006942, allocations: 0 / 294.2 MB, free: 4.703 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.0004683/0.00741, allocations: 286.1 kB / 294.5 MB, free: 4.395 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.007449, allocations: 8.031 kB / 294.5 MB, free: 4.387 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.677e-05/0.007486, allocations: 4.938 kB / 294.5 MB, free: 4.383 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.128e-05/0.007557, allocations: 105.8 kB / 294.6 MB, free: 4.254 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.153e-05/0.007569, allocations: 384 / 294.6 MB, free: 4.254 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.125e-06/0.007577, allocations: 4.312 kB / 294.6 MB, free: 4.25 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.86e-05/0.007656, allocations: 55.97 kB / 294.7 MB, free: 4.184 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.007663, allocations: 192 / 294.7 MB, free: 4.184 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.187e-06/0.007672, allocations: 4.359 kB / 294.7 MB, free: 4.18 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.00768, allocations: 7.938 kB / 294.7 MB, free: 4.172 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.396e-05/0.007704, allocations: 33.69 kB / 294.7 MB, free: 4.133 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.709e-05/0.007781, allocations: 61.05 kB / 294.8 MB, free: 4.059 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.1e-05/0.007832, allocations: 44.28 kB / 294.8 MB, free: 4 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.215e-05/0.007855, allocations: 38.59 kB / 294.8 MB, free: 3.953 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.517e-06/0.007858, allocations: 0 / 294.8 MB, free: 3.953 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.012e-05/0.007898, allocations: 56.27 kB / 294.9 MB, free: 3.883 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 1.372e-06/0.0079, allocations: 0 / 294.9 MB, free: 3.883 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001336/0.008033, allocations: 114.8 kB / 295 MB, free: 3.746 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.02e-05/0.008073, allocations: 77.11 kB / 295.1 MB, free: 3.652 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.81e-05/0.008111, allocations: 89.86 kB / 295.2 MB, free: 3.555 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.033e-05/0.008122, allocations: 33.83 kB / 295.2 MB, free: 3.516 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.197e-05/0.008144, allocations: 80.14 kB / 295.3 MB, free: 3.434 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.662e-05/0.00816, allocations: 0 / 295.3 MB, free: 3.434 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.153e-05/0.008192, allocations: 17.7 kB / 295.3 MB, free: 3.41 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.813e-05/0.00828, allocations: 314.8 kB / 295.6 MB, free: 3.094 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.098e-05/0.008301, allocations: 29.64 kB / 295.6 MB, free: 3.059 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.645e-05/0.008317, allocations: 33.7 kB / 295.7 MB, free: 3.02 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.844e-05/0.008366, allocations: 60.27 kB / 295.7 MB, free: 2.945 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.008368, allocations: 0 / 295.7 MB, free: 2.945 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.352e-05/0.008452, allocations: 93.14 kB / 295.8 MB, free: 2.836 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.098e-05/0.008493, allocations: 37.64 kB / 295.9 MB, free: 2.793 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.008499, allocations: 0 / 295.9 MB, free: 2.793 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.927e-06/0.008508, allocations: 0 / 295.9 MB, free: 2.793 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.969e-06/0.008513, allocations: 0 / 295.9 MB, free: 2.793 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.826e-06/0.008516, allocations: 0 / 295.9 MB, free: 2.793 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.117e-05/0.008537, allocations: 3.938 kB / 295.9 MB, free: 2.789 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.227e-06/0.008546, allocations: 7.922 kB / 295.9 MB, free: 2.781 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 7.353e-05/0.008619, allocations: 143.5 kB / 296 MB, free: 2.625 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.528e-06/0.008629, allocations: 4 kB / 296 MB, free: 2.621 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.977e-06/0.008638, allocations: 7.031 kB / 296 MB, free: 2.617 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.00864, allocations: 0 / 296 MB, free: 2.617 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.008642, allocations: 0 / 296 MB, free: 2.617 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.008644, allocations: 0 / 296 MB, free: 2.617 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.621e-05/0.0087, allocations: 62.53 kB / 296.1 MB, free: 2.539 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.008702, allocations: 4 kB / 296.1 MB, free: 2.535 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.013e-06/0.008704, allocations: 3.984 kB / 296.1 MB, free: 2.531 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.478e-06/0.008709, allocations: 0 / 296.1 MB, free: 2.531 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.008711, allocations: 0 / 296.1 MB, free: 2.531 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.411e-06/0.008716, allocations: 4 kB / 296.1 MB, free: 2.527 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.008717, allocations: 0 / 296.1 MB, free: 2.527 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.008718, allocations: 4 kB / 296.1 MB, free: 2.523 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.132e-05/0.00881, allocations: 120.5 kB / 296.2 MB, free: 2.375 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.313e-05/0.008823, allocations: 0 / 296.2 MB, free: 2.375 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.618e-06/0.008832, allocations: 0 / 296.2 MB, free: 2.375 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.423e-05/0.008847, allocations: 7.938 kB / 296.2 MB, free: 2.367 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-06/0.00885, allocations: 0 / 296.2 MB, free: 2.367 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.083e-06/0.008857, allocations: 4.859 kB / 296.2 MB, free: 2.359 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.008858, allocations: 0 / 296.2 MB, free: 2.359 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003912/0.009249, allocations: 119.9 kB / 296.3 MB, free: 2.242 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.000723/0.009972, allocations: 178.5 kB / 296.5 MB, free: 2.078 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001177/0.01009, allocations: 123.6 kB / 296.6 MB, free: 1.93 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.01009, allocations: 0 / 296.6 MB, free: 1.93 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.031e-05/0.01013, allocations: 90.03 kB / 296.7 MB, free: 1.82 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.782e-05/0.01019, allocations: 7.938 kB / 296.7 MB, free: 1.812 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001867/0.01038, allocations: 113.3 kB / 296.8 MB, free: 1.668 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.357e-05/0.01041, allocations: 55.3 kB / 296.9 MB, free: 1.594 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.492e-06/0.01042, allocations: 0 / 296.9 MB, free: 1.594 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.45e-05/0.01045, allocations: 51.38 kB / 297 MB, free: 1.543 MB / 282.7 MB Notification: Performance of SimCode: time 1.012e-06/0.01045, allocations: 0 / 297 MB, free: 1.543 MB / 282.7 MB Notification: Performance of Templates: time 0.007887/0.01834, allocations: 4.058 MB / 301 MB, free: 13.48 MB / 298.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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.pipe 2>&1) [Timeout 240] 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","",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.536451021209359]