Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5.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.0009552/0.0009552, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001085/0.001085, allocations: 160.8 kB / 25.61 MB, free: 8.895 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.907/0.907, allocations: 177.1 MB / 206.1 MB, free: 4.488 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.1531/0.1531, allocations: 34.26 MB / 296.8 MB, free: 13.94 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.CombiTable2Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 3.938 kB / 379.3 MB, free: 23.41 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.259e-05/2.408e-05, allocations: 2.312 kB / 379.3 MB, free: 23.4 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test5): time 0.002168/0.002192, allocations: 1.674 MB / 381 MB, free: 21.71 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006365/0.002828, allocations: 0.5647 MB / 381.5 MB, free: 21.14 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.666e-05/0.002895, allocations: 0 / 381.5 MB, free: 21.14 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000404/0.003299, allocations: 455.1 kB / 382 MB, free: 20.7 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003382/0.003637, allocations: 295.1 kB / 382.3 MB, free: 20.41 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003149/0.003952, allocations: 179.5 kB / 382.5 MB, free: 20.23 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001782/0.00413, allocations: 179.6 kB / 382.6 MB, free: 20.06 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.34e-05/0.004214, allocations: 15.98 kB / 382.6 MB, free: 20.04 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.145e-05/0.004305, allocations: 115.8 kB / 382.8 MB, free: 19.93 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001486/0.004454, allocations: 239.6 kB / 383 MB, free: 19.7 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.381e-05/0.004468, allocations: 4 kB / 383 MB, free: 19.69 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.508e-05/0.004533, allocations: 39.92 kB / 383 MB, free: 19.65 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 6.38e-05/0.004596, allocations: 83.7 kB / 383.1 MB, free: 19.57 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.138e-05/0.004628, allocations: 43.73 kB / 383.2 MB, free: 19.53 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001649/0.004793, allocations: 203.1 kB / 383.4 MB, free: 19.33 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.425e-06/0.004795, allocations: 0 / 383.4 MB, free: 19.33 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.004796, allocations: 0 / 383.4 MB, free: 19.33 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.13e-06/0.004801, allocations: 0 / 383.4 MB, free: 19.33 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004085/0.00521, allocations: 0.697 MB / 384.1 MB, free: 18.59 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.083e-05/0.00524, allocations: 8.031 kB / 384.1 MB, free: 18.59 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.52e-05/0.005286, allocations: 44.66 kB / 384.1 MB, free: 18.54 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000137/0.005423, allocations: 248.8 kB / 384.3 MB, free: 18.27 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.826e-06/0.005431, allocations: 4.375 kB / 384.4 MB, free: 18.27 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.58e-05/0.005447, allocations: 8.375 kB / 384.4 MB, free: 18.26 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.707e-05/0.005534, allocations: 58.88 kB / 384.4 MB, free: 18.2 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.005546, allocations: 192 / 384.4 MB, free: 18.2 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.652e-06/0.005553, allocations: 8.125 kB / 384.4 MB, free: 18.19 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.005558, allocations: 0 / 384.4 MB, free: 18.19 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.146e-05/0.005579, allocations: 8 kB / 384.4 MB, free: 18.18 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002543/0.005834, allocations: 340.3 kB / 384.8 MB, free: 17.82 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001166/0.00595, allocations: 42.98 kB / 384.8 MB, free: 17.77 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.934e-05/0.00597, allocations: 11.67 kB / 384.8 MB, free: 17.75 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.377e-05/0.005984, allocations: 3.938 kB / 384.8 MB, free: 17.75 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.484e-05/0.005998, allocations: 41.39 kB / 384.9 MB, free: 17.7 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 9.31e-07/0.005999, allocations: 0 / 384.9 MB, free: 17.7 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002913/0.006291, allocations: 129.3 kB / 385 MB, free: 17.56 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.093e-05/0.006312, allocations: 55.39 kB / 385 MB, free: 17.5 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000276/0.006588, allocations: 0.604 MB / 385.6 MB, free: 16.88 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.425e-06/0.006596, allocations: 25.7 kB / 385.7 MB, free: 16.84 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001172/0.006713, allocations: 298.7 kB / 386 MB, free: 16.55 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.37e-05/0.006737, allocations: 19.81 kB / 386 MB, free: 16.53 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.317e-05/0.00677, allocations: 23.38 kB / 386 MB, free: 16.5 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.949e-05/0.00685, allocations: 0.5547 MB / 386.6 MB, free: 15.93 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.372e-05/0.006863, allocations: 7.984 kB / 386.6 MB, free: 15.92 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.232e-05/0.006876, allocations: 7.938 kB / 386.6 MB, free: 15.91 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.619e-05/0.006912, allocations: 27.67 kB / 386.6 MB, free: 15.88 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.983e-06/0.006919, allocations: 0 / 386.6 MB, free: 15.88 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.54e-05/0.007014, allocations: 101.5 kB / 386.7 MB, free: 15.78 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.007029, allocations: 4 kB / 386.7 MB, free: 15.77 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.007035, allocations: 3.984 kB / 386.7 MB, free: 15.77 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.095e-05/0.007046, allocations: 4 kB / 386.7 MB, free: 15.77 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.734e-05/0.007104, allocations: 11.98 kB / 386.7 MB, free: 15.75 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.996e-06/0.007106, allocations: 0 / 386.7 MB, free: 15.75 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.53e-05/0.007132, allocations: 8 kB / 386.7 MB, free: 15.75 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.378e-06/0.007136, allocations: 3.938 kB / 386.7 MB, free: 15.74 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.479e-05/0.007191, allocations: 156.6 kB / 386.9 MB, free: 15.58 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.026e-05/0.007221, allocations: 47.66 kB / 386.9 MB, free: 15.53 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001103/0.007332, allocations: 97.16 kB / 387 MB, free: 15.43 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.007335, allocations: 4 kB / 387 MB, free: 15.43 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-06/0.007336, allocations: 0 / 387 MB, free: 15.43 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.007339, allocations: 0 / 387 MB, free: 15.43 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002234/0.007562, allocations: 385.8 kB / 387.4 MB, free: 15.02 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.007563, allocations: 0 / 387.4 MB, free: 15.02 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.905e-05/0.007592, allocations: 12 kB / 387.4 MB, free: 15 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.007594, allocations: 0 / 387.4 MB, free: 15 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.469e-06/0.007599, allocations: 4 kB / 387.4 MB, free: 15 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.0076, allocations: 4 kB / 387.4 MB, free: 15 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.007602, allocations: 0 / 387.4 MB, free: 15 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.03e-05/0.007682, allocations: 239.5 kB / 387.7 MB, free: 14.74 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.037e-05/0.007702, allocations: 39.7 kB / 387.7 MB, free: 14.7 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.361e-05/0.007716, allocations: 256 / 387.7 MB, free: 14.7 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.846e-05/0.007754, allocations: 8 kB / 387.7 MB, free: 14.7 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.139e-05/0.007776, allocations: 0 / 387.7 MB, free: 14.7 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.138e-06/0.00778, allocations: 11.98 kB / 387.7 MB, free: 14.68 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001529/0.007933, allocations: 390.7 kB / 388.1 MB, free: 14.3 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007933, allocations: 0 / 388.1 MB, free: 14.3 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001739/0.008107, allocations: 31.92 kB / 388.1 MB, free: 14.27 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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.0008246/0.008931, allocations: 385.1 kB / 388.5 MB, free: 14.03 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 7.924e-05/0.009011, allocations: 27.67 kB / 388.5 MB, free: 14 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.009012, allocations: 0 / 388.5 MB, free: 14 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.884e-05/0.009031, allocations: 23.61 kB / 388.6 MB, free: 13.97 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002339/0.009265, allocations: 36.69 kB / 388.6 MB, free: 13.94 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004946/0.009759, allocations: 0.575 MB / 389.2 MB, free: 13.34 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.144e-05/0.009821, allocations: 127.1 kB / 389.3 MB, free: 13.2 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.315e-05/0.009854, allocations: 15.84 kB / 389.3 MB, free: 13.18 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.184e-05/0.009896, allocations: 82.19 kB / 389.4 MB, free: 13.1 MB / 314.7 MB Notification: Performance of SimCode: time 7.31e-07/0.009897, allocations: 0 / 389.4 MB, free: 13.1 MB / 314.7 MB Notification: Performance of Templates: time 0.003723/0.01362, allocations: 1.512 MB / 390.9 MB, free: 11.6 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test5/Test5.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: 3.1863171248696744]