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.001833/0.001833, allocations: 107.6 kB / 21.19 MB, free: 0.668 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.002219/0.002219, allocations: 207.5 kB / 24.48 MB, free: 3.977 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.471/1.471, allocations: 230.6 MB / 258.2 MB, free: 7.801 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.2355/0.2355, allocations: 44.94 MB / 359.6 MB, free: 6.078 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.00308/0.00308, allocations: 83.86 kB / 0.4943 GB, free: 9.98 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3573/0.3604, allocations: 65.46 MB / 0.5582 GB, free: 7.469 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.003461/0.3638, allocations: 1.718 MB / 0.5599 GB, free: 5.734 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00272/0.3666, allocations: 1.657 MB / 0.5615 GB, free: 4.07 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.789e-05/0.3666, allocations: 7.938 kB / 0.5616 GB, free: 4.062 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003097/0.3669, allocations: 35.83 kB / 0.5616 GB, free: 4.027 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004002/0.3673, allocations: 103.5 kB / 0.5617 GB, free: 3.926 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002101/0.3676, allocations: 79.67 kB / 0.5618 GB, free: 3.848 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001941/0.3677, allocations: 107.6 kB / 0.5619 GB, free: 3.742 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.784e-05/0.3678, allocations: 7.984 kB / 0.5619 GB, free: 3.734 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.158e-05/0.3679, allocations: 47.8 kB / 0.5619 GB, free: 3.688 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001292/0.3681, allocations: 35.83 kB / 0.562 GB, free: 3.652 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.146e-05/0.3681, allocations: 8 kB / 0.562 GB, free: 3.645 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001966/0.3683, allocations: 99.94 kB / 0.5621 GB, free: 3.547 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.443e-05/0.3683, allocations: 27.86 kB / 0.5621 GB, free: 3.52 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.657e-05/0.3684, allocations: 31.8 kB / 0.5621 GB, free: 3.488 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002992/0.3687, allocations: 169.9 kB / 0.5623 GB, free: 3.328 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.3687, allocations: 4 kB / 0.5623 GB, free: 3.324 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.3687, allocations: 0 / 0.5623 GB, free: 3.324 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.13e-06/0.3687, allocations: 0 / 0.5623 GB, free: 3.324 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.0005858/0.3693, allocations: 345.5 kB / 0.5626 GB, free: 2.957 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.3693, allocations: 11.97 kB / 0.5626 GB, free: 2.945 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.207e-05/0.3694, allocations: 12.84 kB / 0.5626 GB, free: 2.934 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003225/0.3697, allocations: 158.8 kB / 0.5628 GB, free: 2.754 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.747e-05/0.3697, allocations: 7.938 kB / 0.5628 GB, free: 2.746 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.296e-05/0.3698, allocations: 4 kB / 0.5628 GB, free: 2.742 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002042/0.37, allocations: 97.09 kB / 0.5629 GB, free: 2.629 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.37, allocations: 0 / 0.5629 GB, free: 2.629 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.304e-05/0.37, allocations: 0 / 0.5629 GB, free: 2.629 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.37, allocations: 0 / 0.5629 GB, free: 2.629 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.163e-05/0.3701, allocations: 27.92 kB / 0.5629 GB, free: 2.602 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003747/0.3704, allocations: 228.5 kB / 0.5631 GB, free: 2.348 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001779/0.3706, allocations: 62.61 kB / 0.5632 GB, free: 2.277 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.08e-05/0.3707, allocations: 24.84 kB / 0.5632 GB, free: 2.25 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.6e-05/0.3707, allocations: 0 / 0.5632 GB, free: 2.25 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001581/0.3709, allocations: 71.33 kB / 0.5633 GB, free: 2.168 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.272e-06/0.3709, allocations: 0 / 0.5633 GB, free: 2.168 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.000569/0.3714, allocations: 185.3 kB / 0.5635 GB, free: 1.98 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.483e-05/0.3715, allocations: 77.11 kB / 0.5635 GB, free: 1.887 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001844/0.3717, allocations: 176 kB / 0.5637 GB, free: 1.703 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.462e-05/0.3717, allocations: 25.7 kB / 0.5637 GB, free: 1.672 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.255e-05/0.3718, allocations: 96.14 kB / 0.5638 GB, free: 1.574 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.42e-05/0.3718, allocations: 35.73 kB / 0.5639 GB, free: 1.539 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.327e-05/0.3718, allocations: 21.72 kB / 0.5639 GB, free: 1.512 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001456/0.372, allocations: 322.8 kB / 0.5642 GB, free: 1.188 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.305e-05/0.3721, allocations: 23.98 kB / 0.5642 GB, free: 1.164 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.8e-05/0.3721, allocations: 68.27 kB / 0.5643 GB, free: 1.082 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001255/0.3723, allocations: 61.64 kB / 0.5643 GB, free: 1.016 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.3723, allocations: 0 / 0.5643 GB, free: 1.016 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001946/0.3725, allocations: 101.6 kB / 0.5644 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.3725, allocations: 15.03 kB / 0.5644 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.3725, allocations: 0 / 0.5644 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.3725, allocations: 0 / 0.5644 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.224e-05/0.3726, allocations: 19.94 kB / 0.5645 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.3726, allocations: 4.156 kB / 0.5645 GB, free: 0.875 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.058e-05/0.3727, allocations: 7.922 kB / 0.5645 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.151e-05/0.3727, allocations: 11.92 kB / 0.5645 GB, free: 0.8555 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.000108/0.3728, allocations: 121.8 kB / 0.5646 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.746e-05/0.3728, allocations: 11.95 kB / 0.5646 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002566/0.3731, allocations: 122.3 kB / 0.5647 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.3731, allocations: 384 / 0.5647 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.3731, allocations: 0 / 0.5647 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/0.3731, allocations: 8.203 kB / 0.5647 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004667/0.3735, allocations: 347 kB / 0.5651 GB, free: 204 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.3735, allocations: 0 / 0.5651 GB, free: 204 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.697e-05/0.3736, allocations: 11.94 kB / 0.5651 GB, free: 192 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.033e-06/0.3736, allocations: 4 kB / 0.5651 GB, free: 188 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.249e-05/0.3736, allocations: 3.938 kB / 0.5651 GB, free: 184 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.3736, allocations: 3.938 kB / 0.5651 GB, free: 180 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.3736, allocations: 8.031 kB / 0.5651 GB, free: 172 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002973/0.3739, allocations: 220.4 kB / 0.5653 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.048e-05/0.3739, allocations: 7.953 kB / 0.5653 GB, free: 15.92 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.764e-05/0.3739, allocations: 7.75 kB / 0.5653 GB, free: 15.92 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.69e-05/0.374, allocations: 4 kB / 0.5653 GB, free: 15.91 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.773e-05/0.3741, allocations: 7.984 kB / 0.5653 GB, free: 15.91 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.713e-05/0.3741, allocations: 4 kB / 0.5653 GB, free: 15.9 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001314/0.3742, allocations: 134.9 kB / 0.5655 GB, free: 15.77 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3742, allocations: 0 / 0.5655 GB, free: 15.77 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003301/0.3745, allocations: 51.83 kB / 0.5655 GB, free: 15.72 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.002083/0.3766, allocations: 0.5802 MB / 0.5661 GB, free: 15.39 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002172/0.3768, allocations: 63.91 kB / 0.5661 GB, free: 15.32 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.3768, allocations: 0 / 0.5661 GB, free: 15.32 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.91e-05/0.3769, allocations: 31.86 kB / 0.5662 GB, free: 15.29 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003595/0.3773, allocations: 39.84 kB / 0.5662 GB, free: 15.26 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005509/0.3778, allocations: 232.4 kB / 0.5664 GB, free: 15 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001118/0.3779, allocations: 81.33 kB / 0.5665 GB, free: 14.89 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.023e-05/0.378, allocations: 23.42 kB / 0.5665 GB, free: 14.87 MB / 414.1 MB Notification: Performance of SimCode: time 4.51e-07/0.378, allocations: 0 / 0.5665 GB, free: 14.87 MB / 414.1 MB Notification: Performance of Templates: time 0.00511/0.3831, allocations: 2.442 MB / 0.5689 GB, free: 12.43 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test57/Test57.csv","/var/lib/jenkins1/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: 8.35747126629576]