Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001725/0.001725, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002234/0.002234, allocations: 209.7 kB / 23.73 MB, free: 4.387 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.544/1.544, allocations: 230.6 MB / 257.5 MB, free: 7.781 MB / 206.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.2309/0.2309, allocations: 44.94 MB / 358.8 MB, free: 6.062 MB / 286.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.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.0.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.0.0_ModelicaTest.Tables.CombiTimeTable.Test75") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002333/0.002333, allocations: 71.89 kB / 0.4936 GB, free: 9.965 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3419/0.3442, allocations: 65.46 MB / 0.5575 GB, free: 7.496 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.005444/0.3496, allocations: 1.877 MB / 0.5594 GB, free: 5.602 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003978/0.3536, allocations: 1.081 MB / 0.5604 GB, free: 4.516 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001621/0.3538, allocations: 3.938 kB / 0.5604 GB, free: 4.512 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000756/0.3545, allocations: 223.4 kB / 0.5606 GB, free: 4.293 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008745/0.3554, allocations: 211.2 kB / 0.5608 GB, free: 4.086 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005502/0.356, allocations: 127.6 kB / 0.5609 GB, free: 3.961 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005841/0.3565, allocations: 255.3 kB / 0.5612 GB, free: 3.711 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001641/0.3567, allocations: 25.95 kB / 0.5612 GB, free: 3.684 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000347/0.3571, allocations: 115.6 kB / 0.5613 GB, free: 3.57 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005089/0.3576, allocations: 171.4 kB / 0.5615 GB, free: 3.402 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.482e-05/0.3576, allocations: 8 kB / 0.5615 GB, free: 3.395 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002349/0.3578, allocations: 63.98 kB / 0.5616 GB, free: 3.332 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001512/0.358, allocations: 63.75 kB / 0.5616 GB, free: 3.27 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001441/0.3581, allocations: 71.42 kB / 0.5617 GB, free: 3.199 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005842/0.3587, allocations: 249.2 kB / 0.5619 GB, free: 2.961 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.499e-05/0.3587, allocations: 8 kB / 0.5619 GB, free: 2.953 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3587, allocations: 0 / 0.5619 GB, free: 2.953 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.15e-05/0.3588, allocations: 0 / 0.5619 GB, free: 2.953 MB / 398.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.001261/0.36, allocations: 0.5002 MB / 0.5624 GB, free: 2.422 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.459e-05/0.3601, allocations: 12.03 kB / 0.5624 GB, free: 2.41 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001133/0.3602, allocations: 28.75 kB / 0.5625 GB, free: 2.383 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006613/0.3608, allocations: 218.5 kB / 0.5627 GB, free: 2.148 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.111e-05/0.3609, allocations: 4.375 kB / 0.5627 GB, free: 2.145 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.694e-05/0.3609, allocations: 16.11 kB / 0.5627 GB, free: 2.129 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005483/0.3615, allocations: 122.2 kB / 0.5628 GB, free: 2 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.57e-05/0.3615, allocations: 0 / 0.5628 GB, free: 2 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.072e-05/0.3615, allocations: 0 / 0.5628 GB, free: 2 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/0.3615, allocations: 3.938 kB / 0.5628 GB, free: 1.996 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002793/0.3618, allocations: 51.95 kB / 0.5629 GB, free: 1.945 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001034/0.3628, allocations: 416.4 kB / 0.5633 GB, free: 1.504 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007038/0.3636, allocations: 125.2 kB / 0.5634 GB, free: 1.363 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002141/0.3638, allocations: 45.81 kB / 0.5634 GB, free: 1.312 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.221e-05/0.3638, allocations: 4 kB / 0.5634 GB, free: 1.309 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004089/0.3642, allocations: 120.9 kB / 0.5635 GB, free: 1.176 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 2.685e-06/0.3642, allocations: 4 kB / 0.5635 GB, free: 1.172 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.002584/0.3668, allocations: 0.5127 MB / 0.564 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001039/0.3669, allocations: 89.03 kB / 0.5641 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009274/0.3678, allocations: 452.5 kB / 0.5646 GB, free: 92 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.138e-05/0.3679, allocations: 37.7 kB / 0.5646 GB, free: 48 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002231/0.3681, allocations: 164.5 kB / 0.5648 GB, free: 15.88 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001306/0.3682, allocations: 75.38 kB / 0.5648 GB, free: 15.8 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001292/0.3683, allocations: 41.7 kB / 0.5649 GB, free: 15.76 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002788/0.3686, allocations: 346.8 kB / 0.5652 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002598/0.3689, allocations: 55.97 kB / 0.5652 GB, free: 15.36 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003081/0.3692, allocations: 95.34 kB / 0.5653 GB, free: 15.25 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005687/0.3698, allocations: 167.5 kB / 0.5655 GB, free: 15.07 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.3698, allocations: 4 kB / 0.5655 GB, free: 15.07 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0008047/0.3706, allocations: 237.3 kB / 0.5657 GB, free: 14.83 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.083e-05/0.3706, allocations: 6.812 kB / 0.5657 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.079e-05/0.3706, allocations: 7.938 kB / 0.5657 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/0.3706, allocations: 0 / 0.5657 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003117/0.3709, allocations: 47.97 kB / 0.5658 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.509e-05/0.3709, allocations: 3.938 kB / 0.5658 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001683/0.3711, allocations: 7.953 kB / 0.5658 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.003e-05/0.3711, allocations: 16.06 kB / 0.5658 GB, free: 14.75 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.000295/0.3714, allocations: 166.3 kB / 0.566 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001043/0.3715, allocations: 31.81 kB / 0.566 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001051/0.3726, allocations: 288.9 kB / 0.5663 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/0.3726, allocations: 0 / 0.5663 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/0.3726, allocations: 0 / 0.5663 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.3726, allocations: 4 kB / 0.5663 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00203/0.3746, allocations: 0.6917 MB / 0.567 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.686e-06/0.3747, allocations: 4 kB / 0.567 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002028/0.3749, allocations: 31.92 kB / 0.567 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.099e-05/0.3749, allocations: 4 kB / 0.567 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.326e-05/0.3749, allocations: 8 kB / 0.567 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.185e-05/0.3749, allocations: 7.984 kB / 0.567 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.3749, allocations: 0 / 0.567 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001026/0.3759, allocations: 443.5 kB / 0.5674 GB, free: 12.99 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000101/0.376, allocations: 39.75 kB / 0.5675 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.587e-05/0.3761, allocations: 12.12 kB / 0.5675 GB, free: 12.94 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003118/0.3764, allocations: 4 kB / 0.5675 GB, free: 12.94 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.49e-05/0.3765, allocations: 23.91 kB / 0.5675 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.846e-05/0.3766, allocations: 11.98 kB / 0.5675 GB, free: 12.9 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006483/0.3772, allocations: 339 kB / 0.5678 GB, free: 12.57 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.3772, allocations: 0 / 0.5678 GB, free: 12.57 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007069/0.3779, allocations: 55.92 kB / 0.5679 GB, free: 12.52 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 (24): * Single equations (assignments): 20 * 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.003604/0.3815, allocations: 0.5437 MB / 0.5684 GB, free: 12.21 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007466/0.3823, allocations: 159.8 kB / 0.5686 GB, free: 12.05 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.845e-06/0.3823, allocations: 4 kB / 0.5686 GB, free: 12.05 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003342/0.3826, allocations: 79.83 kB / 0.5687 GB, free: 11.97 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001046/0.3837, allocations: 65.75 kB / 0.5687 GB, free: 11.91 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001809/0.3855, allocations: 0.5744 MB / 0.5693 GB, free: 11.3 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003368/0.3858, allocations: 174.5 kB / 0.5695 GB, free: 11.11 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002446/0.3861, allocations: 41.92 kB / 0.5695 GB, free: 11.07 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001213/0.3862, allocations: 27.42 kB / 0.5695 GB, free: 11.04 MB / 414.1 MB Notification: Performance of SimCode: time 6.11e-07/0.3862, allocations: 0 / 0.5695 GB, free: 11.04 MB / 414.1 MB Notification: Performance of Templates: time 0.0151/0.4013, allocations: 3.547 MB / 0.573 GB, free: 7.543 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test75/Test75.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.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: 5.341585475951433]