Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.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.Test54,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.Test54") translateModel(ModelicaTest.Tables.CombiTimeTable.Test54,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.Test54") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001571/0.001571, allocations: 112.8 kB / 18.45 MB, free: 4.617 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.001764/0.001764, allocations: 187.1 kB / 19.39 MB, free: 3.691 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.355/1.355, allocations: 222.9 MB / 243.1 MB, free: 15.02 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.2048/0.2048, allocations: 44.18 MB / 337.4 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 63.91 kB / 471.3 MB, free: 13.08 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.364/0.3652, allocations: 60.82 MB / 0.5197 GB, free: 3.629 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test54): time 0.003245/0.3685, allocations: 1.711 MB / 0.5213 GB, free: 2.438 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001276/0.3698, allocations: 0.8766 MB / 0.5222 GB, free: 1.836 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.445e-05/0.3699, allocations: 4.875 kB / 0.5222 GB, free: 1.832 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003138/0.3702, allocations: 38.59 kB / 0.5222 GB, free: 1.82 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002248/0.3705, allocations: 66.11 kB / 0.5223 GB, free: 1.781 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002854/0.3708, allocations: 113.2 kB / 0.5224 GB, free: 1.719 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001874/0.371, allocations: 92.12 kB / 0.5225 GB, free: 1.68 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001003/0.3711, allocations: 15.75 kB / 0.5225 GB, free: 1.668 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.895e-05/0.3712, allocations: 45.58 kB / 0.5225 GB, free: 1.645 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.926e-05/0.3713, allocations: 30.67 kB / 0.5226 GB, free: 1.629 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.299e-05/0.3713, allocations: 3.594 kB / 0.5226 GB, free: 1.629 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001069/0.3714, allocations: 46.77 kB / 0.5226 GB, free: 1.613 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.743e-05/0.3715, allocations: 21.62 kB / 0.5226 GB, free: 1.605 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.301e-05/0.3716, allocations: 40.84 kB / 0.5227 GB, free: 1.574 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002172/0.3718, allocations: 117 kB / 0.5228 GB, free: 1.531 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.3718, allocations: 4.641 kB / 0.5228 GB, free: 1.527 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.3718, allocations: 0 / 0.5228 GB, free: 1.527 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.767e-06/0.3718, allocations: 0 / 0.5228 GB, free: 1.527 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.0004781/0.3723, allocations: 428.1 kB / 0.5232 GB, free: 1.113 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.3723, allocations: 13.03 kB / 0.5232 GB, free: 1.109 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.697e-05/0.3724, allocations: 15.34 kB / 0.5232 GB, free: 1.102 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002446/0.3726, allocations: 211.9 kB / 0.5234 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.527e-05/0.3727, allocations: 2.344 kB / 0.5234 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.445e-05/0.3727, allocations: 5.906 kB / 0.5234 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001546/0.3729, allocations: 55.06 kB / 0.5235 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.3729, allocations: 5.406 kB / 0.5235 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.3729, allocations: 0 / 0.5235 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.3729, allocations: 1.5 kB / 0.5235 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.396e-05/0.373, allocations: 20.67 kB / 0.5235 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003142/0.3733, allocations: 294.4 kB / 0.5238 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001647/0.3735, allocations: 52.47 kB / 0.5238 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.267e-05/0.3735, allocations: 23 kB / 0.5239 GB, free: 500 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.279e-05/0.3736, allocations: 5.891 kB / 0.5239 GB, free: 496 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001426/0.3737, allocations: 69.45 kB / 0.5239 GB, free: 436 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.362e-06/0.3737, allocations: 6.438 kB / 0.5239 GB, free: 432 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005262/0.3743, allocations: 175.4 kB / 0.5241 GB, free: 340 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.629e-05/0.3743, allocations: 61.44 kB / 0.5242 GB, free: 268 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002041/0.3745, allocations: 218.7 kB / 0.5244 GB, free: 128 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.094e-05/0.3745, allocations: 26.67 kB / 0.5244 GB, free: 96 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.139e-05/0.3746, allocations: 110.7 kB / 0.5245 GB, free: 15.99 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.278e-05/0.3747, allocations: 20.7 kB / 0.5245 GB, free: 15.97 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.791e-05/0.3747, allocations: 26.97 kB / 0.5246 GB, free: 15.95 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000158/0.3749, allocations: 327.4 kB / 0.5249 GB, free: 15.63 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.59e-05/0.3749, allocations: 20.84 kB / 0.5249 GB, free: 15.62 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.26e-05/0.375, allocations: 35.16 kB / 0.5249 GB, free: 15.6 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001206/0.3752, allocations: 62.64 kB / 0.525 GB, free: 15.56 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.3752, allocations: 0 / 0.525 GB, free: 15.56 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002029/0.3754, allocations: 106.2 kB / 0.5251 GB, free: 15.5 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.3754, allocations: 5.062 kB / 0.5251 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.3754, allocations: 1.312 kB / 0.5251 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.3754, allocations: 1.406 kB / 0.5251 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.234e-05/0.3755, allocations: 19.11 kB / 0.5251 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.281e-06/0.3755, allocations: 1.969 kB / 0.5251 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.768e-05/0.3756, allocations: 5.734 kB / 0.5251 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.279e-05/0.3756, allocations: 11.58 kB / 0.5251 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.0001171/0.3757, allocations: 130 kB / 0.5253 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.641e-05/0.3758, allocations: 14.25 kB / 0.5253 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.868e-05/0.3758, allocations: 17.75 kB / 0.5253 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.3758, allocations: 4.641 kB / 0.5253 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.3758, allocations: 1.594 kB / 0.5253 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.379e-05/0.3759, allocations: 89.55 kB / 0.5254 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.539e-05/0.3759, allocations: 4.641 kB / 0.5254 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.069e-05/0.376, allocations: 7.656 kB / 0.5254 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.773e-05/0.376, allocations: 5.141 kB / 0.5254 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002301/0.3762, allocations: 177.2 kB / 0.5256 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002527/0.3765, allocations: 281.4 kB / 0.5258 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.38e-05/0.3766, allocations: 33.81 kB / 0.5259 GB, free: 14.84 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001579/0.3768, allocations: 174.5 kB / 0.526 GB, free: 14.73 MB / 398.1 MB Notification: Performance of Backend: time 3.4e-07/0.3768, allocations: 4 kB / 0.526 GB, free: 14.73 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001395/0.3782, allocations: 492.8 kB / 0.5265 GB, free: 14.53 MB / 398.1 MB Notification: Performance of SimCode: time 0.0006486/0.3788, allocations: 0.6875 MB / 0.5272 GB, free: 13.89 MB / 398.1 MB Notification: Performance of Templates: time 0.004654/0.3835, allocations: 1.77 MB / 0.5289 GB, free: 13.34 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test54/Test54.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches