Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.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.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81") translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00144/0.001448, allocations: 105.4 kB / 18.45 MB, free: 4.602 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.001261/0.00126, allocations: 184.3 kB / 19.38 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.385/1.385, allocations: 222.9 MB / 243.1 MB, free: 15.04 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.213/0.213, allocations: 44.18 MB / 337.4 MB, free: 2.641 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001432/0.001432, allocations: 63.91 kB / 471.3 MB, free: 13.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3693/0.3707, allocations: 60.83 MB / 0.5196 GB, free: 3.605 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.002774/0.3735, allocations: 1.787 MB / 0.5214 GB, free: 2.355 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002164/0.3757, allocations: 1.559 MB / 0.5229 GB, free: 1.254 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.81e-05/0.3758, allocations: 5.125 kB / 0.5229 GB, free: 1.25 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003188/0.3762, allocations: 53.03 kB / 0.523 GB, free: 1.223 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002786/0.3765, allocations: 95.67 kB / 0.5231 GB, free: 1.164 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003785/0.3769, allocations: 166.8 kB / 0.5232 GB, free: 1.082 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002442/0.3771, allocations: 183.6 kB / 0.5234 GB, free: 1 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.733e-05/0.3772, allocations: 17.72 kB / 0.5234 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001241/0.3773, allocations: 82 kB / 0.5235 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001869/0.3775, allocations: 69.36 kB / 0.5235 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.943e-05/0.3776, allocations: 7.625 kB / 0.5236 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001393/0.3777, allocations: 61.16 kB / 0.5236 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.395e-05/0.3778, allocations: 37.28 kB / 0.5236 GB, free: 0.875 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.503e-05/0.3778, allocations: 53.92 kB / 0.5237 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002605/0.3781, allocations: 168.4 kB / 0.5239 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.3781, allocations: 1.875 kB / 0.5239 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.3781, allocations: 4 kB / 0.5239 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.3781, allocations: 0 / 0.5239 GB, free: 0.7695 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.000563/0.3787, allocations: 471.8 kB / 0.5243 GB, free: 340 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.3788, allocations: 6.703 kB / 0.5243 GB, free: 340 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.261e-05/0.3788, allocations: 17.69 kB / 0.5243 GB, free: 332 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002996/0.3791, allocations: 240.2 kB / 0.5246 GB, free: 100 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.149e-05/0.3791, allocations: 3.781 kB / 0.5246 GB, free: 100 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.761e-05/0.3792, allocations: 6.906 kB / 0.5246 GB, free: 96 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001946/0.3794, allocations: 104.6 kB / 0.5247 GB, free: 8 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.3794, allocations: 0 / 0.5247 GB, free: 8 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.393e-05/0.3794, allocations: 1.844 kB / 0.5247 GB, free: 8 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.389e-06/0.3794, allocations: 5.125 kB / 0.5247 GB, free: 4 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000126/0.3795, allocations: 29.61 kB / 0.5247 GB, free: 15.99 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002474/0.3798, allocations: 217.2 kB / 0.5249 GB, free: 15.77 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002624/0.3801, allocations: 108.5 kB / 0.525 GB, free: 15.7 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.177e-05/0.3802, allocations: 40.62 kB / 0.5251 GB, free: 15.67 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.327e-05/0.3802, allocations: 6.312 kB / 0.5251 GB, free: 15.67 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000215/0.3804, allocations: 104.6 kB / 0.5252 GB, free: 15.59 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.353e-06/0.3804, allocations: 3.938 kB / 0.5252 GB, free: 15.59 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004518/0.3809, allocations: 172.5 kB / 0.5253 GB, free: 15.5 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.674e-05/0.381, allocations: 139.6 kB / 0.5255 GB, free: 15.34 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00024/0.3812, allocations: 210 kB / 0.5257 GB, free: 15.2 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.016e-05/0.3813, allocations: 27.45 kB / 0.5257 GB, free: 15.17 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.884e-05/0.3813, allocations: 113.8 kB / 0.5258 GB, free: 15.07 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.344e-05/0.3814, allocations: 31.77 kB / 0.5258 GB, free: 15.05 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.119e-05/0.3814, allocations: 33.52 kB / 0.5259 GB, free: 15.02 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001134/0.3816, allocations: 328.7 kB / 0.5262 GB, free: 14.7 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.598e-05/0.3817, allocations: 27.72 kB / 0.5262 GB, free: 14.69 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001146/0.3818, allocations: 71.25 kB / 0.5263 GB, free: 14.63 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001696/0.382, allocations: 84.2 kB / 0.5264 GB, free: 14.57 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.382, allocations: 0 / 0.5264 GB, free: 14.57 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002685/0.3822, allocations: 146.8 kB / 0.5265 GB, free: 14.49 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.3823, allocations: 5.625 kB / 0.5265 GB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.3823, allocations: 1.562 kB / 0.5265 GB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.3823, allocations: 1.625 kB / 0.5265 GB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001134/0.3824, allocations: 21.7 kB / 0.5265 GB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/0.3824, allocations: 1.719 kB / 0.5265 GB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.405e-05/0.3825, allocations: 14.31 kB / 0.5265 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.285e-05/0.3825, allocations: 8.594 kB / 0.5265 GB, free: 14.48 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.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (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.000116/0.3827, allocations: 134.9 kB / 0.5267 GB, free: 14.35 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.816e-05/0.3827, allocations: 21.59 kB / 0.5267 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.262e-05/0.3828, allocations: 16.52 kB / 0.5267 GB, free: 14.33 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.3828, allocations: 0.8438 kB / 0.5267 GB, free: 14.33 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.3828, allocations: 1.812 kB / 0.5267 GB, free: 14.33 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.992e-05/0.3828, allocations: 89.75 kB / 0.5268 GB, free: 14.23 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.85e-05/0.3829, allocations: 10.62 kB / 0.5268 GB, free: 14.22 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.841e-05/0.3829, allocations: 5.547 kB / 0.5268 GB, free: 14.22 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.408e-05/0.383, allocations: 20.2 kB / 0.5268 GB, free: 14.21 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003369/0.3833, allocations: 288 kB / 0.5271 GB, free: 14 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003575/0.3837, allocations: 379.5 kB / 0.5275 GB, free: 13.68 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000115/0.3838, allocations: 41.06 kB / 0.5275 GB, free: 13.67 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001527/0.384, allocations: 161.1 kB / 0.5277 GB, free: 13.57 MB / 398.1 MB Notification: Performance of Backend: time 5.61e-07/0.384, allocations: 1.375 kB / 0.5277 GB, free: 13.57 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001604/0.3856, allocations: 0.5306 MB / 0.5282 GB, free: 13.35 MB / 398.1 MB Notification: Performance of SimCode: time 0.0007873/0.3864, allocations: 0.7386 MB / 0.5289 GB, free: 12.69 MB / 398.1 MB Notification: Performance of Templates: time 0.005979/0.3924, allocations: 2.878 MB / 0.5317 GB, free: 11.37 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches