Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices.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.0007841/0.0007841, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001074/0.001858, 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.0006979/0.0006979, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009275/0.001625, allocations: 479.5 kB / 11.82 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 1.014/1.014, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08294/1.097, allocations: 53.66 MB / 243.4 MB, free: 15.5 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.2487/0.2487, allocations: 34.26 MB / 278.4 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02242/0.2712, allocations: 13.1 MB / 291.5 MB, free: 7.336 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.TestMatrices,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices") translateModel(ModelicaTest.Math.TestMatrices,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.794e-06/1.794e-06, allocations: 0 / 292.8 MB, free: 6.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.057e-05/2.236e-05, allocations: 3.297 kB / 292.8 MB, free: 6.227 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices): time 0.001137/0.00116, allocations: 0.5504 MB / 293.4 MB, free: 5.68 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00145/0.00261, allocations: 1.605 MB / 295 MB, free: 4.055 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.424e-05/0.002624, allocations: 0 / 295 MB, free: 4.055 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 3.607e-06/0.002628, allocations: 0 / 295 MB, free: 4.055 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 1.954e-06/0.00263, allocations: 3.938 kB / 295 MB, free: 4.051 MB / 282.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/Math.mo:171:3-212:15:writable] Warning: Pure function 'ModelicaTest.Math.Matrices' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.0006982/0.003328, allocations: 303.7 kB / 295.3 MB, free: 3.754 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 5.18e-05/0.00338, allocations: 12 kB / 295.3 MB, free: 3.742 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.391e-05/0.003414, allocations: 0 / 295.3 MB, free: 3.742 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.199e-05/0.003446, allocations: 8 kB / 295.3 MB, free: 3.734 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.26e-05/0.003468, allocations: 3.984 kB / 295.3 MB, free: 3.73 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 7.605e-06/0.003476, allocations: 3.938 kB / 295.3 MB, free: 3.727 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005278/0.004004, allocations: 375.2 kB / 295.7 MB, free: 3.359 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.365e-05/0.004017, allocations: 4 kB / 295.7 MB, free: 3.355 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.498e-05/0.004032, allocations: 3.938 kB / 295.7 MB, free: 3.352 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003265/0.004359, allocations: 263.3 kB / 295.9 MB, free: 3.094 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.816e-05/0.004377, allocations: 4 kB / 295.9 MB, free: 3.09 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.004378, allocations: 0 / 295.9 MB, free: 3.09 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.193e-05/0.00439, allocations: 0 / 295.9 MB, free: 3.09 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.0003314/0.004721, allocations: 290 kB / 296.2 MB, free: 2.777 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.004758, allocations: 12.03 kB / 296.2 MB, free: 2.766 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.056e-05/0.004799, allocations: 0.9375 kB / 296.2 MB, free: 2.766 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.866e-05/0.004867, allocations: 101.8 kB / 296.3 MB, free: 2.641 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/0.004879, allocations: 4.375 kB / 296.3 MB, free: 2.637 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.065e-05/0.00489, allocations: 384 / 296.3 MB, free: 2.637 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.712e-05/0.004967, allocations: 55.97 kB / 296.4 MB, free: 2.57 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.723e-06/0.004974, allocations: 4.188 kB / 296.4 MB, free: 2.566 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.632e-06/0.004981, allocations: 4.359 kB / 296.4 MB, free: 2.562 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.603e-06/0.004987, allocations: 11.86 kB / 296.4 MB, free: 2.551 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.302e-05/0.005, allocations: 25.7 kB / 296.4 MB, free: 2.52 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.295e-05/0.005063, allocations: 60.98 kB / 296.5 MB, free: 2.445 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.926e-05/0.005102, allocations: 48.31 kB / 296.5 MB, free: 2.383 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.498e-05/0.005117, allocations: 30.56 kB / 296.6 MB, free: 2.344 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.176e-06/0.005121, allocations: 0 / 296.6 MB, free: 2.344 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.594e-05/0.005156, allocations: 64.31 kB / 296.6 MB, free: 2.266 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 6.21e-07/0.005157, allocations: 4 kB / 296.6 MB, free: 2.262 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.00011/0.005267, allocations: 114.7 kB / 296.8 MB, free: 2.125 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.775e-05/0.005315, allocations: 158.2 kB / 296.9 MB, free: 1.934 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.082e-05/0.005346, allocations: 93.84 kB / 297 MB, free: 1.832 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.075e-06/0.005354, allocations: 25.7 kB / 297 MB, free: 1.801 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.65e-05/0.00537, allocations: 80.14 kB / 297.1 MB, free: 1.719 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.808e-05/0.005388, allocations: 0 / 297.1 MB, free: 1.719 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.487e-05/0.005413, allocations: 17.72 kB / 297.1 MB, free: 1.695 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.593e-05/0.005479, allocations: 314.8 kB / 297.4 MB, free: 1.379 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.457e-05/0.005494, allocations: 29.7 kB / 297.5 MB, free: 1.344 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.131e-05/0.005505, allocations: 29.83 kB / 297.5 MB, free: 1.309 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.153e-05/0.005546, allocations: 68.19 kB / 297.6 MB, free: 1.227 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.005549, allocations: 0 / 297.6 MB, free: 1.227 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.802e-05/0.005597, allocations: 85.11 kB / 297.6 MB, free: 1.125 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.193e-05/0.005629, allocations: 29.7 kB / 297.7 MB, free: 1.09 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.005633, allocations: 0 / 297.7 MB, free: 1.09 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.108e-05/0.005644, allocations: 0 / 297.7 MB, free: 1.09 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.405e-06/0.005646, allocations: 3.984 kB / 297.7 MB, free: 1.086 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.697e-06/0.00565, allocations: 3.984 kB / 297.7 MB, free: 1.082 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.514e-05/0.005665, allocations: 4.781 kB / 297.7 MB, free: 1.078 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.054e-06/0.005672, allocations: 7.938 kB / 297.7 MB, free: 1.07 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.84e-05/0.005731, allocations: 135.5 kB / 297.8 MB, free: 0.9219 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.859e-06/0.005735, allocations: 0 / 297.8 MB, free: 0.9219 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.013e-06/0.005742, allocations: 3 kB / 297.8 MB, free: 0.9219 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.582e-06/0.005744, allocations: 0 / 297.8 MB, free: 0.9219 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.303e-06/0.005745, allocations: 0 / 297.8 MB, free: 0.9219 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.005747, allocations: 0 / 297.8 MB, free: 0.9219 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.581e-05/0.005793, allocations: 73.83 kB / 297.9 MB, free: 0.832 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.31e-07/0.005794, allocations: 0 / 297.9 MB, free: 0.832 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.31e-07/0.005794, allocations: 0 / 297.9 MB, free: 0.832 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.27e-06/0.0058, allocations: 15.92 kB / 297.9 MB, free: 0.8164 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.005802, allocations: 7.938 kB / 297.9 MB, free: 0.8086 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.527e-06/0.005805, allocations: 0 / 297.9 MB, free: 0.8086 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.81e-07/0.005806, allocations: 0 / 297.9 MB, free: 0.8086 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.005806, allocations: 0 / 297.9 MB, free: 0.8086 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.275e-05/0.005869, allocations: 112.5 kB / 298 MB, free: 0.668 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.055e-05/0.00588, allocations: 4 kB / 298 MB, free: 0.6641 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.739e-06/0.005884, allocations: 0 / 298 MB, free: 0.6641 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.484e-06/0.005892, allocations: 0 / 298 MB, free: 0.6641 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.305e-06/0.005894, allocations: 0 / 298 MB, free: 0.6641 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.682e-06/0.005901, allocations: 4.891 kB / 298 MB, free: 0.6562 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.005901, allocations: 4 kB / 298 MB, free: 0.6523 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002134/0.006114, allocations: 63.8 kB / 298.1 MB, free: 0.5898 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.0004281/0.006542, allocations: 206.8 kB / 298.3 MB, free: 408 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.823e-05/0.006641, allocations: 123.6 kB / 298.4 MB, free: 256 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.618e-06/0.006645, allocations: 0 / 298.4 MB, free: 256 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.135e-05/0.006677, allocations: 89.95 kB / 298.5 MB, free: 144 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.479e-05/0.006731, allocations: 12.47 kB / 298.5 MB, free: 136 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001831/0.006914, allocations: 121.2 kB / 298.6 MB, free: 15.98 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.772e-05/0.006942, allocations: 55.55 kB / 298.7 MB, free: 15.91 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.723e-06/0.006949, allocations: 0 / 298.7 MB, free: 15.91 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.892e-05/0.006988, allocations: 51.38 kB / 298.7 MB, free: 15.86 MB / 298.7 MB Notification: Performance of SimCode: time 5.41e-07/0.006988, allocations: 0 / 298.7 MB, free: 15.86 MB / 298.7 MB Notification: Performance of Templates: time 0.002881/0.009869, allocations: 1.54 MB / 300.3 MB, free: 14.32 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices.sim & ./ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Math/TestMatrices/TestMatrices.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: 2.779324021190405]