Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.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.001606/0.001606, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.002116/0.002116, allocations: 213.2 kB / 24.48 MB, free: 3.84 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.52/1.52, allocations: 230.6 MB / 258.2 MB, free: 7.809 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.2323/0.2323, allocations: 44.94 MB / 359.6 MB, free: 6.039 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.Test33,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.Test33") translateModel(ModelicaTest.Tables.CombiTimeTable.Test33,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.Test33") [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.002065/0.002065, allocations: 70.55 kB / 0.4943 GB, free: 9.961 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3611/0.3632, allocations: 65.47 MB / 0.5583 GB, free: 7.457 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test33): time 0.003575/0.3668, allocations: 1.718 MB / 0.5599 GB, free: 5.723 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001894/0.3687, allocations: 0.9676 MB / 0.5609 GB, free: 4.75 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.954e-05/0.3688, allocations: 0 / 0.5609 GB, free: 4.75 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003179/0.3691, allocations: 43.77 kB / 0.5609 GB, free: 4.707 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000355/0.3694, allocations: 95.53 kB / 0.561 GB, free: 4.613 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002227/0.3696, allocations: 83.66 kB / 0.5611 GB, free: 4.531 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001941/0.3698, allocations: 103.7 kB / 0.5612 GB, free: 4.43 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.3699, allocations: 4 kB / 0.5612 GB, free: 4.426 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.24e-05/0.37, allocations: 43.8 kB / 0.5612 GB, free: 4.383 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.599e-05/0.3701, allocations: 31.83 kB / 0.5613 GB, free: 4.352 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.859e-05/0.3701, allocations: 8 kB / 0.5613 GB, free: 4.344 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001045/0.3702, allocations: 43.92 kB / 0.5613 GB, free: 4.301 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.01e-05/0.3703, allocations: 27.91 kB / 0.5613 GB, free: 4.273 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.719e-05/0.3704, allocations: 23.81 kB / 0.5614 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002544/0.3706, allocations: 129.8 kB / 0.5615 GB, free: 4.129 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.3706, allocations: 0 / 0.5615 GB, free: 4.129 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.435e-06/0.3706, allocations: 0 / 0.5615 GB, free: 4.129 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.3706, allocations: 0 / 0.5615 GB, free: 4.129 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.0006026/0.3712, allocations: 349.5 kB / 0.5618 GB, free: 3.758 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.3713, allocations: 8.031 kB / 0.5618 GB, free: 3.75 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.832e-05/0.3713, allocations: 12.89 kB / 0.5618 GB, free: 3.738 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003032/0.3716, allocations: 159 kB / 0.562 GB, free: 3.559 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.42e-05/0.3717, allocations: 384 / 0.562 GB, free: 3.559 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.476e-05/0.3717, allocations: 4.125 kB / 0.562 GB, free: 3.555 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001578/0.3718, allocations: 61.61 kB / 0.5621 GB, free: 3.488 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.3718, allocations: 0 / 0.5621 GB, free: 3.488 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.3719, allocations: 0 / 0.5621 GB, free: 3.488 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.3719, allocations: 0 / 0.5621 GB, free: 3.488 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.335e-05/0.3719, allocations: 23.98 kB / 0.5621 GB, free: 3.465 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000386/0.3723, allocations: 232.5 kB / 0.5623 GB, free: 3.207 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001873/0.3725, allocations: 66.66 kB / 0.5624 GB, free: 3.133 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.84e-05/0.3726, allocations: 20.84 kB / 0.5624 GB, free: 3.109 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.617e-05/0.3726, allocations: 0 / 0.5624 GB, free: 3.109 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001619/0.3728, allocations: 75.27 kB / 0.5625 GB, free: 3.023 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.373e-06/0.3728, allocations: 0 / 0.5625 GB, free: 3.023 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006047/0.3734, allocations: 185.3 kB / 0.5626 GB, free: 2.836 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.173e-05/0.3734, allocations: 51.41 kB / 0.5627 GB, free: 2.773 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002196/0.3736, allocations: 202.3 kB / 0.5629 GB, free: 2.566 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.192e-05/0.3737, allocations: 25.7 kB / 0.5629 GB, free: 2.535 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.867e-05/0.3737, allocations: 112.1 kB / 0.563 GB, free: 2.422 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.058e-05/0.3738, allocations: 31.77 kB / 0.563 GB, free: 2.391 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.627e-05/0.3738, allocations: 21.72 kB / 0.5631 GB, free: 2.363 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001734/0.374, allocations: 330.8 kB / 0.5634 GB, free: 2.031 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.029e-05/0.3741, allocations: 19.98 kB / 0.5634 GB, free: 2.012 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.038e-05/0.3741, allocations: 33.7 kB / 0.5634 GB, free: 1.973 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001241/0.3742, allocations: 66.02 kB / 0.5635 GB, free: 1.902 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.3742, allocations: 0 / 0.5635 GB, free: 1.902 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002219/0.3745, allocations: 113.6 kB / 0.5636 GB, free: 1.785 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.3745, allocations: 4 kB / 0.5636 GB, free: 1.781 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/0.3745, allocations: 8 kB / 0.5636 GB, free: 1.773 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.3745, allocations: 0 / 0.5636 GB, free: 1.773 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000108/0.3746, allocations: 15.94 kB / 0.5636 GB, free: 1.758 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.3746, allocations: 0 / 0.5636 GB, free: 1.758 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.819e-05/0.3747, allocations: 7.984 kB / 0.5636 GB, free: 1.75 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.729e-06/0.3747, allocations: 4 kB / 0.5636 GB, free: 1.746 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.0001136/0.3748, allocations: 125.8 kB / 0.5638 GB, free: 1.613 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.611e-05/0.3748, allocations: 11.91 kB / 0.5638 GB, free: 1.602 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002852/0.3751, allocations: 135.1 kB / 0.5639 GB, free: 1.453 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.3751, allocations: 0 / 0.5639 GB, free: 1.453 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.3751, allocations: 0 / 0.5639 GB, free: 1.453 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.3751, allocations: 0 / 0.5639 GB, free: 1.453 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004733/0.3756, allocations: 350.9 kB / 0.5642 GB, free: 1.07 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.592e-06/0.3756, allocations: 0 / 0.5642 GB, free: 1.07 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.892e-05/0.3756, allocations: 8 kB / 0.5642 GB, free: 1.062 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.3756, allocations: 0 / 0.5642 GB, free: 1.062 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.468e-05/0.3757, allocations: 8 kB / 0.5642 GB, free: 1.055 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.3757, allocations: 0 / 0.5642 GB, free: 1.055 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.3757, allocations: 11.91 kB / 0.5643 GB, free: 1.043 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002664/0.3759, allocations: 212.3 kB / 0.5645 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.992e-05/0.3759, allocations: 15.83 kB / 0.5645 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.491e-05/0.376, allocations: 4 kB / 0.5645 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.059e-05/0.376, allocations: 4 kB / 0.5645 GB, free: 0.793 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.932e-05/0.3761, allocations: 11.92 kB / 0.5645 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.697e-05/0.3761, allocations: 4 kB / 0.5645 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001442/0.3762, allocations: 152.2 kB / 0.5646 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3762, allocations: 0 / 0.5646 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002669/0.3765, allocations: 31.92 kB / 0.5647 GB, free: 0.5977 MB / 398.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.001888/0.3784, allocations: 487 kB / 0.5651 GB, free: 340 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002101/0.3786, allocations: 63.84 kB / 0.5652 GB, free: 276 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3786, allocations: 4.062 kB / 0.5652 GB, free: 272 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.275e-05/0.3787, allocations: 35.92 kB / 0.5652 GB, free: 236 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003595/0.379, allocations: 41.38 kB / 0.5653 GB, free: 200 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005552/0.3796, allocations: 268.4 kB / 0.5655 GB, free: 15.9 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.446e-05/0.3797, allocations: 92.19 kB / 0.5656 GB, free: 15.79 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.525e-05/0.3797, allocations: 23.36 kB / 0.5656 GB, free: 15.77 MB / 414.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3797, allocations: 4.062 kB / 0.5656 GB, free: 15.76 MB / 414.1 MB Notification: Performance of Templates: time 0.004268/0.384, allocations: 1.98 MB / 0.5676 GB, free: 13.78 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test33/Test33.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.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.194143106229603]