Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.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.001318/0.001318, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.001503/0.001503, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.519/1.519, allocations: 230.6 MB / 258.3 MB, free: 7.984 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.2298/0.2298, allocations: 44.91 MB / 359.6 MB, free: 6.273 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.Test43,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43") translateModel(ModelicaTest.Tables.CombiTimeTable.Test43,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43") [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.002059/0.002059, allocations: 63.91 kB / 0.4944 GB, free: 10.66 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3899/0.3919, allocations: 65.45 MB / 0.5583 GB, free: 35.43 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test43): time 0.00272/0.3946, allocations: 1.744 MB / 0.56 GB, free: 34.23 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001339/0.396, allocations: 1.053 MB / 0.561 GB, free: 33.52 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.332e-05/0.396, allocations: 3.281 kB / 0.561 GB, free: 33.52 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002844/0.3963, allocations: 43.55 kB / 0.5611 GB, free: 33.5 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002943/0.3966, allocations: 99.42 kB / 0.5612 GB, free: 33.45 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001768/0.3968, allocations: 80.28 kB / 0.5613 GB, free: 33.4 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001599/0.397, allocations: 105.7 kB / 0.5614 GB, free: 33.36 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.918e-05/0.3971, allocations: 10.31 kB / 0.5614 GB, free: 33.35 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.897e-05/0.3972, allocations: 50.58 kB / 0.5614 GB, free: 33.32 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.593e-05/0.3972, allocations: 31.97 kB / 0.5614 GB, free: 33.31 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.617e-05/0.3972, allocations: 6.656 kB / 0.5614 GB, free: 33.31 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.72e-05/0.3973, allocations: 36.48 kB / 0.5615 GB, free: 33.3 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.295e-05/0.3974, allocations: 27.97 kB / 0.5615 GB, free: 33.29 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.362e-05/0.3974, allocations: 38.09 kB / 0.5615 GB, free: 33.26 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001911/0.3976, allocations: 126.8 kB / 0.5617 GB, free: 33.21 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.3976, allocations: 0 / 0.5617 GB, free: 33.21 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.3976, allocations: 0 / 0.5617 GB, free: 33.21 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.194e-05/0.3976, allocations: 2.625 kB / 0.5617 GB, free: 33.21 MB / 446.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.0004748/0.3981, allocations: 349.7 kB / 0.562 GB, free: 32.88 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.326e-05/0.3981, allocations: 9.438 kB / 0.562 GB, free: 32.88 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.049e-05/0.3982, allocations: 11.48 kB / 0.562 GB, free: 32.88 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002446/0.3984, allocations: 168.5 kB / 0.5622 GB, free: 32.71 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.689e-05/0.3984, allocations: 9.062 kB / 0.5622 GB, free: 32.71 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.37e-05/0.3985, allocations: 4.125 kB / 0.5622 GB, free: 32.71 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001355/0.3986, allocations: 53.59 kB / 0.5622 GB, free: 32.67 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.3986, allocations: 2.219 kB / 0.5623 GB, free: 32.67 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.3986, allocations: 6.641 kB / 0.5623 GB, free: 32.67 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.3986, allocations: 0 / 0.5623 GB, free: 32.67 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.563e-05/0.3987, allocations: 16.86 kB / 0.5623 GB, free: 32.66 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002995/0.399, allocations: 265 kB / 0.5625 GB, free: 32.41 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001591/0.3992, allocations: 52.25 kB / 0.5626 GB, free: 32.37 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.768e-05/0.3992, allocations: 23.2 kB / 0.5626 GB, free: 32.36 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.186e-05/0.3992, allocations: 0.5312 kB / 0.5626 GB, free: 32.36 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001294/0.3994, allocations: 67.67 kB / 0.5627 GB, free: 32.3 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.933e-06/0.3994, allocations: 0.9375 kB / 0.5627 GB, free: 32.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005059/0.3999, allocations: 182 kB / 0.5628 GB, free: 32.21 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.652e-05/0.3999, allocations: 51.94 kB / 0.5629 GB, free: 32.15 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001574/0.4, allocations: 221.1 kB / 0.5631 GB, free: 32 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.019e-05/0.4001, allocations: 25.7 kB / 0.5631 GB, free: 31.97 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.065e-05/0.4001, allocations: 110.3 kB / 0.5632 GB, free: 31.87 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.552e-05/0.4001, allocations: 22.45 kB / 0.5632 GB, free: 31.86 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.291e-05/0.4002, allocations: 20.59 kB / 0.5633 GB, free: 31.84 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.77e-05/0.4002, allocations: 331.9 kB / 0.5636 GB, free: 31.52 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.435e-05/0.4003, allocations: 24.09 kB / 0.5636 GB, free: 31.5 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.687e-05/0.4003, allocations: 38.38 kB / 0.5636 GB, free: 31.48 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000103/0.4004, allocations: 58.27 kB / 0.5637 GB, free: 31.44 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.4004, allocations: 6.031 kB / 0.5637 GB, free: 31.44 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001587/0.4006, allocations: 101.8 kB / 0.5638 GB, free: 31.38 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.4006, allocations: 6.281 kB / 0.5638 GB, free: 31.38 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.409e-06/0.4006, allocations: 0 / 0.5638 GB, free: 31.38 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.4006, allocations: 0 / 0.5638 GB, free: 31.38 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.093e-05/0.4007, allocations: 22.42 kB / 0.5638 GB, free: 31.38 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.4007, allocations: 0 / 0.5638 GB, free: 31.38 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.719e-05/0.4008, allocations: 13.66 kB / 0.5638 GB, free: 31.37 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.173e-06/0.4008, allocations: 2.594 kB / 0.5638 GB, free: 31.37 MB / 446.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 7.162e-05/0.4008, allocations: 131.4 kB / 0.564 GB, free: 31.25 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.058e-05/0.4009, allocations: 13.66 kB / 0.564 GB, free: 31.24 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002053/0.4011, allocations: 123.2 kB / 0.5641 GB, free: 31.16 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.4011, allocations: 5.281 kB / 0.5641 GB, free: 31.16 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.636e-06/0.4011, allocations: 0 / 0.5641 GB, free: 31.16 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.4011, allocations: 7.453 kB / 0.5641 GB, free: 31.16 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003218/0.4014, allocations: 361.6 kB / 0.5645 GB, free: 30.84 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.4014, allocations: 0.5625 kB / 0.5645 GB, free: 30.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.136e-05/0.4014, allocations: 20.5 kB / 0.5645 GB, free: 30.84 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.4014, allocations: 0 / 0.5645 GB, free: 30.84 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.034e-05/0.4015, allocations: 11.19 kB / 0.5645 GB, free: 30.83 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.4015, allocations: 0 / 0.5645 GB, free: 30.83 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.4015, allocations: 0 / 0.5645 GB, free: 30.83 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001733/0.4016, allocations: 195.9 kB / 0.5647 GB, free: 30.67 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.824e-05/0.4016, allocations: 16.89 kB / 0.5647 GB, free: 30.66 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.279e-05/0.4017, allocations: 7.5 kB / 0.5647 GB, free: 30.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.914e-05/0.4017, allocations: 3.281 kB / 0.5647 GB, free: 30.66 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.799e-05/0.4018, allocations: 10.72 kB / 0.5647 GB, free: 30.66 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.473e-05/0.4018, allocations: 3.281 kB / 0.5647 GB, free: 30.66 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.457e-05/0.4019, allocations: 159.7 kB / 0.5649 GB, free: 30.56 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4019, allocations: 3.938 kB / 0.5649 GB, free: 30.55 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000253/0.4021, allocations: 20.06 kB / 0.5649 GB, free: 30.55 MB / 446.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 (8): * Single equations (assignments): 6 * 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.001617/0.4038, allocations: 469.9 kB / 0.5653 GB, free: 30.34 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001901/0.4039, allocations: 51.42 kB / 0.5654 GB, free: 30.32 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.4039, allocations: 3.219 kB / 0.5654 GB, free: 30.32 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.278e-05/0.404, allocations: 31.02 kB / 0.5654 GB, free: 30.31 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003554/0.4044, allocations: 23.03 kB / 0.5654 GB, free: 30.3 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004334/0.4048, allocations: 284.8 kB / 0.5657 GB, free: 30.09 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001332/0.4049, allocations: 0.7099 MB / 0.5664 GB, free: 29.39 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.583e-05/0.405, allocations: 17.5 kB / 0.5664 GB, free: 29.38 MB / 446.1 MB Notification: Performance of SimCode: time 3.5e-07/0.405, allocations: 0 / 0.5664 GB, free: 29.38 MB / 446.1 MB Notification: Performance of Templates: time 0.003557/0.4085, allocations: 1.985 MB / 0.5684 GB, free: 29.14 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test43/Test43.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.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: 7.990526610054076]