Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.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.001364/0.001364, 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.001797/0.001797, allocations: 209.8 kB / 24.49 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.533/1.533, allocations: 230.6 MB / 258.3 MB, free: 8.027 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.2353/0.2353, allocations: 44.91 MB / 359.6 MB, free: 6.297 MB / 286.1 MB " [Timeout remaining time 179] 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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5") translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5") [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.002274/0.002274, allocations: 73.77 kB / 0.4944 GB, free: 10.16 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4684/0.4707, allocations: 65.47 MB / 0.5583 GB, free: 7.715 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.005962/0.4767, allocations: 1.789 MB / 0.5601 GB, free: 5.914 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003393/0.48, allocations: 1.057 MB / 0.5611 GB, free: 4.852 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001241/0.4802, allocations: 0 / 0.5611 GB, free: 4.852 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005944/0.4808, allocations: 111.6 kB / 0.5612 GB, free: 4.742 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006483/0.4814, allocations: 127.5 kB / 0.5613 GB, free: 4.617 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005117/0.4819, allocations: 79.67 kB / 0.5614 GB, free: 4.539 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004181/0.4823, allocations: 143.6 kB / 0.5615 GB, free: 4.398 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001648/0.4825, allocations: 13.59 kB / 0.5616 GB, free: 4.379 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002446/0.4828, allocations: 67.75 kB / 0.5616 GB, free: 4.312 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002434/0.483, allocations: 79.72 kB / 0.5617 GB, free: 4.234 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.284e-05/0.483, allocations: 4 kB / 0.5617 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002506/0.4833, allocations: 63.97 kB / 0.5618 GB, free: 4.168 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001295/0.4834, allocations: 39.84 kB / 0.5618 GB, free: 4.129 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001419/0.4836, allocations: 47.62 kB / 0.5618 GB, free: 4.082 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005259/0.4841, allocations: 165.6 kB / 0.562 GB, free: 3.926 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.673e-06/0.4841, allocations: 0 / 0.562 GB, free: 3.926 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.735e-06/0.4841, allocations: 0 / 0.562 GB, free: 3.926 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.105e-05/0.4841, allocations: 4 kB / 0.562 GB, free: 3.922 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.00112/0.4852, allocations: 397.2 kB / 0.5624 GB, free: 3.504 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.077e-05/0.4853, allocations: 8.031 kB / 0.5624 GB, free: 3.496 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.73e-05/0.4854, allocations: 16.84 kB / 0.5624 GB, free: 3.48 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000685/0.4861, allocations: 167.2 kB / 0.5626 GB, free: 3.289 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.715e-05/0.4861, allocations: 8.375 kB / 0.5626 GB, free: 3.281 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.112e-05/0.4861, allocations: 12.12 kB / 0.5626 GB, free: 3.27 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003284/0.4865, allocations: 73.66 kB / 0.5627 GB, free: 3.191 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.447e-05/0.4865, allocations: 3.953 kB / 0.5627 GB, free: 3.188 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.846e-05/0.4865, allocations: 0 / 0.5627 GB, free: 3.188 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.22e-05/0.4865, allocations: 4 kB / 0.5627 GB, free: 3.184 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002031/0.4867, allocations: 39.91 kB / 0.5627 GB, free: 3.145 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008223/0.4875, allocations: 303.7 kB / 0.563 GB, free: 2.805 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004663/0.488, allocations: 70.53 kB / 0.5631 GB, free: 2.727 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001164/0.4881, allocations: 28.95 kB / 0.5631 GB, free: 2.695 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.725e-05/0.4882, allocations: 7.984 kB / 0.5631 GB, free: 2.688 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002784/0.4885, allocations: 79.31 kB / 0.5632 GB, free: 2.598 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 3.186e-06/0.4885, allocations: 0 / 0.5632 GB, free: 2.598 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.001638/0.4901, allocations: 309 kB / 0.5635 GB, free: 2.289 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.881e-05/0.4902, allocations: 55.41 kB / 0.5635 GB, free: 2.223 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005208/0.4907, allocations: 263.7 kB / 0.5638 GB, free: 1.953 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.603e-05/0.4907, allocations: 25.7 kB / 0.5638 GB, free: 1.922 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001527/0.4909, allocations: 116.1 kB / 0.5639 GB, free: 1.805 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001076/0.491, allocations: 47.64 kB / 0.5639 GB, free: 1.758 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.984e-05/0.4911, allocations: 33.7 kB / 0.564 GB, free: 1.719 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002686/0.4914, allocations: 326.8 kB / 0.5643 GB, free: 1.391 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001632/0.4915, allocations: 35.98 kB / 0.5643 GB, free: 1.355 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000203/0.4917, allocations: 65.62 kB / 0.5644 GB, free: 1.285 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003574/0.4921, allocations: 97.7 kB / 0.5645 GB, free: 1.184 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.604e-06/0.4921, allocations: 4 kB / 0.5645 GB, free: 1.18 MB / 398.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0006108/0.4927, allocations: 157.5 kB / 0.5646 GB, free: 1.02 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.841e-05/0.4927, allocations: 8 kB / 0.5646 GB, free: 1.012 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.4927, allocations: 0.8438 kB / 0.5646 GB, free: 1.012 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.679e-05/0.4928, allocations: 7.969 kB / 0.5647 GB, free: 1.004 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001995/0.493, allocations: 31.92 kB / 0.5647 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.168e-06/0.493, allocations: 0 / 0.5647 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001017/0.4931, allocations: 8 kB / 0.5647 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.976e-05/0.4931, allocations: 4 kB / 0.5647 GB, free: 0.9609 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 (16): * Single equations (assignments): 16 * 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.0002661/0.4934, allocations: 133.8 kB / 0.5648 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.079e-05/0.4934, allocations: 23.84 kB / 0.5648 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006546/0.4941, allocations: 186.5 kB / 0.565 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.268e-05/0.4941, allocations: 15.88 kB / 0.565 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.4941, allocations: 0 / 0.565 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.4941, allocations: 112 / 0.565 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001206/0.4953, allocations: 479 kB / 0.5655 GB, free: 72 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.025e-06/0.4953, allocations: 4 kB / 0.5655 GB, free: 68 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001208/0.4955, allocations: 27.92 kB / 0.5655 GB, free: 40 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.771e-06/0.4955, allocations: 0 / 0.5655 GB, free: 40 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.152e-05/0.4955, allocations: 8.062 kB / 0.5655 GB, free: 32 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.668e-06/0.4955, allocations: 0 / 0.5655 GB, free: 32 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.4955, allocations: 0 / 0.5655 GB, free: 32 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00063/0.4961, allocations: 261 kB / 0.5658 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.614e-05/0.4962, allocations: 15.89 kB / 0.5658 GB, free: 15.74 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.41e-05/0.4962, allocations: 8 kB / 0.5658 GB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001513/0.4964, allocations: 8 kB / 0.5658 GB, free: 15.72 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.246e-05/0.4964, allocations: 11.98 kB / 0.5658 GB, free: 15.71 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.755e-05/0.4965, allocations: 7.984 kB / 0.5658 GB, free: 15.7 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003618/0.4968, allocations: 193.5 kB / 0.566 GB, free: 15.52 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.4968, allocations: 0 / 0.566 GB, free: 15.52 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005681/0.4974, allocations: 35.89 kB / 0.5661 GB, free: 15.48 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (14): * Single equations (assignments): 12 * 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.003583/0.501, allocations: 0.5117 MB / 0.5666 GB, free: 15.17 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005938/0.5016, allocations: 106.1 kB / 0.5667 GB, free: 15.07 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/0.5016, allocations: 0 / 0.5667 GB, free: 15.07 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002193/0.5018, allocations: 51.84 kB / 0.5667 GB, free: 15.02 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007959/0.5026, allocations: 39.98 kB / 0.5667 GB, free: 14.98 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001382/0.504, allocations: 354.4 kB / 0.5671 GB, free: 14.6 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006906/0.5047, allocations: 0.724 MB / 0.5678 GB, free: 13.85 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.638e-05/0.5048, allocations: 19.44 kB / 0.5678 GB, free: 13.83 MB / 414.1 MB Notification: Performance of SimCode: time 1.232e-06/0.5048, allocations: 4 kB / 0.5678 GB, free: 13.83 MB / 414.1 MB Notification: Performance of Templates: time 0.009434/0.5142, allocations: 2.54 MB / 0.5703 GB, free: 11.3 MB / 414.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.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.166843333980069]