Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31.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.0007406/0.0007406, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009373/0.001678, 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.0006878/0.0006878, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008491/0.001537, 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 1.022/1.022, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08824/1.11, allocations: 53.65 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.291/0.291, allocations: 34.26 MB / 278.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03973/0.3307, allocations: 13.1 MB / 291.3 MB, free: 7.359 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.Tables.CombiTable1Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 292.6 MB, free: 6.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.11e-05/2.264e-05, allocations: 4.312 kB / 292.7 MB, free: 6.266 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test31): time 0.00234/0.002363, allocations: 1.698 MB / 294.4 MB, free: 4.559 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00078/0.003143, allocations: 0.5491 MB / 294.9 MB, free: 4.004 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.218e-05/0.003195, allocations: 0 / 294.9 MB, free: 4.004 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002251/0.00342, allocations: 159.5 kB / 295.1 MB, free: 3.848 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001994/0.00362, allocations: 139.4 kB / 295.2 MB, free: 3.711 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000213/0.003833, allocations: 108.3 kB / 295.3 MB, free: 3.605 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001464/0.003979, allocations: 99.73 kB / 295.4 MB, free: 3.508 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.584e-05/0.004065, allocations: 15.98 kB / 295.4 MB, free: 3.492 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001056/0.00417, allocations: 83.8 kB / 295.5 MB, free: 3.41 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001053/0.004276, allocations: 59.92 kB / 295.6 MB, free: 3.352 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.351e-05/0.004299, allocations: 7.938 kB / 295.6 MB, free: 3.344 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.913e-05/0.004388, allocations: 47.92 kB / 295.6 MB, free: 3.297 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.309e-05/0.004432, allocations: 19.92 kB / 295.6 MB, free: 3.277 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.89e-05/0.00446, allocations: 11.94 kB / 295.6 MB, free: 3.266 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001509/0.004611, allocations: 99.61 kB / 295.7 MB, free: 3.168 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.512e-05/0.004626, allocations: 3.938 kB / 295.7 MB, free: 3.164 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.004627, allocations: 0 / 295.7 MB, free: 3.164 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.469e-05/0.004642, allocations: 4 kB / 295.7 MB, free: 3.16 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004172/0.005059, allocations: 360.8 kB / 296.1 MB, free: 2.785 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.212e-05/0.005091, allocations: 8.031 kB / 296.1 MB, free: 2.777 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.341e-05/0.005125, allocations: 12.92 kB / 296.1 MB, free: 2.766 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000148/0.005273, allocations: 153.5 kB / 296.3 MB, free: 2.59 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.009e-05/0.005283, allocations: 384 / 296.3 MB, free: 2.59 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.127e-05/0.005304, allocations: 8.359 kB / 296.3 MB, free: 2.582 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.873e-05/0.005403, allocations: 58.94 kB / 296.3 MB, free: 2.516 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.005414, allocations: 4.125 kB / 296.3 MB, free: 2.512 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.446e-06/0.005423, allocations: 4.125 kB / 296.3 MB, free: 2.508 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.005428, allocations: 0 / 296.3 MB, free: 2.508 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.864e-05/0.005457, allocations: 16 kB / 296.4 MB, free: 2.492 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004083/0.005865, allocations: 175.1 kB / 296.5 MB, free: 2.305 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.76e-05/0.005923, allocations: 37.38 kB / 296.6 MB, free: 2.258 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.746e-05/0.00594, allocations: 16.8 kB / 296.6 MB, free: 2.238 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.998e-05/0.00596, allocations: 0 / 296.6 MB, free: 2.238 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.055e-05/0.005981, allocations: 34.5 kB / 296.6 MB, free: 2.195 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.005982, allocations: 0 / 296.6 MB, free: 2.195 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004611/0.006443, allocations: 157.6 kB / 296.8 MB, free: 2.035 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.751e-05/0.00647, allocations: 51.41 kB / 296.8 MB, free: 1.973 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001363/0.006606, allocations: 206.9 kB / 297 MB, free: 1.754 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.789e-06/0.006616, allocations: 25.7 kB / 297 MB, free: 1.723 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.32e-05/0.006649, allocations: 100.1 kB / 297.1 MB, free: 1.621 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.641e-05/0.006676, allocations: 31.73 kB / 297.2 MB, free: 1.59 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.919e-05/0.006705, allocations: 21.7 kB / 297.2 MB, free: 1.562 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.681e-05/0.006782, allocations: 326.8 kB / 297.5 MB, free: 1.234 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.403e-05/0.006796, allocations: 11.98 kB / 297.5 MB, free: 1.223 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.093e-05/0.006807, allocations: 7.938 kB / 297.5 MB, free: 1.215 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.724e-05/0.006844, allocations: 31.61 kB / 297.6 MB, free: 1.18 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.006845, allocations: 4 kB / 297.6 MB, free: 1.176 MB / 282.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 6.183e-05/0.006907, allocations: 65.59 kB / 297.6 MB, free: 1.105 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.055e-05/0.006918, allocations: 4 kB / 297.6 MB, free: 1.102 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.006922, allocations: 0 / 297.6 MB, free: 1.102 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.637e-06/0.00693, allocations: 0 / 297.6 MB, free: 1.102 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.729e-05/0.006998, allocations: 19.98 kB / 297.7 MB, free: 1.082 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.036e-06/0.007001, allocations: 0 / 297.7 MB, free: 1.082 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.769e-05/0.007018, allocations: 7.938 kB / 297.7 MB, free: 1.074 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.222e-06/0.007024, allocations: 4 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * 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.034e-05/0.007075, allocations: 108.7 kB / 297.8 MB, free: 0.9531 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.899e-05/0.007094, allocations: 19.92 kB / 297.8 MB, free: 0.9336 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.854e-05/0.007192, allocations: 75.44 kB / 297.9 MB, free: 0.8555 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.007194, allocations: 4 kB / 297.9 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.242e-06/0.007195, allocations: 0 / 297.9 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.007198, allocations: 0 / 297.9 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002172/0.007415, allocations: 263.5 kB / 298.1 MB, free: 0.5664 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.007417, allocations: 0 / 298.1 MB, free: 0.5664 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.68e-05/0.007454, allocations: 19.94 kB / 298.1 MB, free: 0.5469 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.249e-05/0.007466, allocations: 15.89 kB / 298.2 MB, free: 0.5312 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.007468, allocations: 32 / 298.2 MB, free: 0.5312 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.969e-06/0.007473, allocations: 4 kB / 298.2 MB, free: 0.5273 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.007474, allocations: 0 / 298.2 MB, free: 0.5273 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.007476, allocations: 4 kB / 298.2 MB, free: 0.5234 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.631e-05/0.007562, allocations: 164.3 kB / 298.3 MB, free: 352 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.148e-05/0.007574, allocations: 0 / 298.3 MB, free: 352 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.241e-05/0.007606, allocations: 4 kB / 298.3 MB, free: 348 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.9e-05/0.007635, allocations: 19.92 kB / 298.4 MB, free: 328 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.247e-06/0.007639, allocations: 0 / 298.4 MB, free: 328 kB / 282.7 MB Notification: Performance of sorting global known variables: time 5.158e-05/0.00769, allocations: 76.88 kB / 298.4 MB, free: 248 kB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00769, allocations: 0 / 298.4 MB, free: 248 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001358/0.007826, allocations: 27.94 kB / 298.5 MB, free: 220 kB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * 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.001468/0.009294, allocations: 0.6212 MB / 299.1 MB, free: 15.95 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.552e-05/0.00938, allocations: 44.62 kB / 299.1 MB, free: 15.9 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/0.009386, allocations: 4 kB / 299.1 MB, free: 15.9 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.344e-05/0.009409, allocations: 20.84 kB / 299.1 MB, free: 15.88 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001738/0.009583, allocations: 30.42 kB / 299.2 MB, free: 15.85 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004494/0.01003, allocations: 261.2 kB / 299.4 MB, free: 15.56 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.682e-05/0.01008, allocations: 75.33 kB / 299.5 MB, free: 15.47 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.693e-05/0.01012, allocations: 20.77 kB / 299.5 MB, free: 15.45 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.197e-05/0.01017, allocations: 59.38 kB / 299.6 MB, free: 15.39 MB / 298.7 MB Notification: Performance of SimCode: time 5.11e-07/0.01017, allocations: 0 / 299.6 MB, free: 15.39 MB / 298.7 MB Notification: Performance of Templates: time 0.003443/0.01361, allocations: 1.556 MB / 301.1 MB, free: 13.85 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test31/Test31.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: 2.9165025800466537]