Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.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.001594/0.001594, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.001812/0.001812, allocations: 209.8 kB / 24.5 MB, free: 4.133 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.44/1.44, allocations: 230.6 MB / 258.3 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] 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.2244/0.2244, allocations: 46.94 MB / 361.6 MB, free: 4.281 MB / 286.1 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.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75") translateModel(ModelicaTest.Tables.CombiTimeTable.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002207/0.002207, allocations: 55.91 kB / 0.4975 GB, free: 7.352 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.352/0.3542, allocations: 66.03 MB / 0.5619 GB, free: 4.449 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.003654/0.3578, allocations: 1.946 MB / 0.5638 GB, free: 2.488 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002136/0.36, allocations: 1.155 MB / 0.565 GB, free: 1.328 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001093/0.3601, allocations: 7.938 kB / 0.565 GB, free: 1.32 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005245/0.3606, allocations: 219.4 kB / 0.5652 GB, free: 1.105 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005046/0.3611, allocations: 223.2 kB / 0.5654 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002979/0.3614, allocations: 119.6 kB / 0.5655 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003631/0.3618, allocations: 251.3 kB / 0.5658 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000132/0.3619, allocations: 29.94 kB / 0.5658 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001996/0.3621, allocations: 131.5 kB / 0.5659 GB, free: 372 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002428/0.3623, allocations: 167.4 kB / 0.5661 GB, free: 204 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.682e-05/0.3624, allocations: 12 kB / 0.5661 GB, free: 192 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000134/0.3625, allocations: 63.97 kB / 0.5661 GB, free: 128 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001006/0.3626, allocations: 59.77 kB / 0.5662 GB, free: 68 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001176/0.3627, allocations: 99.27 kB / 0.5663 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000359/0.3631, allocations: 241.2 kB / 0.5665 GB, free: 15.74 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.3631, allocations: 0 / 0.5665 GB, free: 15.74 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3631, allocations: 0 / 0.5665 GB, free: 15.74 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.903e-06/0.3631, allocations: 0 / 0.5665 GB, free: 15.74 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008089/0.3639, allocations: 0.508 MB / 0.567 GB, free: 15.2 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.228e-05/0.3639, allocations: 12.03 kB / 0.567 GB, free: 15.19 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.108e-05/0.364, allocations: 28.75 kB / 0.5671 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004181/0.3644, allocations: 226.5 kB / 0.5673 GB, free: 14.92 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.558e-05/0.3644, allocations: 4.375 kB / 0.5673 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.608e-05/0.3645, allocations: 16.12 kB / 0.5673 GB, free: 14.9 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002479/0.3647, allocations: 119.3 kB / 0.5674 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.442e-05/0.3647, allocations: 0 / 0.5674 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/0.3648, allocations: 0 / 0.5674 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/0.3648, allocations: 4 kB / 0.5674 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001297/0.3649, allocations: 43.97 kB / 0.5675 GB, free: 14.72 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006202/0.3655, allocations: 447.8 kB / 0.5679 GB, free: 14.24 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003783/0.3659, allocations: 129.2 kB / 0.568 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001059/0.366, allocations: 41.81 kB / 0.568 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.364e-05/0.366, allocations: 160 / 0.568 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000252/0.3663, allocations: 117.1 kB / 0.5682 GB, free: 13.91 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.373e-06/0.3663, allocations: 0 / 0.5682 GB, free: 13.91 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.00136/0.3676, allocations: 0.5086 MB / 0.5687 GB, free: 13.4 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.757e-05/0.3677, allocations: 85.11 kB / 0.5687 GB, free: 13.3 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005192/0.3682, allocations: 448.5 kB / 0.5692 GB, free: 12.84 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.637e-05/0.3683, allocations: 29.7 kB / 0.5692 GB, free: 12.81 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001236/0.3684, allocations: 160.5 kB / 0.5693 GB, free: 12.64 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.581e-05/0.3685, allocations: 71.42 kB / 0.5694 GB, free: 12.57 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.796e-05/0.3685, allocations: 45.7 kB / 0.5695 GB, free: 12.52 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001716/0.3687, allocations: 342.8 kB / 0.5698 GB, free: 12.18 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001314/0.3688, allocations: 55.92 kB / 0.5698 GB, free: 12.12 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001494/0.369, allocations: 103.3 kB / 0.5699 GB, free: 12.01 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002848/0.3693, allocations: 159.5 kB / 0.5701 GB, free: 11.84 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.183e-06/0.3693, allocations: 0 / 0.5701 GB, free: 11.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004139/0.3697, allocations: 237.3 kB / 0.5703 GB, free: 11.61 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/0.3697, allocations: 11.94 kB / 0.5703 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.3697, allocations: 0 / 0.5703 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.3697, allocations: 4 kB / 0.5703 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000141/0.3699, allocations: 39.92 kB / 0.5704 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.3699, allocations: 4 kB / 0.5704 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.406e-05/0.37, allocations: 15.94 kB / 0.5704 GB, free: 11.53 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.48e-05/0.37, allocations: 8 kB / 0.5704 GB, free: 11.52 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001726/0.3702, allocations: 166.4 kB / 0.5705 GB, free: 11.35 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.016e-05/0.3702, allocations: 39.75 kB / 0.5706 GB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000503/0.3707, allocations: 265 kB / 0.5708 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.3707, allocations: 0 / 0.5708 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.3707, allocations: 4 kB / 0.5708 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.91e-06/0.3707, allocations: 0 / 0.5708 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009785/0.3717, allocations: 0.7145 MB / 0.5715 GB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.3717, allocations: 0 / 0.5715 GB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.53e-05/0.3718, allocations: 35.92 kB / 0.5716 GB, free: 10.23 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/0.3718, allocations: 4 kB / 0.5716 GB, free: 10.23 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.442e-05/0.3718, allocations: 4 kB / 0.5716 GB, free: 10.22 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.3718, allocations: 0 / 0.5716 GB, free: 10.22 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.698e-06/0.3718, allocations: 4 kB / 0.5716 GB, free: 10.22 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005084/0.3723, allocations: 431.8 kB / 0.572 GB, free: 9.77 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.063e-05/0.3724, allocations: 31.95 kB / 0.572 GB, free: 9.738 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.228e-05/0.3724, allocations: 8 kB / 0.572 GB, free: 9.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001362/0.3725, allocations: 15.92 kB / 0.5721 GB, free: 9.715 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.107e-05/0.3726, allocations: 23.91 kB / 0.5721 GB, free: 9.691 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.389e-05/0.3726, allocations: 11.94 kB / 0.5721 GB, free: 9.68 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003475/0.373, allocations: 335 kB / 0.5724 GB, free: 9.352 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.373, allocations: 0 / 0.5724 GB, free: 9.352 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003617/0.3733, allocations: 51.92 kB / 0.5725 GB, free: 9.301 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001955/0.3753, allocations: 0.5176 MB / 0.573 GB, free: 8.992 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004005/0.3757, allocations: 148 kB / 0.5731 GB, free: 8.848 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.3757, allocations: 3.938 kB / 0.5731 GB, free: 8.844 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001592/0.3759, allocations: 75.84 kB / 0.5732 GB, free: 8.77 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005772/0.3764, allocations: 62.27 kB / 0.5732 GB, free: 8.711 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001034/0.3775, allocations: 0.5842 MB / 0.5738 GB, free: 8.082 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004781/0.3779, allocations: 0.7792 MB / 0.5746 GB, free: 7.277 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.003e-05/0.378, allocations: 31.42 kB / 0.5746 GB, free: 7.246 MB / 414.1 MB Notification: Performance of SimCode: time 6.82e-07/0.378, allocations: 0 / 0.5746 GB, free: 7.246 MB / 414.1 MB Notification: Performance of Templates: time 0.006905/0.3849, allocations: 3.773 MB / 0.5783 GB, free: 3.484 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test75/Test75.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,t_new.y[1],d_t_new.y,t_new_2.y[1],d_t_new_2.y,d2_t_new.y,d2_t_new_2.y Variables in the result:d2_t_new.y,d2_t_new_2.y,d_t_new.y,d_t_new_2.y,t_new.y[1],t_new_2.y[1],time [Calling sys.exit(0), Time elapsed: 8.183929962106049]