Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001174/0.001174, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002026/0.0032, allocations: 449.8 kB / 10.44 MB, free: 252 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.0007625/0.0007625, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009945/0.001757, allocations: 479.5 kB / 11.83 MB, free: 2.344 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.9434/0.9434, allocations: 177.2 MB / 189.8 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08812/1.032, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.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.2534/0.2534, allocations: 34.25 MB / 278.4 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02344/0.2768, allocations: 13.11 MB / 291.5 MB, free: 7.332 MB / 282.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.TestMatrices3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3") translateModel(ModelicaTest.Math.TestMatrices3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.517e-06/3.517e-06, allocations: 3.938 kB / 292.8 MB, free: 6.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.465e-05/3.816e-05, allocations: 4.516 kB / 292.8 MB, free: 6.227 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.001916/0.001954, allocations: 0.5533 MB / 293.4 MB, free: 5.676 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001873/0.003827, allocations: 1.561 MB / 294.9 MB, free: 4.094 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.723e-05/0.003844, allocations: 4 kB / 294.9 MB, free: 4.09 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 6.202e-06/0.00385, allocations: 4 kB / 294.9 MB, free: 4.086 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 2.124e-06/0.003853, allocations: 0 / 294.9 MB, free: 4.086 MB / 282.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.0006807/0.004533, allocations: 239.2 kB / 295.2 MB, free: 3.852 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 4.995e-05/0.004583, allocations: 4.5 kB / 295.2 MB, free: 3.848 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.365e-05/0.004617, allocations: 0 / 295.2 MB, free: 3.848 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.404e-05/0.004651, allocations: 0 / 295.2 MB, free: 3.848 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.469e-05/0.004676, allocations: 3.938 kB / 295.2 MB, free: 3.844 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.993e-06/0.004683, allocations: 4 kB / 295.2 MB, free: 3.84 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007097/0.005392, allocations: 0.6908 MB / 295.9 MB, free: 3.148 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.211e-05/0.005404, allocations: 11.98 kB / 295.9 MB, free: 3.137 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.225e-05/0.005417, allocations: 4 kB / 295.9 MB, free: 3.133 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004493/0.005866, allocations: 0.5421 MB / 296.4 MB, free: 2.59 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.073e-05/0.005877, allocations: 0 / 296.4 MB, free: 2.59 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.005878, allocations: 0 / 296.4 MB, free: 2.59 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.127e-06/0.005887, allocations: 0 / 296.4 MB, free: 2.59 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.0003136/0.006201, allocations: 274.1 kB / 296.7 MB, free: 2.293 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.942e-05/0.00623, allocations: 12.03 kB / 296.7 MB, free: 2.281 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.921e-05/0.00626, allocations: 4.875 kB / 296.7 MB, free: 2.277 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.349e-05/0.006313, allocations: 109.8 kB / 296.8 MB, free: 2.145 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.766e-06/0.006322, allocations: 4.375 kB / 296.8 MB, free: 2.141 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.266e-06/0.00633, allocations: 4.375 kB / 296.8 MB, free: 2.137 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.487e-05/0.006395, allocations: 63.95 kB / 296.9 MB, free: 2.062 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.811e-06/0.006401, allocations: 192 / 296.9 MB, free: 2.062 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.041e-06/0.006407, allocations: 384 / 296.9 MB, free: 2.062 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.698e-06/0.006412, allocations: 3.938 kB / 296.9 MB, free: 2.059 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.338e-05/0.006425, allocations: 25.7 kB / 296.9 MB, free: 2.027 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.624e-05/0.006481, allocations: 57.05 kB / 297 MB, free: 1.957 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.667e-05/0.006518, allocations: 48.25 kB / 297 MB, free: 1.895 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.458e-05/0.006532, allocations: 34.55 kB / 297.1 MB, free: 1.852 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.715e-06/0.006535, allocations: 4 kB / 297.1 MB, free: 1.848 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.063e-05/0.006566, allocations: 60.33 kB / 297.1 MB, free: 1.773 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 7.61e-07/0.006566, allocations: 0 / 297.1 MB, free: 1.773 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 9.634e-05/0.006663, allocations: 106.8 kB / 297.2 MB, free: 1.645 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.894e-05/0.006712, allocations: 170.1 kB / 297.4 MB, free: 1.441 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.889e-05/0.006741, allocations: 93.84 kB / 297.5 MB, free: 1.34 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.226e-06/0.006749, allocations: 25.7 kB / 297.5 MB, free: 1.309 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.476e-05/0.006764, allocations: 80.14 kB / 297.6 MB, free: 1.227 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.805e-05/0.006782, allocations: 0 / 297.6 MB, free: 1.227 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.051e-05/0.006802, allocations: 13.72 kB / 297.6 MB, free: 1.207 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.944e-05/0.006872, allocations: 314.9 kB / 297.9 MB, free: 0.8906 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.413e-05/0.006886, allocations: 33.7 kB / 297.9 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.073e-05/0.006897, allocations: 29.69 kB / 298 MB, free: 0.8164 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.526e-05/0.006932, allocations: 60.27 kB / 298 MB, free: 0.7422 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.006933, allocations: 0 / 298 MB, free: 0.7422 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.562e-05/0.006979, allocations: 89.05 kB / 298.1 MB, free: 0.6367 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.44e-05/0.007013, allocations: 35.72 kB / 298.2 MB, free: 0.5977 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.007018, allocations: 0 / 298.2 MB, free: 0.5977 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.506e-06/0.007026, allocations: 0 / 298.2 MB, free: 0.5977 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.342e-06/0.007028, allocations: 3.938 kB / 298.2 MB, free: 0.5938 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.374e-06/0.00703, allocations: 8.094 kB / 298.2 MB, free: 0.5859 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.49e-05/0.007045, allocations: 4.625 kB / 298.2 MB, free: 0.582 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.404e-06/0.007052, allocations: 3.938 kB / 298.2 MB, free: 0.5781 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.412e-05/0.007106, allocations: 139.5 kB / 298.3 MB, free: 436 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.407e-06/0.00711, allocations: 0 / 298.3 MB, free: 436 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.927e-06/0.007119, allocations: 10.97 kB / 298.3 MB, free: 428 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.00712, allocations: 0 / 298.3 MB, free: 428 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-06/0.007121, allocations: 0 / 298.3 MB, free: 428 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.007124, allocations: 4 kB / 298.3 MB, free: 424 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.813e-05/0.007162, allocations: 61.84 kB / 298.4 MB, free: 344 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.11e-07/0.007163, allocations: 4 kB / 298.4 MB, free: 340 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.342e-06/0.007164, allocations: 4 kB / 298.4 MB, free: 336 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.12e-06/0.007169, allocations: 3.984 kB / 298.4 MB, free: 332 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.1e-07/0.00717, allocations: 4 kB / 298.4 MB, free: 328 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.696e-06/0.007173, allocations: 0 / 298.4 MB, free: 328 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.01e-07/0.007174, allocations: 0 / 298.4 MB, free: 328 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.007175, allocations: 0 / 298.4 MB, free: 328 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.146e-05/0.007236, allocations: 116.4 kB / 298.5 MB, free: 180 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.106e-05/0.007247, allocations: 4 kB / 298.5 MB, free: 176 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.479e-06/0.007252, allocations: 0 / 298.5 MB, free: 176 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.975e-06/0.00726, allocations: 8.016 kB / 298.5 MB, free: 168 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.924e-06/0.007262, allocations: 0 / 298.5 MB, free: 168 kB / 282.7 MB Notification: Performance of sorting global known variables: time 6.723e-06/0.007268, allocations: 4.859 kB / 298.5 MB, free: 160 kB / 282.7 MB Notification: Performance of sort global known variables: time 1e-07/0.007268, allocations: 4 kB / 298.5 MB, free: 156 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002291/0.007498, allocations: 119.9 kB / 298.7 MB, free: 36 kB / 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.0005214/0.008019, allocations: 178 kB / 298.8 MB, free: 15.87 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.715e-05/0.008106, allocations: 127.6 kB / 299 MB, free: 15.72 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.00811, allocations: 0 / 299 MB, free: 15.72 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.833e-05/0.008138, allocations: 85.97 kB / 299 MB, free: 15.61 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.244e-05/0.008191, allocations: 11.92 kB / 299.1 MB, free: 15.6 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001436/0.008334, allocations: 113 kB / 299.2 MB, free: 15.46 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.624e-05/0.00836, allocations: 59.53 kB / 299.2 MB, free: 15.38 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.13e-06/0.008365, allocations: 0 / 299.2 MB, free: 15.38 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.835e-05/0.008394, allocations: 51.38 kB / 299.3 MB, free: 15.33 MB / 298.7 MB Notification: Performance of SimCode: time 8.61e-07/0.008395, allocations: 0 / 299.3 MB, free: 15.33 MB / 298.7 MB Notification: Performance of Templates: time 0.004756/0.01315, allocations: 4.047 MB / 303.3 MB, free: 11.28 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3.sim & ./ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Math/TestMatrices3/TestMatrices3.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1325269024819136]