Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47.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.0009908/0.0009908, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.001038/0.001038, allocations: 168.7 kB / 24.91 MB, free: 9.191 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.9052/0.9052, allocations: 177.1 MB / 205.3 MB, free: 5.5 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.2683/0.2683, allocations: 34.26 MB / 296.1 MB, free: 0.7188 MB / 266.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.CombiTimeTable.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47") translateModel(ModelicaTest.Tables.CombiTimeTable.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.152e-06/1.152e-06, allocations: 0 / 325.3 MB, free: 7.629 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.272e-05/1.388e-05, allocations: 3.016 kB / 325.3 MB, free: 7.625 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.002105/0.002119, allocations: 1.774 MB / 327.1 MB, free: 5.84 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001165/0.003284, allocations: 1.006 MB / 328.1 MB, free: 4.828 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.743e-05/0.003342, allocations: 0 / 328.1 MB, free: 4.828 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002441/0.003586, allocations: 59.69 kB / 328.2 MB, free: 4.77 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002523/0.003838, allocations: 95.53 kB / 328.3 MB, free: 4.676 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001625/0.004001, allocations: 79.61 kB / 328.3 MB, free: 4.598 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001435/0.004144, allocations: 112.1 kB / 328.4 MB, free: 4.488 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.073e-05/0.004215, allocations: 8 kB / 328.5 MB, free: 4.48 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.518e-05/0.0043, allocations: 59.75 kB / 328.5 MB, free: 4.422 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.764e-05/0.004368, allocations: 27.92 kB / 328.5 MB, free: 4.395 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.42e-05/0.004382, allocations: 4 kB / 328.5 MB, free: 4.391 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.026e-05/0.004452, allocations: 43.92 kB / 328.6 MB, free: 4.348 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.817e-05/0.0045, allocations: 35.84 kB / 328.6 MB, free: 4.312 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.189e-05/0.004532, allocations: 19.92 kB / 328.6 MB, free: 4.293 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001568/0.004689, allocations: 115.5 kB / 328.8 MB, free: 4.18 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.403e-06/0.00469, allocations: 0 / 328.8 MB, free: 4.18 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.004691, allocations: 0 / 328.8 MB, free: 4.18 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.046e-06/0.004694, allocations: 0 / 328.8 MB, free: 4.18 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003344/0.005028, allocations: 345.3 kB / 329.1 MB, free: 3.82 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.831e-05/0.005057, allocations: 12.02 kB / 329.1 MB, free: 3.809 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.816e-05/0.005085, allocations: 12.94 kB / 329.1 MB, free: 3.797 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001309/0.005216, allocations: 158.4 kB / 329.3 MB, free: 3.613 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.588e-05/0.005232, allocations: 8.359 kB / 329.3 MB, free: 3.605 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.584e-05/0.005247, allocations: 384 / 329.3 MB, free: 3.605 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.587e-05/0.005343, allocations: 65.7 kB / 329.3 MB, free: 3.531 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.387e-06/0.005353, allocations: 7.938 kB / 329.3 MB, free: 3.523 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.481e-06/0.005358, allocations: 0 / 329.3 MB, free: 3.523 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.005365, allocations: 0 / 329.3 MB, free: 3.523 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.22e-05/0.005387, allocations: 4 kB / 329.4 MB, free: 3.52 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001977/0.005585, allocations: 173.9 kB / 329.5 MB, free: 3.332 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.667e-05/0.005671, allocations: 89.36 kB / 329.6 MB, free: 3.234 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.022e-05/0.005692, allocations: 16.84 kB / 329.6 MB, free: 3.215 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.027e-06/0.005701, allocations: 0 / 329.6 MB, free: 3.215 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.609e-05/0.005777, allocations: 66.09 kB / 329.7 MB, free: 3.137 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.005778, allocations: 3.938 kB / 329.7 MB, free: 3.133 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002773/0.006055, allocations: 113.5 kB / 329.8 MB, free: 3.016 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.266e-05/0.006088, allocations: 51.41 kB / 329.9 MB, free: 2.953 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001241/0.006212, allocations: 216 kB / 330.1 MB, free: 2.727 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.826e-05/0.00623, allocations: 37.69 kB / 330.1 MB, free: 2.684 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.351e-05/0.006264, allocations: 96.11 kB / 330.2 MB, free: 2.586 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.242e-05/0.006286, allocations: 23.78 kB / 330.2 MB, free: 2.562 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.941e-05/0.006315, allocations: 25.69 kB / 330.2 MB, free: 2.531 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.651e-05/0.006402, allocations: 326.8 kB / 330.6 MB, free: 2.203 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.582e-05/0.006418, allocations: 10.83 kB / 330.6 MB, free: 2.191 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.333e-05/0.006441, allocations: 26.08 kB / 330.6 MB, free: 2.16 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.848e-05/0.00648, allocations: 48.45 kB / 330.6 MB, free: 2.105 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.00648, allocations: 0 / 330.6 MB, free: 2.105 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.53e-05/0.006556, allocations: 80.38 kB / 330.7 MB, free: 2.02 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.738e-06/0.006565, allocations: 10.34 kB / 330.7 MB, free: 2.012 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.326e-06/0.006569, allocations: 0 / 330.7 MB, free: 2.012 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.00658, allocations: 0 / 330.7 MB, free: 2.012 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.998e-05/0.00663, allocations: 15.98 kB / 330.8 MB, free: 1.996 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.755e-06/0.006633, allocations: 0 / 330.8 MB, free: 1.996 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.431e-05/0.006657, allocations: 8 kB / 330.8 MB, free: 1.988 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.759e-06/0.006662, allocations: 0 / 330.8 MB, free: 1.988 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.657e-05/0.006719, allocations: 116.7 kB / 330.9 MB, free: 1.863 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.489e-05/0.006734, allocations: 19.88 kB / 330.9 MB, free: 1.844 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.855e-05/0.006822, allocations: 87.14 kB / 331 MB, free: 1.75 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.006824, allocations: 0 / 331 MB, free: 1.75 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.283e-06/0.006825, allocations: 0 / 331 MB, free: 1.75 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.006828, allocations: 0 / 331 MB, free: 1.75 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001981/0.007026, allocations: 303.5 kB / 331.3 MB, free: 1.426 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.007027, allocations: 0 / 331.3 MB, free: 1.426 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.145e-05/0.007049, allocations: 11.94 kB / 331.3 MB, free: 1.414 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.00705, allocations: 0 / 331.3 MB, free: 1.414 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.541e-06/0.007056, allocations: 4 kB / 331.3 MB, free: 1.41 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.007059, allocations: 4 kB / 331.3 MB, free: 1.406 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.007061, allocations: 8.094 kB / 331.3 MB, free: 1.398 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.497e-05/0.007156, allocations: 219 kB / 331.5 MB, free: 1.164 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.187e-05/0.007168, allocations: 11.91 kB / 331.5 MB, free: 1.148 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.333e-05/0.007181, allocations: 7.938 kB / 331.5 MB, free: 1.141 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.824e-05/0.007219, allocations: 7.984 kB / 331.5 MB, free: 1.133 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.835e-05/0.007238, allocations: 4 kB / 331.5 MB, free: 1.129 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.796e-06/0.007246, allocations: 7.984 kB / 331.6 MB, free: 1.121 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.152e-05/0.007298, allocations: 72.8 kB / 331.6 MB, free: 1.047 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007298, allocations: 0 / 331.6 MB, free: 1.047 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001503/0.007448, allocations: 23.94 kB / 331.7 MB, free: 1.023 MB / 298.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001163/0.008611, allocations: 0.5826 MB / 332.2 MB, free: 0.7422 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.43e-05/0.008685, allocations: 36.78 kB / 332.3 MB, free: 0.7031 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.00869, allocations: 4.062 kB / 332.3 MB, free: 0.6992 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.923e-05/0.008719, allocations: 32.78 kB / 332.3 MB, free: 0.6641 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001617/0.008881, allocations: 34.92 kB / 332.3 MB, free: 0.6328 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003221/0.009203, allocations: 260.2 kB / 332.6 MB, free: 356 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.37e-05/0.009247, allocations: 71.33 kB / 332.7 MB, free: 264 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.317e-05/0.00928, allocations: 17.27 kB / 332.7 MB, free: 248 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.223e-05/0.009342, allocations: 67.38 kB / 332.7 MB, free: 180 kB / 298.7 MB Notification: Performance of SimCode: time 5.81e-07/0.009343, allocations: 4.062 kB / 332.7 MB, free: 176 kB / 298.7 MB Notification: Performance of Templates: time 0.003358/0.0127, allocations: 2.038 MB / 334.8 MB, free: 14.17 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test47/Test47.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.857043273281306]