Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.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.001105/0.001105, allocations: 80.31 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.001442/0.001442, allocations: 167 kB / 25.61 MB, free: 8.602 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 1.006/1.006, allocations: 177.1 MB / 206 MB, free: 4.512 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.1571/0.1571, allocations: 32.8 MB / 295.4 MB, free: 15.38 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.CombiTable1Ds.Test3,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.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test3,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.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.954e-06/1.954e-06, allocations: 0 / 377.3 MB, free: 25.56 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.786e-05/2.982e-05, allocations: 6.141 kB / 377.3 MB, free: 25.55 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test3): time 0.003341/0.003371, allocations: 1.644 MB / 378.9 MB, free: 23.9 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001141/0.004512, allocations: 0.5297 MB / 379.5 MB, free: 23.37 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.694e-05/0.004609, allocations: 0 / 379.5 MB, free: 23.37 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003484/0.004958, allocations: 83.64 kB / 379.5 MB, free: 23.29 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003778/0.005336, allocations: 107.5 kB / 379.6 MB, free: 23.18 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003299/0.005666, allocations: 83.7 kB / 379.7 MB, free: 23.1 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002051/0.005871, allocations: 87.75 kB / 379.8 MB, free: 23.01 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001166/0.005987, allocations: 11.98 kB / 379.8 MB, free: 23 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.156e-05/0.006069, allocations: 47.83 kB / 379.9 MB, free: 22.95 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001085/0.006177, allocations: 43.94 kB / 379.9 MB, free: 22.91 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.702e-05/0.006194, allocations: 8 kB / 379.9 MB, free: 22.9 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.884e-05/0.006293, allocations: 39.92 kB / 380 MB, free: 22.86 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.854e-05/0.006352, allocations: 27.86 kB / 380 MB, free: 22.84 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.042e-05/0.006382, allocations: 11.92 kB / 380 MB, free: 22.82 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001928/0.006575, allocations: 99.59 kB / 380.1 MB, free: 22.73 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.006579, allocations: 0 / 380.1 MB, free: 22.73 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.006581, allocations: 4 kB / 380.1 MB, free: 22.72 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.648e-06/0.006586, allocations: 0 / 380.1 MB, free: 22.72 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.0004205/0.007006, allocations: 431.9 kB / 380.5 MB, free: 22.27 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.007046, allocations: 15.98 kB / 380.5 MB, free: 22.25 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.179e-05/0.007088, allocations: 8.891 kB / 380.5 MB, free: 22.24 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00014/0.007228, allocations: 144.4 kB / 380.7 MB, free: 22.07 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.058e-05/0.007239, allocations: 4.375 kB / 380.7 MB, free: 22.07 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.051e-05/0.007259, allocations: 8.312 kB / 380.7 MB, free: 22.06 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001076/0.007367, allocations: 58.95 kB / 380.8 MB, free: 22 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.007377, allocations: 4.125 kB / 380.8 MB, free: 21.99 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.035e-06/0.007385, allocations: 4.125 kB / 380.8 MB, free: 21.99 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.007391, allocations: 0 / 380.8 MB, free: 21.99 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.914e-05/0.00743, allocations: 11.98 kB / 380.8 MB, free: 21.98 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003146/0.007744, allocations: 264.4 kB / 381 MB, free: 21.69 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.15e-05/0.007816, allocations: 39.08 kB / 381.1 MB, free: 21.64 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.881e-05/0.007835, allocations: 19.67 kB / 381.1 MB, free: 21.62 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.89e-05/0.007854, allocations: 4 kB / 381.1 MB, free: 21.61 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.98e-05/0.007873, allocations: 41.33 kB / 381.1 MB, free: 21.56 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 1.343e-06/0.007875, allocations: 0 / 381.1 MB, free: 21.56 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005461/0.008421, allocations: 149.4 kB / 381.3 MB, free: 21.41 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.946e-05/0.00845, allocations: 55.41 kB / 381.3 MB, free: 21.34 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001225/0.008573, allocations: 227.2 kB / 381.6 MB, free: 21.1 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.706e-06/0.008582, allocations: 29.7 kB / 381.6 MB, free: 21.07 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.821e-05/0.00863, allocations: 154.8 kB / 381.7 MB, free: 20.91 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.923e-05/0.008659, allocations: 27.73 kB / 381.8 MB, free: 20.88 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.92e-05/0.008698, allocations: 27.38 kB / 381.8 MB, free: 20.85 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.971e-05/0.008758, allocations: 0.4962 MB / 382.3 MB, free: 20.34 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.835e-05/0.008776, allocations: 15.92 kB / 382.3 MB, free: 20.32 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.853e-05/0.008795, allocations: 8 kB / 382.3 MB, free: 20.32 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.839e-05/0.008843, allocations: 31.66 kB / 382.3 MB, free: 20.28 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.008845, allocations: 3.938 kB / 382.3 MB, free: 20.28 MB / 314.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001026/0.008948, allocations: 65.64 kB / 382.4 MB, free: 20.21 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.008963, allocations: 8 kB / 382.4 MB, free: 20.2 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.008968, allocations: 4 kB / 382.4 MB, free: 20.2 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.067e-05/0.008979, allocations: 0 / 382.4 MB, free: 20.2 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.954e-05/0.009068, allocations: 15.94 kB / 382.4 MB, free: 20.18 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.587e-06/0.009072, allocations: 7.922 kB / 382.4 MB, free: 20.17 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.788e-05/0.0091, allocations: 4 kB / 382.4 MB, free: 20.17 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.302e-06/0.009106, allocations: 0 / 382.4 MB, free: 20.17 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 (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.576e-05/0.009162, allocations: 164.5 kB / 382.6 MB, free: 20 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.228e-05/0.009194, allocations: 11.91 kB / 382.6 MB, free: 19.98 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001397/0.009334, allocations: 79.14 kB / 382.7 MB, free: 19.9 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.009337, allocations: 4.406 kB / 382.7 MB, free: 19.89 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.155e-06/0.009339, allocations: 8 kB / 382.7 MB, free: 19.89 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.009342, allocations: 0 / 382.7 MB, free: 19.89 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002887/0.009631, allocations: 345.6 kB / 383 MB, free: 19.51 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.009634, allocations: 7.938 kB / 383.1 MB, free: 19.5 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.816e-05/0.009692, allocations: 19.97 kB / 383.1 MB, free: 19.48 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.009696, allocations: 4 kB / 383.1 MB, free: 19.48 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.603e-06/0.009703, allocations: 0 / 383.1 MB, free: 19.48 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.009704, allocations: 0 / 383.1 MB, free: 19.48 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.009706, allocations: 480 / 383.1 MB, free: 19.48 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001129/0.009819, allocations: 243.4 kB / 383.3 MB, free: 19.22 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.242e-05/0.009832, allocations: 15.94 kB / 383.3 MB, free: 19.2 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.4e-05/0.009846, allocations: 0 / 383.3 MB, free: 19.2 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.088e-05/0.009906, allocations: 4 kB / 383.3 MB, free: 19.2 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.856e-05/0.009935, allocations: 7.984 kB / 383.3 MB, free: 19.19 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.861e-06/0.009941, allocations: 0 / 383.3 MB, free: 19.19 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.728e-05/0.009998, allocations: 164.1 kB / 383.5 MB, free: 19.03 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009998, allocations: 0 / 383.5 MB, free: 19.03 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002826/0.01028, allocations: 23.94 kB / 383.5 MB, free: 19.01 MB / 314.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.001286/0.01157, allocations: 430.7 kB / 383.9 MB, free: 18.76 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001085/0.01168, allocations: 39.59 kB / 384 MB, free: 18.71 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.083e-06/0.01168, allocations: 0 / 384 MB, free: 18.71 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.152e-05/0.01171, allocations: 31.61 kB / 384 MB, free: 18.68 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003401/0.01205, allocations: 22.83 kB / 384 MB, free: 18.66 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003691/0.01242, allocations: 216.2 kB / 384.3 MB, free: 18.41 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.53e-05/0.01245, allocations: 71.19 kB / 384.3 MB, free: 18.32 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.598e-05/0.0125, allocations: 17.09 kB / 384.3 MB, free: 18.31 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.596e-05/0.01256, allocations: 82.19 kB / 384.4 MB, free: 18.23 MB / 314.7 MB Notification: Performance of SimCode: time 1.092e-06/0.01256, allocations: 0 / 384.4 MB, free: 18.23 MB / 314.7 MB Notification: Performance of Templates: time 0.004112/0.01667, allocations: 1.523 MB / 385.9 MB, free: 16.72 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test3/Test3.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.179895776323974]