Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.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.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68") translateModel(ModelicaTest.Tables.CombiTimeTable.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001182/0.001182, allocations: 110.7 kB / 18.45 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.001232/0.001232, allocations: 187.1 kB / 19.39 MB, free: 3.684 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.366/1.366, 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.2023/0.2023, allocations: 44.19 MB / 337.4 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001481/0.001481, allocations: 59.91 kB / 471.3 MB, free: 13.11 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3672/0.3687, allocations: 60.82 MB / 0.5196 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.003389/0.3721, allocations: 1.804 MB / 0.5214 GB, free: 2.348 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001848/0.374, allocations: 0.9616 MB / 0.5223 GB, free: 1.688 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000158/0.3741, allocations: 1.062 kB / 0.5223 GB, free: 1.688 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005642/0.3747, allocations: 299 kB / 0.5226 GB, free: 1.645 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004525/0.3752, allocations: 205.8 kB / 0.5228 GB, free: 1.586 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005211/0.3757, allocations: 167.1 kB / 0.523 GB, free: 1.504 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003235/0.3761, allocations: 239.2 kB / 0.5232 GB, free: 1.422 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.184e-05/0.3761, allocations: 13.84 kB / 0.5232 GB, free: 1.41 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002385/0.3764, allocations: 128.8 kB / 0.5233 GB, free: 1.371 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002947/0.3767, allocations: 193 kB / 0.5235 GB, free: 1.324 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.563e-05/0.3767, allocations: 6.375 kB / 0.5235 GB, free: 1.324 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000147/0.3769, allocations: 45.33 kB / 0.5236 GB, free: 1.312 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001509/0.377, allocations: 129.2 kB / 0.5237 GB, free: 1.273 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001204/0.3772, allocations: 145.8 kB / 0.5238 GB, free: 1.164 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005023/0.3777, allocations: 358.3 kB / 0.5242 GB, free: 1.023 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.3777, allocations: 5.844 kB / 0.5242 GB, free: 1.02 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.3777, allocations: 0 / 0.5242 GB, free: 1.02 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.567e-06/0.3777, allocations: 0 / 0.5242 GB, free: 1.02 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.000843/0.3786, allocations: 0.7399 MB / 0.5249 GB, free: 408 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.3786, allocations: 9.453 kB / 0.5249 GB, free: 408 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.86e-05/0.3787, allocations: 53.48 kB / 0.525 GB, free: 376 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005859/0.3793, allocations: 442.9 kB / 0.5254 GB, free: 48 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.249e-05/0.3793, allocations: 4.078 kB / 0.5254 GB, free: 48 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.068e-05/0.3794, allocations: 6.797 kB / 0.5254 GB, free: 44 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002507/0.3796, allocations: 85.3 kB / 0.5255 GB, free: 15.98 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.3796, allocations: 7.25 kB / 0.5255 GB, free: 15.98 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.463e-05/0.3797, allocations: 1.078 kB / 0.5255 GB, free: 15.98 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/0.3797, allocations: 0 / 0.5255 GB, free: 15.98 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001296/0.3798, allocations: 28.2 kB / 0.5255 GB, free: 15.97 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004542/0.3803, allocations: 370 kB / 0.5259 GB, free: 15.71 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002837/0.3806, allocations: 109.2 kB / 0.526 GB, free: 15.64 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001031/0.3807, allocations: 42.8 kB / 0.526 GB, free: 15.61 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.414e-05/0.3807, allocations: 2.078 kB / 0.526 GB, free: 15.61 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002481/0.3809, allocations: 121.5 kB / 0.5261 GB, free: 15.52 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.363e-06/0.381, allocations: 0 / 0.5261 GB, free: 15.52 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005036/0.3815, allocations: 197.7 kB / 0.5263 GB, free: 15.43 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.449e-05/0.3815, allocations: 79.05 kB / 0.5264 GB, free: 15.33 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001153/0.3827, allocations: 1.005 MB / 0.5274 GB, free: 14.89 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.201e-05/0.3827, allocations: 32.39 kB / 0.5274 GB, free: 14.86 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001631/0.3829, allocations: 228.1 kB / 0.5276 GB, free: 14.66 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.637e-05/0.383, allocations: 37.27 kB / 0.5277 GB, free: 14.63 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.725e-05/0.383, allocations: 29.95 kB / 0.5277 GB, free: 14.6 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001426/0.3832, allocations: 366 kB / 0.528 GB, free: 14.25 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.882e-05/0.3832, allocations: 27.11 kB / 0.5281 GB, free: 14.24 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001014/0.3834, allocations: 54.36 kB / 0.5281 GB, free: 14.2 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001866/0.3836, allocations: 93.81 kB / 0.5282 GB, free: 14.12 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.3836, allocations: 0 / 0.5282 GB, free: 14.12 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003177/0.3839, allocations: 170.6 kB / 0.5284 GB, free: 14.02 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.3839, allocations: 6.312 kB / 0.5284 GB, free: 14.02 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.648e-06/0.3839, allocations: 0 / 0.5284 GB, free: 14.02 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.84e-05/0.3839, allocations: 2.125 kB / 0.5284 GB, free: 14.02 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001281/0.3841, allocations: 22.05 kB / 0.5284 GB, free: 14.02 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.755e-06/0.3841, allocations: 9.281 kB / 0.5284 GB, free: 14.01 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001111/0.3842, allocations: 16.5 kB / 0.5284 GB, free: 14 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.113e-05/0.3842, allocations: 4.5 kB / 0.5284 GB, free: 14 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.0002045/0.3844, allocations: 218.6 kB / 0.5286 GB, free: 13.84 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.702e-05/0.3845, allocations: 53.7 kB / 0.5287 GB, free: 13.81 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.319e-05/0.3846, allocations: 61.53 kB / 0.5287 GB, free: 13.78 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/0.3846, allocations: 9.062 kB / 0.5288 GB, free: 13.77 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.3846, allocations: 0 / 0.5288 GB, free: 13.77 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001231/0.3848, allocations: 142.6 kB / 0.5289 GB, free: 13.64 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.986e-05/0.3848, allocations: 1.25 kB / 0.5289 GB, free: 13.64 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.872e-05/0.3849, allocations: 3.344 kB / 0.5289 GB, free: 13.64 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.404e-05/0.385, allocations: 16.23 kB / 0.5289 GB, free: 13.63 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003386/0.3853, allocations: 283.5 kB / 0.5292 GB, free: 13.4 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003854/0.3857, allocations: 423.2 kB / 0.5296 GB, free: 13.05 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.804e-05/0.3858, allocations: 34.89 kB / 0.5296 GB, free: 13.03 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0008064/0.3866, allocations: 0.7466 MB / 0.5303 GB, free: 12.69 MB / 398.1 MB Notification: Performance of Backend: time 5.81e-07/0.3866, allocations: 96 / 0.5303 GB, free: 12.69 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001689/0.3883, allocations: 0.6043 MB / 0.5309 GB, free: 12.43 MB / 398.1 MB Notification: Performance of SimCode: time 0.001407/0.3898, allocations: 1.249 MB / 0.5322 GB, free: 11.51 MB / 398.1 MB Notification: Performance of Templates: time 0.008532/0.3983, allocations: 3.845 MB / 0.5359 GB, free: 9.652 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test68/Test68.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches