Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.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.001287/0.001287, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001513/0.001513, allocations: 208.8 kB / 23.73 MB, free: 4.387 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.57/1.57, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.2533/0.2533, allocations: 44.93 MB / 358.8 MB, free: 6.027 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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5022,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6") translateModel(ModelicaTest.Tables.CombiTimeTable.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5022,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6") [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.003763/0.003763, allocations: 63.91 kB / 0.4936 GB, free: 9.934 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3896/0.3934, allocations: 65.47 MB / 0.5575 GB, free: 7.418 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.005005/0.3984, allocations: 1.712 MB / 0.5592 GB, free: 5.691 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00254/0.401, allocations: 0.9676 MB / 0.5601 GB, free: 4.719 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.702e-05/0.401, allocations: 4 kB / 0.5601 GB, free: 4.715 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004102/0.4015, allocations: 55.75 kB / 0.5602 GB, free: 4.66 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004933/0.402, allocations: 107.5 kB / 0.5603 GB, free: 4.555 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003073/0.4023, allocations: 75.69 kB / 0.5604 GB, free: 4.48 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002674/0.4025, allocations: 107.7 kB / 0.5605 GB, free: 4.375 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001242/0.4027, allocations: 8 kB / 0.5605 GB, free: 4.367 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001176/0.4028, allocations: 43.78 kB / 0.5605 GB, free: 4.324 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001146/0.4029, allocations: 39.72 kB / 0.5606 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.706e-05/0.4029, allocations: 4 kB / 0.5606 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001415/0.4031, allocations: 43.92 kB / 0.5606 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.223e-05/0.4031, allocations: 35.91 kB / 0.5606 GB, free: 4.203 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.061e-05/0.4032, allocations: 31.69 kB / 0.5607 GB, free: 4.172 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003559/0.4036, allocations: 145.8 kB / 0.5608 GB, free: 4.035 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.4036, allocations: 0 / 0.5608 GB, free: 4.035 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.4036, allocations: 0 / 0.5608 GB, free: 4.035 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.089e-05/0.4036, allocations: 0 / 0.5608 GB, free: 4.035 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.0007728/0.4044, allocations: 381.2 kB / 0.5612 GB, free: 3.633 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.743e-05/0.4044, allocations: 12.03 kB / 0.5612 GB, free: 3.621 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.534e-05/0.4045, allocations: 12.84 kB / 0.5612 GB, free: 3.609 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000405/0.4049, allocations: 171 kB / 0.5614 GB, free: 3.418 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.069e-05/0.4049, allocations: 8.359 kB / 0.5614 GB, free: 3.41 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.735e-05/0.4049, allocations: 12.06 kB / 0.5614 GB, free: 3.398 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002057/0.4051, allocations: 53.67 kB / 0.5614 GB, free: 3.34 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.506e-05/0.4052, allocations: 0 / 0.5614 GB, free: 3.34 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/0.4052, allocations: 0 / 0.5614 GB, free: 3.34 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.815e-06/0.4052, allocations: 4 kB / 0.5614 GB, free: 3.336 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001117/0.4053, allocations: 19.97 kB / 0.5615 GB, free: 3.316 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005026/0.4058, allocations: 248.5 kB / 0.5617 GB, free: 3.043 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002835/0.4061, allocations: 58.67 kB / 0.5617 GB, free: 2.977 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.694e-05/0.4062, allocations: 24.84 kB / 0.5618 GB, free: 2.949 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.915e-05/0.4062, allocations: 0 / 0.5618 GB, free: 2.949 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002096/0.4064, allocations: 71.33 kB / 0.5618 GB, free: 2.867 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.613e-06/0.4064, allocations: 0 / 0.5618 GB, free: 2.867 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008086/0.4072, allocations: 193.2 kB / 0.562 GB, free: 2.672 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.502e-05/0.4073, allocations: 55.41 kB / 0.5621 GB, free: 2.605 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004548/0.4077, allocations: 291.1 kB / 0.5624 GB, free: 2.309 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.526e-05/0.4077, allocations: 25.7 kB / 0.5624 GB, free: 2.277 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000127/0.4079, allocations: 120.1 kB / 0.5625 GB, free: 2.156 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.485e-05/0.4079, allocations: 31.83 kB / 0.5625 GB, free: 2.125 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.083e-05/0.408, allocations: 21.72 kB / 0.5625 GB, free: 2.098 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001883/0.4082, allocations: 334.8 kB / 0.5629 GB, free: 1.762 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.975e-05/0.4082, allocations: 20 kB / 0.5629 GB, free: 1.742 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001035/0.4083, allocations: 37.7 kB / 0.5629 GB, free: 1.699 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001744/0.4085, allocations: 61.83 kB / 0.563 GB, free: 1.633 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.4085, allocations: 0 / 0.563 GB, free: 1.633 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002738/0.4088, allocations: 113.5 kB / 0.5631 GB, free: 1.516 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.4088, allocations: 8.031 kB / 0.5631 GB, free: 1.508 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.4088, allocations: 0 / 0.5631 GB, free: 1.508 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.301e-05/0.4088, allocations: 4 kB / 0.5631 GB, free: 1.504 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001468/0.409, allocations: 23.92 kB / 0.5631 GB, free: 1.48 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.052e-06/0.409, allocations: 0 / 0.5631 GB, free: 1.48 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.901e-05/0.4091, allocations: 4 kB / 0.5631 GB, free: 1.477 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-06/0.4091, allocations: 0 / 0.5631 GB, free: 1.477 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.0001656/0.4092, allocations: 141.8 kB / 0.5633 GB, free: 1.328 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.799e-05/0.4093, allocations: 11.91 kB / 0.5633 GB, free: 1.316 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003854/0.4097, allocations: 131 kB / 0.5634 GB, free: 1.172 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.4097, allocations: 8 kB / 0.5634 GB, free: 1.164 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.4097, allocations: 3.938 kB / 0.5634 GB, free: 1.16 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.4097, allocations: 0 / 0.5634 GB, free: 1.16 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006711/0.4103, allocations: 362.9 kB / 0.5638 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.4103, allocations: 0 / 0.5638 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.962e-05/0.4104, allocations: 8 kB / 0.5638 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.012e-05/0.4104, allocations: 7.984 kB / 0.5638 GB, free: 0.75 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.229e-05/0.4104, allocations: 0 / 0.5638 GB, free: 0.75 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.4104, allocations: 3.938 kB / 0.5638 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.021e-06/0.4104, allocations: 7.969 kB / 0.5638 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003695/0.4108, allocations: 220.2 kB / 0.564 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.572e-05/0.4108, allocations: 15.91 kB / 0.564 GB, free: 500 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.815e-05/0.4109, allocations: 3.984 kB / 0.564 GB, free: 496 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001139/0.411, allocations: 4.375 kB / 0.564 GB, free: 492 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.262e-05/0.411, allocations: 11.92 kB / 0.564 GB, free: 480 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.529e-05/0.4111, allocations: 12 kB / 0.564 GB, free: 468 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002952/0.4114, allocations: 216.6 kB / 0.5642 GB, free: 252 kB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4114, allocations: 0 / 0.5642 GB, free: 252 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004354/0.4118, allocations: 24 kB / 0.5643 GB, free: 228 kB / 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.002539/0.4143, allocations: 0.4923 MB / 0.5647 GB, free: 15.93 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002895/0.4146, allocations: 59.86 kB / 0.5648 GB, free: 15.88 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.4146, allocations: 0 / 0.5648 GB, free: 15.88 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001187/0.4148, allocations: 39.97 kB / 0.5648 GB, free: 15.84 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005368/0.4153, allocations: 35.69 kB / 0.5649 GB, free: 15.81 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008083/0.4161, allocations: 311.6 kB / 0.5652 GB, free: 15.48 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002083/0.4163, allocations: 113 kB / 0.5653 GB, free: 15.35 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.514e-05/0.4164, allocations: 13.05 kB / 0.5653 GB, free: 15.34 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.78e-05/0.4164, allocations: 19.42 kB / 0.5653 GB, free: 15.32 MB / 414.1 MB Notification: Performance of SimCode: time 4.41e-07/0.4164, allocations: 0 / 0.5653 GB, free: 15.32 MB / 414.1 MB Notification: Performance of Templates: time 0.007527/0.424, allocations: 1.959 MB / 0.5672 GB, free: 13.39 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test6/Test6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.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.298249091953039]