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.001012/0.001012, allocations: 80.92 kB / 21.49 MB, free: 2.996 MB / 18.57 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.001201/0.001201, allocations: 169 kB / 24.91 MB, free: 8.723 MB / 18.57 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.9424/0.9424, allocations: 177.1 MB / 205.3 MB, free: 4.496 MB / 186.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.1682/0.1682, allocations: 34.26 MB / 296.1 MB, free: 13.99 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.493e-06/1.493e-06, allocations: 0 / 325.3 MB, free: 0.7578 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.004e-05/2.153e-05, allocations: 4.844 kB / 325.3 MB, free: 0.7539 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.001159/0.001181, allocations: 0.5367 MB / 325.8 MB, free: 220 kB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002446/0.003627, allocations: 2.121 MB / 327.9 MB, free: 14.07 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.756e-05/0.003644, allocations: 0 / 327.9 MB, free: 14.07 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 1.212e-05/0.003656, allocations: 0 / 327.9 MB, free: 14.07 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 7.384e-06/0.003664, allocations: 0 / 327.9 MB, free: 14.07 MB / 314.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.001471/0.005134, allocations: 0.7477 MB / 328.7 MB, free: 13.32 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 4.431e-05/0.005179, allocations: 4 kB / 328.7 MB, free: 13.32 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.045e-05/0.005209, allocations: 4 kB / 328.7 MB, free: 13.31 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.337e-05/0.005232, allocations: 0 / 328.7 MB, free: 13.31 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.493e-05/0.005247, allocations: 4 kB / 328.7 MB, free: 13.31 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 6.582e-06/0.005254, allocations: 0 / 328.7 MB, free: 13.31 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001501/0.006755, allocations: 1.622 MB / 330.3 MB, free: 11.68 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 7.294e-06/0.006762, allocations: 0 / 330.3 MB, free: 11.68 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 1.181e-05/0.006774, allocations: 4 kB / 330.3 MB, free: 11.68 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001344/0.008117, allocations: 1.871 MB / 332.2 MB, free: 9.805 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.00812, allocations: 4 kB / 332.2 MB, free: 9.801 MB / 314.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.008121, allocations: 4 kB / 332.2 MB, free: 9.797 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.607e-06/0.008125, allocations: 0 / 332.2 MB, free: 9.797 MB / 314.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.0004155/0.00854, allocations: 337.7 kB / 332.5 MB, free: 9.438 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.648e-05/0.008567, allocations: 8.031 kB / 332.5 MB, free: 9.43 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.106e-05/0.008588, allocations: 4.938 kB / 332.5 MB, free: 9.426 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.923e-05/0.008637, allocations: 101.8 kB / 332.6 MB, free: 9.301 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.354e-06/0.008644, allocations: 384 / 332.6 MB, free: 9.301 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.809e-06/0.008649, allocations: 4.312 kB / 332.6 MB, free: 9.297 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.76e-05/0.008717, allocations: 59.95 kB / 332.7 MB, free: 9.227 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.008725, allocations: 3.938 kB / 332.7 MB, free: 9.223 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.169e-06/0.00873, allocations: 4 kB / 332.7 MB, free: 9.219 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.008735, allocations: 0 / 332.7 MB, free: 9.219 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.927e-05/0.008755, allocations: 29.7 kB / 332.7 MB, free: 9.184 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.726e-05/0.008822, allocations: 57.05 kB / 332.8 MB, free: 9.113 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.715e-05/0.008859, allocations: 44.31 kB / 332.8 MB, free: 9.055 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.41e-05/0.008873, allocations: 34.5 kB / 332.9 MB, free: 9.012 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.546e-06/0.008877, allocations: 4.062 kB / 332.9 MB, free: 9.008 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.815e-05/0.008905, allocations: 60.25 kB / 332.9 MB, free: 8.934 MB / 314.7 MB Notification: Performance of pre-optimization done (n=1): time 8.41e-07/0.008906, allocations: 3.938 kB / 332.9 MB, free: 8.93 MB / 314.7 MB Notification: Performance of matching and sorting (n=1): time 8.854e-05/0.008994, allocations: 110.8 kB / 333 MB, free: 8.797 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.696e-05/0.009021, allocations: 85.05 kB / 333.1 MB, free: 8.695 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.945e-05/0.009051, allocations: 89.86 kB / 333.2 MB, free: 8.598 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.314e-06/0.009058, allocations: 25.7 kB / 333.2 MB, free: 8.566 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.177e-05/0.00908, allocations: 84.12 kB / 333.3 MB, free: 8.48 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.15e-05/0.009091, allocations: 352 / 333.3 MB, free: 8.48 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.952e-05/0.009111, allocations: 17.72 kB / 333.3 MB, free: 8.457 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.819e-05/0.009179, allocations: 314.8 kB / 333.6 MB, free: 8.141 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.063e-05/0.00919, allocations: 33.64 kB / 333.7 MB, free: 8.102 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.055e-05/0.0092, allocations: 25.7 kB / 333.7 MB, free: 8.07 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.343e-05/0.009234, allocations: 64.45 kB / 333.8 MB, free: 7.992 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.009236, allocations: 3.984 kB / 333.8 MB, free: 7.988 MB / 314.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.317e-05/0.009279, allocations: 81.11 kB / 333.9 MB, free: 7.891 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.358e-05/0.009303, allocations: 33.7 kB / 333.9 MB, free: 7.852 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.898e-06/0.009306, allocations: 0 / 333.9 MB, free: 7.852 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.009322, allocations: 0 / 333.9 MB, free: 7.852 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.32e-07/0.009322, allocations: 0 / 333.9 MB, free: 7.852 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.647e-06/0.009326, allocations: 3.938 kB / 333.9 MB, free: 7.848 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.173e-05/0.009338, allocations: 11.89 kB / 333.9 MB, free: 7.836 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.02e-06/0.009343, allocations: 7.922 kB / 333.9 MB, free: 7.828 MB / 314.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.799e-05/0.009401, allocations: 139.6 kB / 334 MB, free: 7.676 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.799e-06/0.009406, allocations: 4 kB / 334 MB, free: 7.672 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.304e-06/0.009413, allocations: 3 kB / 334.1 MB, free: 7.672 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-06/0.009414, allocations: 0 / 334.1 MB, free: 7.672 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.253e-06/0.009415, allocations: 0 / 334.1 MB, free: 7.672 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.009418, allocations: 3.938 kB / 334.1 MB, free: 7.668 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.87e-05/0.009457, allocations: 65.89 kB / 334.1 MB, free: 7.586 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.5e-07/0.009458, allocations: 4 kB / 334.1 MB, free: 7.582 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.332e-06/0.009459, allocations: 3.984 kB / 334.1 MB, free: 7.578 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.00946, allocations: 0 / 334.1 MB, free: 7.578 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.677e-06/0.009464, allocations: 4 kB / 334.1 MB, free: 7.574 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.81e-07/0.009464, allocations: 0 / 334.1 MB, free: 7.574 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.21e-07/0.009465, allocations: 0 / 334.1 MB, free: 7.574 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.707e-05/0.009522, allocations: 120.5 kB / 334.2 MB, free: 7.426 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.316e-06/0.009525, allocations: 0 / 334.2 MB, free: 7.426 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.456e-06/0.009534, allocations: 3.938 kB / 334.3 MB, free: 7.422 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.349e-06/0.009538, allocations: 3.938 kB / 334.3 MB, free: 7.418 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.665e-06/0.009546, allocations: 4 kB / 334.3 MB, free: 7.414 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.192e-06/0.009547, allocations: 0 / 334.3 MB, free: 7.414 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.07e-06/0.009552, allocations: 4.859 kB / 334.3 MB, free: 7.406 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009552, allocations: 0 / 334.3 MB, free: 7.406 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004463/0.009998, allocations: 295.6 kB / 334.6 MB, free: 7.117 MB / 314.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.0008677/0.01087, allocations: 0.4886 MB / 335 MB, free: 6.645 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 8.023e-05/0.01095, allocations: 115.7 kB / 335.2 MB, free: 6.504 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.01095, allocations: 4 kB / 335.2 MB, free: 6.5 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.7e-05/0.01098, allocations: 81.97 kB / 335.2 MB, free: 6.398 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.299e-05/0.01102, allocations: 4 kB / 335.2 MB, free: 6.395 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001285/0.01115, allocations: 119.9 kB / 335.4 MB, free: 6.242 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.433e-05/0.01117, allocations: 51.48 kB / 335.4 MB, free: 6.172 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.789e-06/0.01118, allocations: 4 kB / 335.4 MB, free: 6.168 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.621e-05/0.0112, allocations: 55.38 kB / 335.5 MB, free: 6.113 MB / 314.7 MB Notification: Performance of SimCode: time 3.71e-07/0.0112, allocations: 0 / 335.5 MB, free: 6.113 MB / 314.7 MB Notification: Performance of Templates: time 0.1319/0.1431, allocations: 9.381 MB / 344.8 MB, free: 25.83 MB / 314.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 -s gbode -gbm=radauIIA3 -emit_protected -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.474561135750264]