Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001369/0.001369, allocations: 106 kB / 21.22 MB, free: 0.5078 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001583/0.001583, allocations: 186.6 kB / 24.51 MB, free: 3.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.495/1.495, allocations: 225.6 MB / 253.3 MB, free: 13.02 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.2422/0.2422, allocations: 44.91 MB / 353.5 MB, free: 11.93 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20") translateModel(ModelicaTest.Tables.CombiTimeTable.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002923/0.002923, allocations: 72.03 kB / 497.8 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4593/0.4622, allocations: 64.29 MB / 0.5489 GB, free: 13.16 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test20): time 0.00417/0.4664, allocations: 1.727 MB / 0.5506 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002018/0.4684, allocations: 0.8998 MB / 0.5515 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001633/0.4685, allocations: 5.031 kB / 0.5515 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003857/0.4689, allocations: 35.7 kB / 0.5515 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003394/0.4693, allocations: 61.44 kB / 0.5516 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004949/0.4698, allocations: 115.5 kB / 0.5517 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000275/0.47, allocations: 94.48 kB / 0.5518 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001336/0.4702, allocations: 7.016 kB / 0.5518 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001659/0.4703, allocations: 52.61 kB / 0.5518 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001064/0.4704, allocations: 26.58 kB / 0.5518 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.856e-05/0.4705, allocations: 3.75 kB / 0.5518 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000168/0.4706, allocations: 46.2 kB / 0.5519 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.679e-05/0.4707, allocations: 22.91 kB / 0.5519 GB, free: 10.81 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.419e-05/0.4708, allocations: 32 kB / 0.5519 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003687/0.4712, allocations: 122.1 kB / 0.552 GB, free: 10.71 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.4712, allocations: 1.188 kB / 0.5521 GB, free: 10.71 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.4712, allocations: 0 / 0.5521 GB, free: 10.71 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.598e-06/0.4712, allocations: 0 / 0.5521 GB, free: 10.71 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.0007682/0.472, allocations: 338.3 kB / 0.5524 GB, free: 10.38 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.293e-05/0.472, allocations: 10.45 kB / 0.5524 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.918e-05/0.4721, allocations: 9.891 kB / 0.5524 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004067/0.4725, allocations: 149.8 kB / 0.5525 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.939e-05/0.4725, allocations: 5.5 kB / 0.5525 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.231e-05/0.4726, allocations: 10.36 kB / 0.5526 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002036/0.4728, allocations: 57.73 kB / 0.5526 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.4728, allocations: 0 / 0.5526 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/0.4728, allocations: 1.125 kB / 0.5526 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.042e-05/0.4728, allocations: 5.203 kB / 0.5526 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.139e-05/0.4729, allocations: 18.31 kB / 0.5526 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005055/0.4734, allocations: 257.5 kB / 0.5529 GB, free: 9.871 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001941/0.4736, allocations: 59.3 kB / 0.5529 GB, free: 9.824 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.493e-05/0.4736, allocations: 20.56 kB / 0.553 GB, free: 9.809 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.644e-05/0.4737, allocations: 1.125 kB / 0.553 GB, free: 9.809 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001711/0.4738, allocations: 65.39 kB / 0.553 GB, free: 9.746 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.643e-06/0.4738, allocations: 4 kB / 0.553 GB, free: 9.742 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006379/0.4745, allocations: 171 kB / 0.5532 GB, free: 9.645 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.188e-05/0.4745, allocations: 56.59 kB / 0.5532 GB, free: 9.578 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002067/0.4747, allocations: 175.7 kB / 0.5534 GB, free: 9.449 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.379e-05/0.4748, allocations: 30.77 kB / 0.5534 GB, free: 9.414 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.113e-05/0.4748, allocations: 100.9 kB / 0.5535 GB, free: 9.316 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.613e-05/0.4749, allocations: 31.55 kB / 0.5536 GB, free: 9.289 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.167e-05/0.475, allocations: 20.72 kB / 0.5536 GB, free: 9.27 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001486/0.4751, allocations: 330.4 kB / 0.5539 GB, free: 8.941 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.428e-05/0.4752, allocations: 22.2 kB / 0.5539 GB, free: 8.93 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.3e-05/0.4753, allocations: 43.36 kB / 0.554 GB, free: 8.895 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001275/0.4754, allocations: 59.89 kB / 0.554 GB, free: 8.855 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.4754, allocations: 0 / 0.554 GB, free: 8.855 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002206/0.4756, allocations: 115 kB / 0.5541 GB, free: 8.777 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.4756, allocations: 5.531 kB / 0.5541 GB, free: 8.777 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.4756, allocations: 0 / 0.5541 GB, free: 8.777 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.4756, allocations: 1.062 kB / 0.5541 GB, free: 8.777 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.743e-05/0.4757, allocations: 17.3 kB / 0.5541 GB, free: 8.773 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.4757, allocations: 1.125 kB / 0.5541 GB, free: 8.773 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.577e-05/0.4758, allocations: 9.938 kB / 0.5542 GB, free: 8.766 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.646e-06/0.4758, allocations: 3.188 kB / 0.5542 GB, free: 8.766 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.0001211/0.4759, allocations: 130.6 kB / 0.5543 GB, free: 8.637 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.976e-05/0.476, allocations: 17.5 kB / 0.5543 GB, free: 8.625 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002811/0.4762, allocations: 110.6 kB / 0.5544 GB, free: 8.551 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.606e-06/0.4762, allocations: 1.094 kB / 0.5544 GB, free: 8.551 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.4762, allocations: 1.25 kB / 0.5544 GB, free: 8.551 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.4763, allocations: 3.938 kB / 0.5544 GB, free: 8.547 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005092/0.4768, allocations: 360.3 kB / 0.5548 GB, free: 8.203 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.4768, allocations: 1.25 kB / 0.5548 GB, free: 8.203 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.224e-05/0.4768, allocations: 11.06 kB / 0.5548 GB, free: 8.199 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.4768, allocations: 1.25 kB / 0.5548 GB, free: 8.199 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.466e-05/0.4768, allocations: 5.188 kB / 0.5548 GB, free: 8.195 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.4768, allocations: 1.156 kB / 0.5548 GB, free: 8.195 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.4768, allocations: 1.25 kB / 0.5548 GB, free: 8.195 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002742/0.4771, allocations: 204.2 kB / 0.555 GB, free: 8.02 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.505e-05/0.4771, allocations: 15.55 kB / 0.555 GB, free: 8.008 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.783e-05/0.4771, allocations: 9.062 kB / 0.555 GB, free: 8 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.663e-05/0.4772, allocations: 2.375 kB / 0.555 GB, free: 8 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.621e-05/0.4773, allocations: 11.48 kB / 0.555 GB, free: 7.992 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.755e-05/0.4773, allocations: 3.312 kB / 0.555 GB, free: 7.992 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001518/0.4774, allocations: 145.1 kB / 0.5551 GB, free: 7.887 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4774, allocations: 0 / 0.5551 GB, free: 7.887 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002676/0.4777, allocations: 23.91 kB / 0.5552 GB, free: 7.879 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 (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.001755/0.4795, allocations: 485.5 kB / 0.5556 GB, free: 7.637 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001973/0.4796, allocations: 51.81 kB / 0.5557 GB, free: 7.617 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.4797, allocations: 0 / 0.5557 GB, free: 7.617 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.671e-05/0.4797, allocations: 28.33 kB / 0.5557 GB, free: 7.605 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003725/0.4801, allocations: 31.95 kB / 0.5557 GB, free: 7.59 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005037/0.4806, allocations: 217 kB / 0.5559 GB, free: 7.41 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000345/0.4809, allocations: 0.7093 MB / 0.5566 GB, free: 6.695 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.937e-05/0.481, allocations: 14.39 kB / 0.5567 GB, free: 6.691 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.382e-05/0.481, allocations: 19.05 kB / 0.5567 GB, free: 6.68 MB / 398.1 MB Notification: Performance of SimCode: time 3.21e-07/0.481, allocations: 0 / 0.5567 GB, free: 6.68 MB / 398.1 MB Notification: Performance of Templates: time 0.005101/0.4861, allocations: 1.751 MB / 0.5584 GB, free: 5.555 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test20/Test20.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.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.313428054563701]