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.0007987/0.0007987, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009793/0.001778, 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.0006934/0.0006934, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008531/0.001547, 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.9253/0.9253, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08968/1.015, allocations: 53.66 MB / 243.3 MB, free: 15.59 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.2478/0.2478, allocations: 34.26 MB / 278.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02131/0.2691, allocations: 13.1 MB / 291.3 MB, free: 7.371 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.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.313e-06/1.313e-06, allocations: 0 / 292.6 MB, free: 6.332 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.939e-06/1.125e-05, allocations: 2.312 kB / 292.6 MB, free: 6.328 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.0009896/0.001001, allocations: 0.5562 MB / 293.2 MB, free: 5.777 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002061/0.003061, allocations: 2.126 MB / 295.3 MB, free: 3.629 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.173e-05/0.003073, allocations: 0 / 295.3 MB, free: 3.629 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 3.717e-06/0.003077, allocations: 0 / 295.3 MB, free: 3.629 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 8.31e-07/0.003078, allocations: 4 kB / 295.3 MB, free: 3.625 MB / 282.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.001258/0.004336, allocations: 0.7127 MB / 296 MB, free: 2.91 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 5.412e-05/0.00439, allocations: 8.5 kB / 296 MB, free: 2.902 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.279e-05/0.004423, allocations: 3.984 kB / 296 MB, free: 2.898 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.062e-05/0.004453, allocations: 0 / 296 MB, free: 2.898 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.89e-05/0.004472, allocations: 0 / 296 MB, free: 2.898 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 7.765e-06/0.00448, allocations: 4 kB / 296 MB, free: 2.895 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001613/0.006093, allocations: 1.576 MB / 297.6 MB, free: 1.316 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.536e-06/0.006102, allocations: 4 kB / 297.6 MB, free: 1.312 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.415e-05/0.006116, allocations: 4 kB / 297.6 MB, free: 1.309 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001309/0.007425, allocations: 1.481 MB / 299.1 MB, free: 15.82 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.133e-05/0.007436, allocations: 0 / 299.1 MB, free: 15.82 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.22e-07/0.007437, allocations: 0 / 299.1 MB, free: 15.82 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.183e-05/0.007449, allocations: 0 / 299.1 MB, free: 15.82 MB / 298.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.0005457/0.007994, allocations: 421.4 kB / 299.5 MB, free: 15.38 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.972e-05/0.008024, allocations: 12.03 kB / 299.5 MB, free: 15.37 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.735e-05/0.008051, allocations: 4.938 kB / 299.5 MB, free: 15.37 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.926e-05/0.008101, allocations: 101.8 kB / 299.6 MB, free: 15.24 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.954e-06/0.008109, allocations: 384 / 299.6 MB, free: 15.24 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.51e-06/0.008114, allocations: 4.375 kB / 299.6 MB, free: 15.24 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.792e-05/0.008172, allocations: 63.89 kB / 299.7 MB, free: 15.16 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.182e-06/0.008178, allocations: 7.938 kB / 299.7 MB, free: 15.16 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.99e-06/0.008183, allocations: 0 / 299.7 MB, free: 15.16 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.556e-06/0.008187, allocations: 0 / 299.7 MB, free: 15.16 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.593e-05/0.008203, allocations: 25.7 kB / 299.7 MB, free: 15.12 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.323e-05/0.008256, allocations: 61.05 kB / 299.8 MB, free: 15.05 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.861e-05/0.008294, allocations: 52.28 kB / 299.8 MB, free: 14.98 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.41e-05/0.008309, allocations: 30.56 kB / 299.9 MB, free: 14.95 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.885e-06/0.008311, allocations: 0 / 299.9 MB, free: 14.95 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.164e-05/0.008343, allocations: 72.2 kB / 299.9 MB, free: 14.86 MB / 298.7 MB Notification: Performance of pre-optimization done (n=1): time 4.31e-07/0.008344, allocations: 4 kB / 299.9 MB, free: 14.86 MB / 298.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001029/0.008446, allocations: 110.8 kB / 300 MB, free: 14.72 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.41e-05/0.008481, allocations: 85.05 kB / 300.1 MB, free: 14.62 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.9e-05/0.00851, allocations: 89.86 kB / 300.2 MB, free: 14.52 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.003e-05/0.00852, allocations: 25.7 kB / 300.2 MB, free: 14.49 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.856e-05/0.008538, allocations: 84.14 kB / 300.3 MB, free: 14.41 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.923e-05/0.008557, allocations: 0.6875 kB / 300.3 MB, free: 14.41 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.494e-05/0.008582, allocations: 13.72 kB / 300.3 MB, free: 14.39 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.022e-05/0.008652, allocations: 310.8 kB / 300.6 MB, free: 14.07 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.326e-05/0.008666, allocations: 29.83 kB / 300.7 MB, free: 14.04 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.121e-05/0.008677, allocations: 33.69 kB / 300.7 MB, free: 14 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.171e-05/0.008719, allocations: 64.2 kB / 300.8 MB, free: 13.92 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.008721, allocations: 0 / 300.8 MB, free: 13.92 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.039e-05/0.008761, allocations: 81.11 kB / 300.8 MB, free: 13.82 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.067e-05/0.008792, allocations: 37.69 kB / 300.9 MB, free: 13.78 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.008796, allocations: 0 / 300.9 MB, free: 13.78 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.161e-06/0.008803, allocations: 0 / 300.9 MB, free: 13.78 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.617e-06/0.008806, allocations: 0 / 300.9 MB, free: 13.78 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.026e-06/0.008809, allocations: 3.938 kB / 300.9 MB, free: 13.78 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.399e-05/0.008823, allocations: 8.094 kB / 300.9 MB, free: 13.77 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.15e-06/0.008828, allocations: 0 / 300.9 MB, free: 13.77 MB / 298.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.101e-05/0.008879, allocations: 131.5 kB / 301 MB, free: 13.62 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.681e-06/0.008885, allocations: 4 kB / 301 MB, free: 13.62 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.474e-06/0.008893, allocations: 6.984 kB / 301 MB, free: 13.62 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.173e-06/0.008894, allocations: 0 / 301 MB, free: 13.62 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.222e-06/0.008895, allocations: 3.938 kB / 301 MB, free: 13.61 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.008898, allocations: 3.938 kB / 301 MB, free: 13.61 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.994e-05/0.008938, allocations: 69.89 kB / 301.1 MB, free: 13.52 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-07/0.008938, allocations: 0 / 301.1 MB, free: 13.52 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.51e-07/0.008939, allocations: 4 kB / 301.1 MB, free: 13.52 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.567e-06/0.008942, allocations: 0 / 301.1 MB, free: 13.52 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.031e-06/0.008943, allocations: 0 / 301.1 MB, free: 13.52 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.867e-06/0.008947, allocations: 4 kB / 301.1 MB, free: 13.52 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.61e-07/0.008948, allocations: 0 / 301.1 MB, free: 13.52 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.00895, allocations: 4 kB / 301.1 MB, free: 13.51 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.837e-05/0.009008, allocations: 116.4 kB / 301.2 MB, free: 13.37 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.498e-06/0.009017, allocations: 0 / 301.2 MB, free: 13.37 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.639e-06/0.009022, allocations: 4 kB / 301.2 MB, free: 13.36 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.805e-06/0.00903, allocations: 3.984 kB / 301.2 MB, free: 13.36 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.543e-06/0.009031, allocations: 32 / 301.2 MB, free: 13.36 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.428e-06/0.009036, allocations: 8.859 kB / 301.2 MB, free: 13.35 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.009036, allocations: 0 / 301.2 MB, free: 13.35 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005825/0.009618, allocations: 271.6 kB / 301.5 MB, free: 13.08 MB / 298.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.0008637/0.01048, allocations: 441.3 kB / 301.9 MB, free: 12.68 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.294e-05/0.01057, allocations: 115.7 kB / 302 MB, free: 12.54 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.01057, allocations: 0 / 302 MB, free: 12.54 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.152e-05/0.0106, allocations: 89.95 kB / 302.1 MB, free: 12.43 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.034e-05/0.01065, allocations: 6.312 kB / 302.1 MB, free: 12.43 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001236/0.01077, allocations: 113.1 kB / 302.3 MB, free: 12.29 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.527e-05/0.0108, allocations: 55.34 kB / 302.3 MB, free: 12.21 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.601e-06/0.0108, allocations: 0 / 302.3 MB, free: 12.21 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.706e-05/0.01083, allocations: 55.38 kB / 302.4 MB, free: 12.16 MB / 298.7 MB Notification: Performance of SimCode: time 3.81e-07/0.01083, allocations: 0 / 302.4 MB, free: 12.16 MB / 298.7 MB Notification: Performance of Templates: time 0.0113/0.02213, allocations: 9.4 MB / 311.8 MB, free: 2.742 MB / 298.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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2b.pipe 2>&1) [Timeout 240] 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","",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.356436966918409]