Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.0009839/0.0009839, allocations: 80.41 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.0009569/0.0009569, allocations: 167.6 kB / 25.61 MB, free: 8.902 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.8833/0.8833, allocations: 177.1 MB / 206 MB, free: 4.504 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1461/0.1461, allocations: 32.79 MB / 295.4 MB, free: 15.39 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 377.3 MB, free: 25.61 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.477e-05/1.629e-05, allocations: 6.312 kB / 377.3 MB, free: 25.6 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test5): time 0.00168/0.001696, allocations: 1.677 MB / 379 MB, free: 23.91 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005857/0.002282, allocations: 0.5647 MB / 379.5 MB, free: 23.34 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.179e-05/0.002334, allocations: 0 / 379.5 MB, free: 23.34 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003326/0.002667, allocations: 459 kB / 380 MB, free: 22.89 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002553/0.002922, allocations: 295.2 kB / 380.3 MB, free: 22.6 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002213/0.003143, allocations: 171.5 kB / 380.4 MB, free: 22.43 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001507/0.003294, allocations: 179.6 kB / 380.6 MB, free: 22.26 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.957e-05/0.003373, allocations: 15.98 kB / 380.6 MB, free: 22.24 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.39e-05/0.003447, allocations: 119.8 kB / 380.7 MB, free: 22.12 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001354/0.003583, allocations: 247.6 kB / 381 MB, free: 21.88 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.229e-05/0.003595, allocations: 0 / 381 MB, free: 21.88 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.524e-05/0.00365, allocations: 35.92 kB / 381 MB, free: 21.85 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 6.016e-05/0.00371, allocations: 87.7 kB / 381.1 MB, free: 21.76 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.68e-05/0.003737, allocations: 39.73 kB / 381.1 MB, free: 21.72 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001518/0.003889, allocations: 199.1 kB / 381.3 MB, free: 21.53 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.302e-06/0.00389, allocations: 0 / 381.3 MB, free: 21.53 MB / 314.7 MB Notification: Performance of FrontEnd: time 4.81e-07/0.003891, allocations: 4 kB / 381.3 MB, free: 21.52 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.003895, allocations: 0 / 381.3 MB, free: 21.52 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.0003548/0.00425, allocations: 0.7009 MB / 382 MB, free: 20.79 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.641e-05/0.004276, allocations: 15.97 kB / 382 MB, free: 20.77 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.877e-05/0.004315, allocations: 44.66 kB / 382.1 MB, free: 20.73 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001275/0.004443, allocations: 248.8 kB / 382.3 MB, free: 20.46 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.817e-06/0.004451, allocations: 4.375 kB / 382.3 MB, free: 20.45 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.541e-05/0.004467, allocations: 384 / 382.3 MB, free: 20.45 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.2e-05/0.004539, allocations: 62.94 kB / 382.4 MB, free: 20.38 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.004547, allocations: 192 / 382.4 MB, free: 20.38 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.272e-06/0.004553, allocations: 8.125 kB / 382.4 MB, free: 20.38 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.004558, allocations: 0 / 382.4 MB, free: 20.38 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2e-05/0.004578, allocations: 11.97 kB / 382.4 MB, free: 20.36 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002182/0.004796, allocations: 340.2 kB / 382.8 MB, free: 20 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001062/0.004903, allocations: 43.05 kB / 382.8 MB, free: 19.95 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.232e-05/0.004915, allocations: 11.62 kB / 382.8 MB, free: 19.93 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.369e-05/0.004929, allocations: 7.938 kB / 382.8 MB, free: 19.93 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.379e-05/0.004942, allocations: 33.39 kB / 382.8 MB, free: 19.88 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 8.42e-07/0.004943, allocations: 0 / 382.8 MB, free: 19.88 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002418/0.005185, allocations: 125.3 kB / 383 MB, free: 19.75 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.985e-05/0.005205, allocations: 55.41 kB / 383 MB, free: 19.69 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000242/0.005447, allocations: 0.6001 MB / 383.6 MB, free: 19.07 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.661e-06/0.005453, allocations: 29.7 kB / 383.7 MB, free: 19.04 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001012/0.005554, allocations: 306.7 kB / 384 MB, free: 18.73 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.439e-05/0.005568, allocations: 11.84 kB / 384 MB, free: 18.72 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.358e-05/0.005592, allocations: 27.38 kB / 384 MB, free: 18.68 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.455e-05/0.005666, allocations: 0.5586 MB / 384.5 MB, free: 18.11 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.548e-06/0.005676, allocations: 4 kB / 384.6 MB, free: 18.11 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.719e-06/0.005686, allocations: 4 kB / 384.6 MB, free: 18.11 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.576e-05/0.005711, allocations: 19.67 kB / 384.6 MB, free: 18.08 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.005712, allocations: 4 kB / 384.6 MB, free: 18.08 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.446e-05/0.005777, allocations: 97.31 kB / 384.7 MB, free: 17.98 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.929e-06/0.005786, allocations: 9.875 kB / 384.7 MB, free: 17.97 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.005791, allocations: 3.984 kB / 384.7 MB, free: 17.96 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.276e-06/0.005799, allocations: 0 / 384.7 MB, free: 17.96 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.572e-05/0.005835, allocations: 11.94 kB / 384.7 MB, free: 17.95 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.465e-06/0.005838, allocations: 0 / 384.7 MB, free: 17.95 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.203e-05/0.00586, allocations: 4.25 kB / 384.7 MB, free: 17.95 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.66e-06/0.005865, allocations: 7.984 kB / 384.7 MB, free: 17.94 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 4.873e-05/0.005914, allocations: 152.6 kB / 384.9 MB, free: 17.78 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.689e-05/0.005941, allocations: 51.66 kB / 384.9 MB, free: 17.73 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.186e-05/0.006033, allocations: 97.17 kB / 385 MB, free: 17.63 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.006035, allocations: 4 kB / 385 MB, free: 17.62 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.242e-06/0.006037, allocations: 0 / 385 MB, free: 17.62 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.006039, allocations: 288 / 385 MB, free: 17.62 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00022/0.006259, allocations: 389.8 kB / 385.4 MB, free: 17.21 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.21e-07/0.00626, allocations: 0 / 385.4 MB, free: 17.21 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.529e-05/0.006285, allocations: 8 kB / 385.4 MB, free: 17.2 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.006287, allocations: 3.984 kB / 385.4 MB, free: 17.2 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.49e-06/0.006293, allocations: 7.984 kB / 385.4 MB, free: 17.19 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.31e-07/0.006294, allocations: 4 kB / 385.4 MB, free: 17.19 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.006294, allocations: 3.938 kB / 385.4 MB, free: 17.18 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.623e-05/0.006361, allocations: 247.5 kB / 385.7 MB, free: 16.92 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.833e-05/0.006379, allocations: 31.72 kB / 385.7 MB, free: 16.89 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.218e-05/0.006391, allocations: 0 / 385.7 MB, free: 16.89 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.479e-05/0.006426, allocations: 4 kB / 385.7 MB, free: 16.89 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.993e-05/0.006446, allocations: 3.984 kB / 385.7 MB, free: 16.88 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.256e-06/0.006449, allocations: 4 kB / 385.7 MB, free: 16.88 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001284/0.006577, allocations: 390.7 kB / 386.1 MB, free: 16.5 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.006578, allocations: 0 / 386.1 MB, free: 16.5 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001499/0.006727, allocations: 24 kB / 386.1 MB, free: 16.48 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.0008735/0.007601, allocations: 387.5 kB / 386.5 MB, free: 16.23 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001284/0.007729, allocations: 39.61 kB / 386.5 MB, free: 16.19 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.007731, allocations: 4 kB / 386.5 MB, free: 16.19 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.898e-05/0.00775, allocations: 15.69 kB / 386.5 MB, free: 16.17 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002573/0.008008, allocations: 38.72 kB / 386.6 MB, free: 16.14 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000554/0.008562, allocations: 0.5686 MB / 387.1 MB, free: 15.54 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.057e-05/0.008612, allocations: 127.1 kB / 387.3 MB, free: 15.39 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.426e-05/0.008647, allocations: 7.859 kB / 387.3 MB, free: 15.39 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.777e-05/0.008694, allocations: 86.19 kB / 387.4 MB, free: 15.3 MB / 314.7 MB Notification: Performance of SimCode: time 1.332e-06/0.008696, allocations: 0 / 387.4 MB, free: 15.3 MB / 314.7 MB Notification: Performance of Templates: time 0.003596/0.01229, allocations: 1.517 MB / 388.9 MB, free: 13.79 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.1448131897486746]