Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.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.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70") translateModel(ModelicaTest.Tables.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001077/0.001077, allocations: 113.9 kB / 18.46 MB, free: 4.613 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.001051/0.001051, allocations: 186.1 kB / 19.39 MB, free: 3.688 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.36/1.36, 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.2104/0.2104, allocations: 44.19 MB / 337.4 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001515/0.001515, allocations: 59.91 kB / 471.3 MB, free: 13.11 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3756/0.3772, allocations: 60.82 MB / 0.5196 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.002973/0.3802, allocations: 1.788 MB / 0.5214 GB, free: 2.363 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001395/0.3816, allocations: 0.9653 MB / 0.5223 GB, free: 1.699 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.234e-05/0.3817, allocations: 1.125 kB / 0.5223 GB, free: 1.699 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000643/0.3823, allocations: 298.9 kB / 0.5226 GB, free: 1.664 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004173/0.3828, allocations: 214 kB / 0.5228 GB, free: 1.602 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003929/0.3832, allocations: 179.9 kB / 0.523 GB, free: 1.508 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003166/0.3835, allocations: 240.3 kB / 0.5232 GB, free: 1.426 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.485e-05/0.3836, allocations: 14.08 kB / 0.5232 GB, free: 1.414 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000196/0.3838, allocations: 133.8 kB / 0.5234 GB, free: 1.371 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002575/0.384, allocations: 185.5 kB / 0.5235 GB, free: 1.34 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.675e-05/0.3841, allocations: 6.625 kB / 0.5235 GB, free: 1.34 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001035/0.3842, allocations: 53.27 kB / 0.5236 GB, free: 1.32 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001558/0.3843, allocations: 130.4 kB / 0.5237 GB, free: 1.281 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001153/0.3845, allocations: 146.3 kB / 0.5239 GB, free: 1.172 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004184/0.3849, allocations: 370.1 kB / 0.5242 GB, free: 1.027 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.3849, allocations: 0 / 0.5242 GB, free: 1.027 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.3849, allocations: 0 / 0.5242 GB, free: 1.027 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.548e-06/0.3849, allocations: 0 / 0.5242 GB, free: 1.027 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0008518/0.3858, allocations: 0.7431 MB / 0.5249 GB, free: 416 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.3858, allocations: 9.312 kB / 0.5249 GB, free: 416 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.498e-05/0.3859, allocations: 54.8 kB / 0.525 GB, free: 384 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005464/0.3865, allocations: 456.5 kB / 0.5254 GB, free: 44 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.681e-05/0.3865, allocations: 7.484 kB / 0.5254 GB, free: 40 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.964e-05/0.3865, allocations: 6.844 kB / 0.5254 GB, free: 36 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002243/0.3867, allocations: 94.91 kB / 0.5255 GB, free: 15.96 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.3868, allocations: 1.438 kB / 0.5255 GB, free: 15.96 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.424e-05/0.3868, allocations: 0.6562 kB / 0.5255 GB, free: 15.96 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.3868, allocations: 1.344 kB / 0.5255 GB, free: 15.96 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001168/0.3869, allocations: 31.09 kB / 0.5256 GB, free: 15.95 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004254/0.3874, allocations: 372.4 kB / 0.5259 GB, free: 15.7 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002857/0.3877, allocations: 114.2 kB / 0.526 GB, free: 15.62 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001024/0.3878, allocations: 42.14 kB / 0.5261 GB, free: 15.59 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.706e-05/0.3878, allocations: 2.047 kB / 0.5261 GB, free: 15.59 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002312/0.388, allocations: 116.1 kB / 0.5262 GB, free: 15.5 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.393e-06/0.388, allocations: 1.344 kB / 0.5262 GB, free: 15.5 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005026/0.3885, allocations: 202.2 kB / 0.5264 GB, free: 15.41 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.79e-05/0.3886, allocations: 79.19 kB / 0.5265 GB, free: 15.31 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001159/0.3898, allocations: 1.033 MB / 0.5275 GB, free: 14.85 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.088e-05/0.3898, allocations: 34.73 kB / 0.5275 GB, free: 14.81 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001746/0.39, allocations: 229.8 kB / 0.5277 GB, free: 14.61 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.049e-05/0.39, allocations: 32.53 kB / 0.5277 GB, free: 14.58 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.594e-05/0.3901, allocations: 22.19 kB / 0.5278 GB, free: 14.56 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001623/0.3903, allocations: 370 kB / 0.5281 GB, free: 14.21 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.742e-05/0.3904, allocations: 27.48 kB / 0.5281 GB, free: 14.2 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001061/0.3905, allocations: 62.75 kB / 0.5282 GB, free: 14.14 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001755/0.3906, allocations: 81.55 kB / 0.5283 GB, free: 14.09 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.3907, allocations: 2.219 kB / 0.5283 GB, free: 14.09 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003285/0.391, allocations: 185.2 kB / 0.5285 GB, free: 13.97 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.391, allocations: 5.969 kB / 0.5285 GB, free: 13.97 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.932e-06/0.391, allocations: 5.188 kB / 0.5285 GB, free: 13.96 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.3911, allocations: 1.5 kB / 0.5285 GB, free: 13.96 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001652/0.3912, allocations: 21.95 kB / 0.5285 GB, free: 13.96 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/0.3913, allocations: 1.125 kB / 0.5285 GB, free: 13.96 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001647/0.3914, allocations: 5.375 kB / 0.5285 GB, free: 13.96 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.923e-05/0.3915, allocations: 7.656 kB / 0.5285 GB, free: 13.96 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0002818/0.3918, allocations: 221.1 kB / 0.5287 GB, free: 13.8 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.011e-05/0.3918, allocations: 61.91 kB / 0.5288 GB, free: 13.76 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.592e-05/0.3919, allocations: 67.06 kB / 0.5288 GB, free: 13.73 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-06/0.392, allocations: 3.984 kB / 0.5289 GB, free: 13.72 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.392, allocations: 0 / 0.5289 GB, free: 13.72 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001241/0.3921, allocations: 139.8 kB / 0.529 GB, free: 13.59 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.968e-05/0.3921, allocations: 1.656 kB / 0.529 GB, free: 13.59 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.745e-05/0.3922, allocations: 2.625 kB / 0.529 GB, free: 13.59 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.611e-05/0.3923, allocations: 16.89 kB / 0.529 GB, free: 13.58 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004293/0.3927, allocations: 286.7 kB / 0.5293 GB, free: 13.36 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006899/0.3934, allocations: 427.5 kB / 0.5297 GB, free: 13 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001166/0.3936, allocations: 35.64 kB / 0.5297 GB, free: 12.98 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001133/0.3947, allocations: 0.7708 MB / 0.5305 GB, free: 12.62 MB / 398.1 MB Notification: Performance of Backend: time 5.81e-07/0.3947, allocations: 0 / 0.5305 GB, free: 12.62 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002027/0.3968, allocations: 0.5959 MB / 0.5311 GB, free: 12.38 MB / 398.1 MB Notification: Performance of SimCode: time 0.001695/0.3985, allocations: 1.263 MB / 0.5323 GB, free: 11.45 MB / 398.1 MB Notification: Performance of Templates: time 0.009099/0.4076, allocations: 3.9 MB / 0.5361 GB, free: 9.566 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test70/Test70.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches