Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.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.001286/0.001286, allocations: 84.92 kB / 20.68 MB, free: 1.035 MB / 14.72 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.00144/0.00144, allocations: 164.5 kB / 23.95 MB, free: 4.168 MB / 14.72 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.423/1.423, allocations: 177.1 MB / 204.3 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] 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.1995/0.1995, allocations: 32.81 MB / 293.5 MB, free: 32 kB / 270.1 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.CombiTimeTable.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29") translateModel(ModelicaTest.Tables.CombiTimeTable.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 440.2 MB, free: 8.078 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.103e-05/2.238e-05, allocations: 4.953 kB / 440.2 MB, free: 8.074 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test29): time 0.00293/0.002953, allocations: 1.712 MB / 441.9 MB, free: 6.348 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001822/0.004775, allocations: 0.9781 MB / 442.9 MB, free: 5.363 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.667e-05/0.004851, allocations: 0 / 442.9 MB, free: 5.363 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002564/0.005108, allocations: 31.83 kB / 442.9 MB, free: 5.332 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003532/0.005461, allocations: 99.42 kB / 443 MB, free: 5.234 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002359/0.005697, allocations: 83.59 kB / 443.1 MB, free: 5.152 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001987/0.005895, allocations: 115.6 kB / 443.2 MB, free: 5.039 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.638e-05/0.005992, allocations: 7.984 kB / 443.2 MB, free: 5.031 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001091/0.006101, allocations: 51.84 kB / 443.2 MB, free: 4.98 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.103e-05/0.006182, allocations: 23.91 kB / 443.3 MB, free: 4.957 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.061e-05/0.006202, allocations: 8 kB / 443.3 MB, free: 4.949 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001039/0.006306, allocations: 43.92 kB / 443.3 MB, free: 4.906 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.787e-05/0.006364, allocations: 19.86 kB / 443.3 MB, free: 4.887 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.7e-05/0.006411, allocations: 23.91 kB / 443.4 MB, free: 4.863 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002158/0.006627, allocations: 115.6 kB / 443.5 MB, free: 4.75 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.00663, allocations: 0 / 443.5 MB, free: 4.75 MB / 366.1 MB Notification: Performance of FrontEnd: time 6.81e-07/0.006631, allocations: 4 kB / 443.5 MB, free: 4.746 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.386e-06/0.006639, allocations: 0 / 443.5 MB, free: 4.746 MB / 366.1 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.0005512/0.00719, allocations: 349.5 kB / 443.8 MB, free: 4.375 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.305e-05/0.007223, allocations: 8.031 kB / 443.8 MB, free: 4.367 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.306e-05/0.007266, allocations: 16.84 kB / 443.8 MB, free: 4.352 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002234/0.00749, allocations: 154.3 kB / 444 MB, free: 4.176 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.366e-06/0.007498, allocations: 384 / 444 MB, free: 4.176 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.555e-05/0.007524, allocations: 12.3 kB / 444 MB, free: 4.164 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001451/0.007669, allocations: 54.23 kB / 444.1 MB, free: 4.105 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.007681, allocations: 3.938 kB / 444.1 MB, free: 4.102 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.498e-06/0.00769, allocations: 8 kB / 444.1 MB, free: 4.094 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.007695, allocations: 0 / 444.1 MB, free: 4.094 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.104e-05/0.007776, allocations: 19.98 kB / 444.1 MB, free: 4.074 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004135/0.008189, allocations: 232.6 kB / 444.3 MB, free: 3.816 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001807/0.00837, allocations: 58.61 kB / 444.4 MB, free: 3.75 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.648e-05/0.008426, allocations: 24.73 kB / 444.4 MB, free: 3.723 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.008e-05/0.008437, allocations: 4 kB / 444.4 MB, free: 3.719 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001594/0.008596, allocations: 67.38 kB / 444.5 MB, free: 3.641 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.583e-06/0.008597, allocations: 8 kB / 444.5 MB, free: 3.633 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005972/0.009195, allocations: 185.3 kB / 444.7 MB, free: 3.445 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.113e-05/0.009236, allocations: 55.41 kB / 444.7 MB, free: 3.379 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002052/0.009441, allocations: 198.2 kB / 444.9 MB, free: 3.176 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.231e-05/0.009463, allocations: 29.7 kB / 444.9 MB, free: 3.141 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.729e-05/0.009531, allocations: 104.1 kB / 445 MB, free: 3.035 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.322e-05/0.009564, allocations: 27.78 kB / 445.1 MB, free: 3.008 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.632e-05/0.00961, allocations: 25.7 kB / 445.1 MB, free: 2.977 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001364/0.009747, allocations: 322.8 kB / 445.4 MB, free: 2.652 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.407e-05/0.009811, allocations: 23.98 kB / 445.4 MB, free: 2.629 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.937e-05/0.00989, allocations: 45.64 kB / 445.5 MB, free: 2.578 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001278/0.01002, allocations: 61.66 kB / 445.5 MB, free: 2.512 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.01002, allocations: 3.984 kB / 445.5 MB, free: 2.508 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002008/0.01022, allocations: 101.5 kB / 445.6 MB, free: 2.402 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/0.01023, allocations: 4 kB / 445.6 MB, free: 2.398 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.01024, allocations: 0 / 445.6 MB, free: 2.398 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.01025, allocations: 0 / 445.6 MB, free: 2.398 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.953e-05/0.01034, allocations: 19.98 kB / 445.7 MB, free: 2.379 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.01034, allocations: 4.031 kB / 445.7 MB, free: 2.375 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.621e-05/0.01039, allocations: 8.312 kB / 445.7 MB, free: 2.367 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.693e-06/0.0104, allocations: 4 kB / 445.7 MB, free: 2.363 MB / 366.1 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 0.0001049/0.0105, allocations: 134.4 kB / 445.8 MB, free: 2.223 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.501e-05/0.01053, allocations: 11.94 kB / 445.8 MB, free: 2.211 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002664/0.01079, allocations: 127.1 kB / 445.9 MB, free: 2.078 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.0108, allocations: 4 kB / 445.9 MB, free: 2.074 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.776e-06/0.0108, allocations: 0 / 445.9 MB, free: 2.074 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.0108, allocations: 0 / 445.9 MB, free: 2.074 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004585/0.01126, allocations: 355.2 kB / 446.3 MB, free: 1.688 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.01126, allocations: 0 / 446.3 MB, free: 1.688 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.24e-05/0.01131, allocations: 12 kB / 446.3 MB, free: 1.676 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.01131, allocations: 7.922 kB / 446.3 MB, free: 1.668 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.828e-06/0.01132, allocations: 0 / 446.3 MB, free: 1.668 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.01132, allocations: 0 / 446.3 MB, free: 1.668 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.01132, allocations: 4 kB / 446.3 MB, free: 1.664 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002765/0.0116, allocations: 208.2 kB / 446.5 MB, free: 1.441 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.949e-05/0.01162, allocations: 11.91 kB / 446.5 MB, free: 1.43 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.973e-05/0.01165, allocations: 11.98 kB / 446.5 MB, free: 1.418 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.173e-05/0.01172, allocations: 4.031 kB / 446.5 MB, free: 1.414 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.455e-05/0.01176, allocations: 7.984 kB / 446.6 MB, free: 1.406 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.581e-05/0.01178, allocations: 4 kB / 446.6 MB, free: 1.402 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001466/0.01193, allocations: 160.2 kB / 446.7 MB, free: 1.246 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.01193, allocations: 0 / 446.7 MB, free: 1.246 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002833/0.01221, allocations: 23.94 kB / 446.7 MB, free: 1.223 MB / 366.1 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.001818/0.01403, allocations: 0.4892 MB / 447.2 MB, free: 0.9453 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001938/0.01422, allocations: 59.97 kB / 447.3 MB, free: 0.8867 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.01422, allocations: 0 / 447.3 MB, free: 0.8867 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.939e-05/0.0143, allocations: 27.92 kB / 447.3 MB, free: 0.8594 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003479/0.01465, allocations: 38.89 kB / 447.4 MB, free: 0.8242 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004497/0.0151, allocations: 230.1 kB / 447.6 MB, free: 0.5703 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.53e-05/0.0152, allocations: 100.4 kB / 447.7 MB, free: 464 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.168e-05/0.01525, allocations: 16.92 kB / 447.7 MB, free: 440 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.293e-05/0.01529, allocations: 20.48 kB / 447.7 MB, free: 420 kB / 366.1 MB Notification: Performance of SimCode: time 3.01e-07/0.01529, allocations: 4 kB / 447.7 MB, free: 416 kB / 366.1 MB Notification: Performance of Templates: time 0.1569/0.1722, allocations: 1.84 MB / 449.6 MB, free: 21.19 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test29/Test29.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.619863178580999]