Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.Test41,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41") translateModel(ModelicaTest.Tables.CombiTimeTable.Test41,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001239/0.001239, allocations: 109.4 kB / 18.45 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001459/0.001459, allocations: 184.3 kB / 19.39 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.412/1.412, allocations: 222.9 MB / 243.1 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2033/0.2033, allocations: 44.18 MB / 337.4 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001472/0.001472, allocations: 67.89 kB / 471.3 MB, free: 13.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3655/0.367, allocations: 60.82 MB / 0.5197 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.00248/0.3695, allocations: 1.704 MB / 0.5213 GB, free: 2.434 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001164/0.3707, allocations: 0.8711 MB / 0.5222 GB, free: 1.836 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.174e-05/0.3707, allocations: 4 kB / 0.5222 GB, free: 1.832 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002963/0.371, allocations: 76.34 kB / 0.5223 GB, free: 1.816 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000213/0.3713, allocations: 78.77 kB / 0.5223 GB, free: 1.781 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002606/0.3716, allocations: 108.4 kB / 0.5224 GB, free: 1.723 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001597/0.3717, allocations: 107.6 kB / 0.5225 GB, free: 1.68 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.123e-05/0.3718, allocations: 15.7 kB / 0.5226 GB, free: 1.668 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.029e-05/0.3719, allocations: 55.97 kB / 0.5226 GB, free: 1.645 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.809e-05/0.372, allocations: 58.16 kB / 0.5227 GB, free: 1.625 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.684e-05/0.372, allocations: 3.625 kB / 0.5227 GB, free: 1.625 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.817e-05/0.3721, allocations: 42.81 kB / 0.5227 GB, free: 1.613 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.982e-05/0.3722, allocations: 20.17 kB / 0.5227 GB, free: 1.605 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.177e-05/0.3722, allocations: 37.2 kB / 0.5228 GB, free: 1.578 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001902/0.3724, allocations: 123.4 kB / 0.5229 GB, free: 1.527 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.3724, allocations: 4 kB / 0.5229 GB, free: 1.523 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3725, allocations: 1.094 kB / 0.5229 GB, free: 1.523 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.158e-06/0.3725, allocations: 0 / 0.5229 GB, free: 1.523 MB / 382.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.0004237/0.3729, allocations: 421.6 kB / 0.5233 GB, free: 1.109 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.471e-05/0.3729, allocations: 8.656 kB / 0.5233 GB, free: 1.109 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.173e-05/0.373, allocations: 18.95 kB / 0.5233 GB, free: 1.098 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001967/0.3732, allocations: 203.5 kB / 0.5235 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.487e-06/0.3732, allocations: 2.031 kB / 0.5235 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.33e-05/0.3732, allocations: 10.52 kB / 0.5235 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000131/0.3734, allocations: 58.39 kB / 0.5236 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.3734, allocations: 4 kB / 0.5236 GB, free: 0.832 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.187e-06/0.3734, allocations: 1.031 kB / 0.5236 GB, free: 0.832 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.3734, allocations: 1.953 kB / 0.5236 GB, free: 0.832 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.28e-05/0.3735, allocations: 21.42 kB / 0.5236 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002805/0.3738, allocations: 296.5 kB / 0.5239 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001529/0.3739, allocations: 63.84 kB / 0.5239 GB, free: 496 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.98e-05/0.374, allocations: 24.97 kB / 0.524 GB, free: 480 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.527e-05/0.374, allocations: 1.062 kB / 0.524 GB, free: 480 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000118/0.3741, allocations: 66.2 kB / 0.524 GB, free: 424 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.332e-06/0.3741, allocations: 0 / 0.524 GB, free: 424 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004953/0.3747, allocations: 173.3 kB / 0.5242 GB, free: 336 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.67e-05/0.3747, allocations: 52.5 kB / 0.5242 GB, free: 272 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001649/0.3749, allocations: 214.2 kB / 0.5244 GB, free: 132 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.003e-05/0.3749, allocations: 31.17 kB / 0.5245 GB, free: 96 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.657e-05/0.3749, allocations: 101.4 kB / 0.5246 GB, free: 0 / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.161e-05/0.375, allocations: 27.02 kB / 0.5246 GB, free: 15.98 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.927e-05/0.375, allocations: 28.84 kB / 0.5246 GB, free: 15.95 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001073/0.3751, allocations: 327.2 kB / 0.5249 GB, free: 15.63 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.055e-05/0.3752, allocations: 22.39 kB / 0.525 GB, free: 15.62 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.303e-05/0.3753, allocations: 41.62 kB / 0.525 GB, free: 15.59 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001171/0.3754, allocations: 58.88 kB / 0.5251 GB, free: 15.55 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.41e-07/0.3754, allocations: 0 / 0.5251 GB, free: 15.55 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001852/0.3756, allocations: 109.4 kB / 0.5252 GB, free: 15.49 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.3756, allocations: 6.484 kB / 0.5252 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.3756, allocations: 0 / 0.5252 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.3757, allocations: 1.25 kB / 0.5252 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.571e-05/0.3757, allocations: 18.88 kB / 0.5252 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.3758, allocations: 1.984 kB / 0.5252 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.515e-05/0.3758, allocations: 3.391 kB / 0.5252 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.009e-05/0.3758, allocations: 7.234 kB / 0.5252 GB, free: 15.48 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.0001084/0.3759, allocations: 134.1 kB / 0.5253 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.635e-05/0.376, allocations: 14.27 kB / 0.5253 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.512e-05/0.376, allocations: 17.02 kB / 0.5254 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.376, allocations: 1.844 kB / 0.5254 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.376, allocations: 0 / 0.5254 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.103e-05/0.3761, allocations: 88.83 kB / 0.5254 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.815e-05/0.3761, allocations: 10.11 kB / 0.5255 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.221e-05/0.3762, allocations: 3.281 kB / 0.5255 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.258e-05/0.3762, allocations: 5.609 kB / 0.5255 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002191/0.3764, allocations: 174.1 kB / 0.5256 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002479/0.3767, allocations: 284 kB / 0.5259 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.5e-05/0.3768, allocations: 33.73 kB / 0.5259 GB, free: 14.84 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001306/0.3769, allocations: 156.1 kB / 0.5261 GB, free: 14.74 MB / 398.1 MB Notification: Performance of Backend: time 4.2e-07/0.3769, allocations: 0 / 0.5261 GB, free: 14.74 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001321/0.3782, allocations: 496.5 kB / 0.5266 GB, free: 14.54 MB / 398.1 MB Notification: Performance of SimCode: time 0.0006002/0.3788, allocations: 0.6895 MB / 0.5272 GB, free: 13.89 MB / 398.1 MB Notification: Performance of Templates: time 0.004241/0.3831, allocations: 1.763 MB / 0.5289 GB, free: 13.32 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test41/Test41.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches