Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.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.Test25,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.Test25") translateModel(ModelicaTest.Tables.CombiTimeTable.Test25,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.Test25") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001607/0.001608, allocations: 113.9 kB / 18.46 MB, free: 4.605 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.001625/0.001625, allocations: 186.1 kB / 19.39 MB, free: 3.68 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.439/1.439, allocations: 222.9 MB / 243.1 MB, free: 15.07 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.2302/0.2302, allocations: 44.19 MB / 337.4 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001525/0.001525, allocations: 63.91 kB / 471.3 MB, free: 13.1 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3935/0.395, allocations: 60.82 MB / 0.5197 GB, free: 3.652 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test25): time 0.003295/0.3984, allocations: 1.704 MB / 0.5213 GB, free: 2.469 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001193/0.3996, allocations: 0.8793 MB / 0.5222 GB, free: 1.863 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.408e-05/0.3996, allocations: 1.094 kB / 0.5222 GB, free: 1.863 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002737/0.3999, allocations: 34.33 kB / 0.5222 GB, free: 1.852 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002133/0.4002, allocations: 60.81 kB / 0.5223 GB, free: 1.816 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002599/0.4004, allocations: 105.6 kB / 0.5224 GB, free: 1.762 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001576/0.4006, allocations: 103.3 kB / 0.5225 GB, free: 1.711 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.394e-05/0.4007, allocations: 12.66 kB / 0.5225 GB, free: 1.703 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.73e-05/0.4008, allocations: 41.2 kB / 0.5225 GB, free: 1.684 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.412e-05/0.4009, allocations: 31.2 kB / 0.5226 GB, free: 1.668 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.911e-05/0.4009, allocations: 3.438 kB / 0.5226 GB, free: 1.668 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.985e-05/0.401, allocations: 42.36 kB / 0.5226 GB, free: 1.656 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.325e-05/0.4011, allocations: 18.86 kB / 0.5226 GB, free: 1.648 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.76e-05/0.4011, allocations: 38.34 kB / 0.5227 GB, free: 1.621 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002339/0.4014, allocations: 120.4 kB / 0.5228 GB, free: 1.57 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.4014, allocations: 5.125 kB / 0.5228 GB, free: 1.566 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.4014, allocations: 0.7031 kB / 0.5228 GB, free: 1.566 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.039e-06/0.4014, allocations: 0 / 0.5228 GB, free: 1.566 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.0005056/0.4019, allocations: 416.1 kB / 0.5232 GB, free: 1.156 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.402, allocations: 9.5 kB / 0.5232 GB, free: 1.156 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.763e-05/0.402, allocations: 9.672 kB / 0.5232 GB, free: 1.152 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000232/0.4022, allocations: 216.6 kB / 0.5234 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.253e-05/0.4023, allocations: 1.438 kB / 0.5234 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.477e-05/0.4023, allocations: 18.33 kB / 0.5234 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000141/0.4024, allocations: 58.22 kB / 0.5235 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.4025, allocations: 4.938 kB / 0.5235 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.4025, allocations: 0.5625 kB / 0.5235 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.4025, allocations: 1 kB / 0.5235 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.186e-05/0.4026, allocations: 18.58 kB / 0.5235 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002842/0.4029, allocations: 290.8 kB / 0.5238 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001596/0.403, allocations: 60.64 kB / 0.5238 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.723e-05/0.4031, allocations: 19.2 kB / 0.5238 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.022e-05/0.4031, allocations: 2.016 kB / 0.5238 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001282/0.4032, allocations: 66.7 kB / 0.5239 GB, free: 476 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.493e-06/0.4032, allocations: 0 / 0.5239 GB, free: 476 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004989/0.4038, allocations: 185 kB / 0.5241 GB, free: 376 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.108e-05/0.4038, allocations: 56.16 kB / 0.5241 GB, free: 308 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001566/0.4039, allocations: 193.7 kB / 0.5243 GB, free: 176 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.069e-05/0.404, allocations: 30.98 kB / 0.5244 GB, free: 140 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.781e-05/0.404, allocations: 99.12 kB / 0.5245 GB, free: 44 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.564e-05/0.404, allocations: 21.81 kB / 0.5245 GB, free: 28 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.345e-05/0.4041, allocations: 22.61 kB / 0.5245 GB, free: 8 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001765/0.4043, allocations: 335.4 kB / 0.5248 GB, free: 15.68 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.127e-05/0.4043, allocations: 17.23 kB / 0.5248 GB, free: 15.67 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.223e-05/0.4044, allocations: 39.42 kB / 0.5249 GB, free: 15.64 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001201/0.4045, allocations: 57.41 kB / 0.5249 GB, free: 15.61 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.21e-07/0.4045, allocations: 3.938 kB / 0.5249 GB, free: 15.61 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001888/0.4047, allocations: 109.2 kB / 0.525 GB, free: 15.54 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.4048, allocations: 10.25 kB / 0.525 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.4048, allocations: 1.125 kB / 0.525 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.4048, allocations: 1.062 kB / 0.525 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.728e-05/0.4049, allocations: 15.69 kB / 0.5251 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/0.4049, allocations: 0.6562 kB / 0.5251 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.712e-05/0.405, allocations: 7.266 kB / 0.5251 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.908e-06/0.405, allocations: 7.156 kB / 0.5251 GB, free: 15.53 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.0001416/0.4051, allocations: 130.3 kB / 0.5252 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.584e-05/0.4052, allocations: 13.34 kB / 0.5252 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.307e-05/0.4052, allocations: 21.3 kB / 0.5252 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.4052, allocations: 1.672 kB / 0.5252 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.4052, allocations: 0.6562 kB / 0.5252 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.755e-05/0.4053, allocations: 84.61 kB / 0.5253 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.768e-05/0.4053, allocations: 10.08 kB / 0.5253 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.299e-05/0.4054, allocations: 6.188 kB / 0.5253 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.138e-05/0.4054, allocations: 10.12 kB / 0.5253 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002223/0.4056, allocations: 173.9 kB / 0.5255 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002533/0.4059, allocations: 283.2 kB / 0.5258 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.807e-05/0.406, allocations: 27.2 kB / 0.5258 GB, free: 14.89 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001214/0.4061, allocations: 151.7 kB / 0.5259 GB, free: 14.79 MB / 398.1 MB Notification: Performance of Backend: time 2.9e-07/0.4061, allocations: 0 / 0.5259 GB, free: 14.79 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001337/0.4075, allocations: 489.2 kB / 0.5264 GB, free: 14.59 MB / 398.1 MB Notification: Performance of SimCode: time 0.0007031/0.4082, allocations: 0.6678 MB / 0.5271 GB, free: 13.96 MB / 398.1 MB Notification: Performance of Templates: time 0.004589/0.4128, allocations: 1.764 MB / 0.5288 GB, free: 13.42 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test25/Test25.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches