Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.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.001817/0.001817, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.00239/0.00239, allocations: 213 kB / 23.73 MB, free: 4.16 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.533/1.533, allocations: 230.6 MB / 257.5 MB, free: 7.816 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.2522/0.2522, allocations: 44.92 MB / 358.8 MB, free: 6.047 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.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57") translateModel(ModelicaTest.Tables.CombiTimeTable.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57") [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.002084/0.002084, allocations: 60.09 kB / 0.4936 GB, free: 9.953 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3637/0.3658, allocations: 65.48 MB / 0.5575 GB, free: 7.434 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.003231/0.369, allocations: 1.72 MB / 0.5592 GB, free: 5.699 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002688/0.3717, allocations: 1.653 MB / 0.5608 GB, free: 4.039 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.459e-05/0.3717, allocations: 0 / 0.5608 GB, free: 4.039 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002851/0.372, allocations: 43.77 kB / 0.5609 GB, free: 3.996 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003466/0.3724, allocations: 99.53 kB / 0.5609 GB, free: 3.898 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002008/0.3726, allocations: 87.66 kB / 0.561 GB, free: 3.812 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002178/0.3728, allocations: 103.7 kB / 0.5611 GB, free: 3.711 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001229/0.3729, allocations: 7.984 kB / 0.5611 GB, free: 3.703 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001065/0.373, allocations: 47.78 kB / 0.5612 GB, free: 3.656 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001523/0.3732, allocations: 43.77 kB / 0.5612 GB, free: 3.613 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.352e-05/0.3732, allocations: 4 kB / 0.5612 GB, free: 3.609 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002216/0.3734, allocations: 103.9 kB / 0.5613 GB, free: 3.508 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.216e-05/0.3735, allocations: 23.91 kB / 0.5613 GB, free: 3.484 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.996e-05/0.3736, allocations: 27.86 kB / 0.5614 GB, free: 3.457 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003551/0.3739, allocations: 173.7 kB / 0.5615 GB, free: 3.293 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/0.3739, allocations: 4 kB / 0.5615 GB, free: 3.289 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.515e-06/0.3739, allocations: 3.938 kB / 0.5615 GB, free: 3.285 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.594e-06/0.3739, allocations: 0 / 0.5615 GB, free: 3.285 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007574/0.3747, allocations: 345.5 kB / 0.5619 GB, free: 2.918 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.797e-05/0.3747, allocations: 12.03 kB / 0.5619 GB, free: 2.906 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.383e-05/0.3748, allocations: 12.84 kB / 0.5619 GB, free: 2.895 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003581/0.3752, allocations: 146.9 kB / 0.562 GB, free: 2.727 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.256e-05/0.3752, allocations: 11.94 kB / 0.5621 GB, free: 2.715 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.327e-05/0.3752, allocations: 0 / 0.5621 GB, free: 2.715 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002617/0.3755, allocations: 97.03 kB / 0.5621 GB, free: 2.602 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.779e-05/0.3755, allocations: 8 kB / 0.5622 GB, free: 2.594 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.526e-05/0.3755, allocations: 0 / 0.5622 GB, free: 2.594 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.002e-06/0.3755, allocations: 0 / 0.5622 GB, free: 2.594 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.815e-05/0.3756, allocations: 27.92 kB / 0.5622 GB, free: 2.566 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004501/0.376, allocations: 228.5 kB / 0.5624 GB, free: 2.312 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002128/0.3763, allocations: 66.59 kB / 0.5625 GB, free: 2.238 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.544e-05/0.3763, allocations: 20.84 kB / 0.5625 GB, free: 2.215 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.929e-05/0.3763, allocations: 0 / 0.5625 GB, free: 2.215 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000193/0.3765, allocations: 75.39 kB / 0.5626 GB, free: 2.129 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.202e-06/0.3765, allocations: 0 / 0.5626 GB, free: 2.129 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006303/0.3772, allocations: 181.3 kB / 0.5627 GB, free: 1.945 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.574e-05/0.3772, allocations: 77.11 kB / 0.5628 GB, free: 1.852 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000213/0.3774, allocations: 179.7 kB / 0.563 GB, free: 1.668 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.599e-05/0.3775, allocations: 29.7 kB / 0.563 GB, free: 1.633 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.593e-05/0.3775, allocations: 96.14 kB / 0.5631 GB, free: 1.535 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.204e-05/0.3776, allocations: 35.72 kB / 0.5631 GB, free: 1.5 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.053e-05/0.3776, allocations: 21.72 kB / 0.5631 GB, free: 1.473 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001733/0.3778, allocations: 318.8 kB / 0.5635 GB, free: 1.152 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.313e-05/0.3779, allocations: 27.98 kB / 0.5635 GB, free: 1.125 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.296e-05/0.378, allocations: 72.2 kB / 0.5635 GB, free: 1.039 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001376/0.3781, allocations: 61.7 kB / 0.5636 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.3781, allocations: 0 / 0.5636 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002018/0.3783, allocations: 101.6 kB / 0.5637 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.3783, allocations: 6.188 kB / 0.5637 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.3783, allocations: 0 / 0.5637 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.3784, allocations: 0 / 0.5637 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.608e-05/0.3784, allocations: 20 kB / 0.5637 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.3785, allocations: 4.062 kB / 0.5637 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.258e-05/0.3785, allocations: 11.92 kB / 0.5637 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.622e-06/0.3785, allocations: 0 / 0.5637 GB, free: 0.8281 MB / 398.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.0001206/0.3786, allocations: 125.8 kB / 0.5639 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.588e-05/0.3787, allocations: 7.953 kB / 0.5639 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002674/0.3789, allocations: 114.4 kB / 0.564 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.3789, allocations: 8.219 kB / 0.564 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.3789, allocations: 0 / 0.564 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.199e-05/0.3789, allocations: 7.922 kB / 0.564 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004731/0.3794, allocations: 350.9 kB / 0.5643 GB, free: 172 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-06/0.3794, allocations: 3.984 kB / 0.5643 GB, free: 168 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.685e-05/0.3795, allocations: 8 kB / 0.5643 GB, free: 160 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.3795, allocations: 0 / 0.5643 GB, free: 160 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.362e-05/0.3795, allocations: 11.88 kB / 0.5644 GB, free: 148 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.3795, allocations: 0 / 0.5644 GB, free: 148 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3795, allocations: 0 / 0.5644 GB, free: 148 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002956/0.3798, allocations: 220.5 kB / 0.5646 GB, free: 15.91 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.126e-05/0.3798, allocations: 11.91 kB / 0.5646 GB, free: 15.9 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.796e-05/0.3798, allocations: 4.312 kB / 0.5646 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.636e-05/0.3799, allocations: 12.03 kB / 0.5646 GB, free: 15.88 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.704e-05/0.3799, allocations: 11.98 kB / 0.5646 GB, free: 15.87 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.842e-05/0.38, allocations: 4 kB / 0.5646 GB, free: 15.87 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001201/0.3801, allocations: 127.2 kB / 0.5647 GB, free: 15.74 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3801, allocations: 0 / 0.5647 GB, free: 15.74 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000302/0.3804, allocations: 47.88 kB / 0.5648 GB, free: 15.7 MB / 414.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.00212/0.3825, allocations: 0.5766 MB / 0.5653 GB, free: 15.36 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000202/0.3827, allocations: 71.83 kB / 0.5654 GB, free: 15.29 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.3827, allocations: 0 / 0.5654 GB, free: 15.29 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.108e-05/0.3828, allocations: 31.92 kB / 0.5654 GB, free: 15.26 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000351/0.3831, allocations: 35.5 kB / 0.5655 GB, free: 15.23 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004706/0.3836, allocations: 206.7 kB / 0.5657 GB, free: 15 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001046/0.3837, allocations: 85.45 kB / 0.5657 GB, free: 14.89 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.806e-05/0.3838, allocations: 20.97 kB / 0.5658 GB, free: 14.88 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.998e-05/0.3838, allocations: 27.36 kB / 0.5658 GB, free: 14.85 MB / 414.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3838, allocations: 0 / 0.5658 GB, free: 14.85 MB / 414.1 MB Notification: Performance of Templates: time 0.006222/0.3901, allocations: 2.522 MB / 0.5683 GB, free: 12.35 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test57/Test57.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.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.303102262318134]