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.0008162/0.0008162, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001406/0.002222, 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.001064/0.001064, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001574/0.002638, 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 0.952/0.952, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08663/1.039, allocations: 53.66 MB / 243.4 MB, free: 15.52 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.2894/0.2894, allocations: 34.26 MB / 278.4 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02499/0.3144, 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.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.613e-06/1.613e-06, allocations: 0 / 292.8 MB, free: 6.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.256e-05/2.418e-05, allocations: 3.719 kB / 292.8 MB, free: 6.227 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.001126/0.00115, allocations: 0.5529 MB / 293.4 MB, free: 5.676 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002069/0.003219, allocations: 2.127 MB / 295.5 MB, free: 3.527 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.458e-05/0.003233, allocations: 4 kB / 295.5 MB, free: 3.523 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.478e-06/0.003238, allocations: 0 / 295.5 MB, free: 3.523 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 8.31e-07/0.003238, allocations: 4 kB / 295.5 MB, free: 3.52 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.001303/0.004541, allocations: 0.7088 MB / 296.2 MB, free: 2.809 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 4.755e-05/0.004589, allocations: 4 kB / 296.2 MB, free: 2.805 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.167e-05/0.004621, allocations: 7.938 kB / 296.2 MB, free: 2.797 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.815e-05/0.004649, allocations: 0 / 296.2 MB, free: 2.797 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.037e-05/0.004669, allocations: 7.984 kB / 296.2 MB, free: 2.789 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.131e-06/0.004675, allocations: 3.938 kB / 296.2 MB, free: 2.785 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001621/0.006296, allocations: 1.572 MB / 297.8 MB, free: 1.211 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.435e-05/0.00631, allocations: 4 kB / 297.8 MB, free: 1.207 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.335e-05/0.006324, allocations: 0 / 297.8 MB, free: 1.207 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001278/0.007602, allocations: 1.477 MB / 299.3 MB, free: 15.73 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.089e-05/0.007613, allocations: 3.984 kB / 299.3 MB, free: 15.72 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.007614, allocations: 0 / 299.3 MB, free: 15.72 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.306e-06/0.007623, allocations: 0 / 299.3 MB, free: 15.72 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.0006669/0.00829, allocations: 417.4 kB / 299.7 MB, free: 15.29 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.231e-05/0.008322, allocations: 11.97 kB / 299.7 MB, free: 15.27 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.087e-05/0.008353, allocations: 8.938 kB / 299.7 MB, free: 15.27 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.339e-05/0.008406, allocations: 105.8 kB / 299.8 MB, free: 15.14 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.598e-06/0.008416, allocations: 384 / 299.8 MB, free: 15.14 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.275e-06/0.008424, allocations: 384 / 299.8 MB, free: 15.14 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.223e-05/0.008486, allocations: 63.89 kB / 299.9 MB, free: 15.06 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.322e-06/0.008493, allocations: 7.922 kB / 299.9 MB, free: 15.05 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.44e-06/0.008498, allocations: 0 / 299.9 MB, free: 15.05 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.008503, allocations: 4 kB / 299.9 MB, free: 15.05 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.545e-05/0.008518, allocations: 25.7 kB / 299.9 MB, free: 15.02 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.545e-05/0.008574, allocations: 61.05 kB / 300 MB, free: 14.95 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.467e-05/0.008609, allocations: 44.28 kB / 300 MB, free: 14.89 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.657e-05/0.008625, allocations: 46.64 kB / 300.1 MB, free: 14.83 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.778e-06/0.008629, allocations: 0 / 300.1 MB, free: 14.83 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.953e-05/0.008658, allocations: 60.2 kB / 300.1 MB, free: 14.76 MB / 298.7 MB Notification: Performance of pre-optimization done (n=1): time 5.21e-07/0.008659, allocations: 0 / 300.1 MB, free: 14.76 MB / 298.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001108/0.00877, allocations: 110.8 kB / 300.2 MB, free: 14.62 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.18e-05/0.008821, allocations: 166.1 kB / 300.4 MB, free: 14.43 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.947e-05/0.008851, allocations: 89.86 kB / 300.5 MB, free: 14.33 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.995e-06/0.008859, allocations: 25.7 kB / 300.5 MB, free: 14.3 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.621e-05/0.008875, allocations: 80.14 kB / 300.6 MB, free: 14.21 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.06e-05/0.008896, allocations: 8.812 kB / 300.6 MB, free: 14.21 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.234e-05/0.008918, allocations: 13.72 kB / 300.6 MB, free: 14.19 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.792e-05/0.008986, allocations: 310.8 kB / 300.9 MB, free: 13.88 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.681e-05/0.009003, allocations: 25.7 kB / 300.9 MB, free: 13.84 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.374e-05/0.009017, allocations: 37.62 kB / 301 MB, free: 13.8 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.971e-05/0.009056, allocations: 64.25 kB / 301 MB, free: 13.72 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.009058, allocations: 0 / 301 MB, free: 13.72 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.02e-05/0.009108, allocations: 81.11 kB / 301.1 MB, free: 13.62 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.509e-05/0.009143, allocations: 37.69 kB / 301.2 MB, free: 13.58 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.009149, allocations: 4.094 kB / 301.2 MB, free: 13.58 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.928e-06/0.009158, allocations: 0 / 301.2 MB, free: 13.58 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.824e-06/0.00916, allocations: 0 / 301.2 MB, free: 13.58 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.597e-06/0.009164, allocations: 3.938 kB / 301.2 MB, free: 13.57 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.46e-05/0.009179, allocations: 0 / 301.2 MB, free: 13.57 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.248e-06/0.009188, allocations: 4 kB / 301.2 MB, free: 13.57 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.777e-05/0.009246, allocations: 135.5 kB / 301.3 MB, free: 13.42 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.092e-06/0.009252, allocations: 7.938 kB / 301.3 MB, free: 13.41 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.556e-06/0.00926, allocations: 6.984 kB / 301.3 MB, free: 13.41 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.009262, allocations: 0 / 301.3 MB, free: 13.41 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-06/0.009263, allocations: 4 kB / 301.3 MB, free: 13.41 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.267e-06/0.009266, allocations: 3.938 kB / 301.3 MB, free: 13.4 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.19e-05/0.009308, allocations: 65.91 kB / 301.4 MB, free: 13.32 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.009309, allocations: 0 / 301.4 MB, free: 13.32 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.01e-07/0.009309, allocations: 0 / 301.4 MB, free: 13.32 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.208e-06/0.009314, allocations: 0 / 301.4 MB, free: 13.32 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.51e-07/0.009314, allocations: 0 / 301.4 MB, free: 13.32 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.218e-06/0.009318, allocations: 0 / 301.4 MB, free: 13.32 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.00932, allocations: 4 kB / 301.4 MB, free: 13.32 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.009321, allocations: 0 / 301.4 MB, free: 13.32 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.237e-05/0.009383, allocations: 112.5 kB / 301.5 MB, free: 13.18 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.01e-05/0.009393, allocations: 4.031 kB / 301.5 MB, free: 13.17 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.382e-06/0.0094, allocations: 4 kB / 301.5 MB, free: 13.17 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.266e-06/0.009408, allocations: 3.984 kB / 301.5 MB, free: 13.16 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.655e-06/0.009411, allocations: 0 / 301.5 MB, free: 13.16 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.025e-06/0.009419, allocations: 8.797 kB / 301.5 MB, free: 13.15 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009419, allocations: 0 / 301.5 MB, free: 13.15 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0007477/0.01017, allocations: 271.6 kB / 301.8 MB, free: 12.89 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.000984/0.01115, allocations: 459.9 kB / 302.2 MB, free: 12.47 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.096e-05/0.01124, allocations: 115.7 kB / 302.4 MB, free: 12.33 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.01124, allocations: 4 kB / 302.4 MB, free: 12.32 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.111e-05/0.01128, allocations: 89.95 kB / 302.4 MB, free: 12.21 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.548e-05/0.01133, allocations: 4 kB / 302.4 MB, free: 12.21 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000145/0.01148, allocations: 113.1 kB / 302.6 MB, free: 12.07 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.726e-05/0.0115, allocations: 51.36 kB / 302.6 MB, free: 12 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.993e-06/0.01151, allocations: 0 / 302.6 MB, free: 12 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.344e-05/0.01154, allocations: 55.38 kB / 302.7 MB, free: 11.94 MB / 298.7 MB Notification: Performance of SimCode: time 5.11e-07/0.01154, allocations: 0 / 302.7 MB, free: 11.94 MB / 298.7 MB Notification: Performance of Templates: time 0.01181/0.02336, allocations: 9.429 MB / 312.1 MB, free: 2.504 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.441567159257829]