Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.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.Test9,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.Test9") translateModel(ModelicaTest.Tables.CombiTimeTable.Test9,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.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001623/0.001623, allocations: 112.9 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.002144/0.002144, allocations: 183 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.488/1.488, 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.2066/0.2066, allocations: 44.18 MB / 337.4 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001523/0.001523, allocations: 71.83 kB / 471.3 MB, free: 13.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4056/0.4072, allocations: 60.82 MB / 0.5197 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.003239/0.4105, allocations: 1.718 MB / 0.5213 GB, free: 2.418 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001214/0.4117, allocations: 0.8668 MB / 0.5222 GB, free: 1.824 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.415e-05/0.4118, allocations: 5.062 kB / 0.5222 GB, free: 1.82 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003213/0.4121, allocations: 79.44 kB / 0.5223 GB, free: 1.801 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002225/0.4123, allocations: 81.67 kB / 0.5223 GB, free: 1.762 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000276/0.4126, allocations: 106 kB / 0.5224 GB, free: 1.707 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001731/0.4128, allocations: 111.3 kB / 0.5225 GB, free: 1.66 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.917e-05/0.4129, allocations: 12.53 kB / 0.5226 GB, free: 1.652 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.527e-05/0.413, allocations: 54.61 kB / 0.5226 GB, free: 1.629 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001049/0.4131, allocations: 51.27 kB / 0.5227 GB, free: 1.617 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.803e-05/0.4132, allocations: 7.703 kB / 0.5227 GB, free: 1.613 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.042e-05/0.4133, allocations: 45.45 kB / 0.5227 GB, free: 1.598 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.486e-05/0.4133, allocations: 20.45 kB / 0.5227 GB, free: 1.59 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.258e-05/0.4134, allocations: 34.09 kB / 0.5228 GB, free: 1.566 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002136/0.4136, allocations: 126.4 kB / 0.5229 GB, free: 1.512 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.4136, allocations: 1.219 kB / 0.5229 GB, free: 1.512 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.4136, allocations: 0 / 0.5229 GB, free: 1.512 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.4136, allocations: 0 / 0.5229 GB, free: 1.512 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.0004585/0.4141, allocations: 421.7 kB / 0.5233 GB, free: 1.098 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.4141, allocations: 9.562 kB / 0.5233 GB, free: 1.098 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.566e-05/0.4142, allocations: 18.05 kB / 0.5233 GB, free: 1.086 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002136/0.4144, allocations: 208.1 kB / 0.5235 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.386e-05/0.4144, allocations: 1.562 kB / 0.5235 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.555e-05/0.4145, allocations: 15.09 kB / 0.5235 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001405/0.4146, allocations: 53.97 kB / 0.5236 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.301e-05/0.4146, allocations: 1.594 kB / 0.5236 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.4146, allocations: 4 kB / 0.5236 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.94e-06/0.4146, allocations: 1.75 kB / 0.5236 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.897e-05/0.4147, allocations: 16.83 kB / 0.5236 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003183/0.4151, allocations: 293.1 kB / 0.5239 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001669/0.4152, allocations: 63.67 kB / 0.5239 GB, free: 488 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.728e-05/0.4153, allocations: 24.5 kB / 0.524 GB, free: 472 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.418e-05/0.4153, allocations: 1.406 kB / 0.524 GB, free: 472 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001397/0.4155, allocations: 77.7 kB / 0.524 GB, free: 404 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.463e-06/0.4155, allocations: 0 / 0.524 GB, free: 404 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005416/0.416, allocations: 177.5 kB / 0.5242 GB, free: 312 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.982e-05/0.4161, allocations: 52.56 kB / 0.5243 GB, free: 248 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002058/0.4163, allocations: 211.7 kB / 0.5245 GB, free: 112 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.236e-05/0.4163, allocations: 29.7 kB / 0.5245 GB, free: 76 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.897e-05/0.4164, allocations: 105.1 kB / 0.5246 GB, free: 15.98 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.214e-05/0.4164, allocations: 26.64 kB / 0.5246 GB, free: 15.96 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.474e-05/0.4165, allocations: 26.28 kB / 0.5246 GB, free: 15.93 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001206/0.4166, allocations: 326.2 kB / 0.5249 GB, free: 15.61 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.433e-05/0.4167, allocations: 22.36 kB / 0.525 GB, free: 15.61 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.237e-05/0.4167, allocations: 39.17 kB / 0.525 GB, free: 15.58 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001221/0.4169, allocations: 58.77 kB / 0.5251 GB, free: 15.54 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.4169, allocations: 0 / 0.5251 GB, free: 15.54 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002072/0.4171, allocations: 109.2 kB / 0.5252 GB, free: 15.48 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.4171, allocations: 5.391 kB / 0.5252 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.4171, allocations: 0 / 0.5252 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.4172, allocations: 1.312 kB / 0.5252 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.39e-05/0.4172, allocations: 15.94 kB / 0.5252 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.097e-05/0.4173, allocations: 2.234 kB / 0.5252 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.6e-05/0.4173, allocations: 1.953 kB / 0.5252 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.47e-05/0.4173, allocations: 11.25 kB / 0.5252 GB, free: 15.47 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.0001041/0.4175, allocations: 135.4 kB / 0.5253 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.592e-05/0.4175, allocations: 13.47 kB / 0.5253 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.879e-05/0.4175, allocations: 17.41 kB / 0.5254 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.4175, allocations: 1.75 kB / 0.5254 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.4176, allocations: 0.6562 kB / 0.5254 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.904e-05/0.4176, allocations: 83.5 kB / 0.5254 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.918e-05/0.4177, allocations: 10.69 kB / 0.5255 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.121e-05/0.4177, allocations: 2.297 kB / 0.5255 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.624e-05/0.4177, allocations: 10.36 kB / 0.5255 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002218/0.418, allocations: 169.2 kB / 0.5256 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002738/0.4183, allocations: 283.9 kB / 0.5259 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.375e-05/0.4183, allocations: 30.81 kB / 0.5259 GB, free: 14.83 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001481/0.4185, allocations: 156.7 kB / 0.5261 GB, free: 14.74 MB / 398.1 MB Notification: Performance of Backend: time 3.6e-07/0.4185, allocations: 0 / 0.5261 GB, free: 14.74 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001447/0.42, allocations: 0.4886 MB / 0.5266 GB, free: 14.53 MB / 398.1 MB Notification: Performance of SimCode: time 0.0006891/0.4207, allocations: 0.683 MB / 0.5272 GB, free: 13.89 MB / 398.1 MB Notification: Performance of Templates: time 0.00467/0.4253, allocations: 1.763 MB / 0.5289 GB, free: 13.31 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test9/Test9.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches