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.001435/0.001435, allocations: 113.9 kB / 18.46 MB, free: 4.617 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.001714/0.001714, allocations: 186.1 kB / 19.39 MB, free: 3.695 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.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.217/0.217, allocations: 44.18 MB / 337.4 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001557/0.001557, allocations: 63.91 kB / 471.3 MB, free: 13.12 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3594/0.3609, allocations: 60.81 MB / 0.5196 GB, free: 3.633 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.002676/0.3637, allocations: 1.804 MB / 0.5214 GB, free: 2.371 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001308/0.365, allocations: 0.9649 MB / 0.5223 GB, free: 1.707 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.499e-05/0.3651, allocations: 1.281 kB / 0.5223 GB, free: 1.707 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005325/0.3656, allocations: 301.5 kB / 0.5226 GB, free: 1.668 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000362/0.366, allocations: 214.9 kB / 0.5228 GB, free: 1.605 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003557/0.3664, allocations: 168.4 kB / 0.523 GB, free: 1.523 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002568/0.3666, allocations: 244.6 kB / 0.5232 GB, free: 1.438 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.986e-05/0.3667, allocations: 9.484 kB / 0.5232 GB, free: 1.43 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001591/0.3669, allocations: 138 kB / 0.5234 GB, free: 1.383 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002274/0.3671, allocations: 185.2 kB / 0.5235 GB, free: 1.352 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.955e-05/0.3671, allocations: 6.875 kB / 0.5235 GB, free: 1.352 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001088/0.3672, allocations: 49.72 kB / 0.5236 GB, free: 1.336 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00013/0.3674, allocations: 129.2 kB / 0.5237 GB, free: 1.297 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001112/0.3675, allocations: 148.3 kB / 0.5239 GB, free: 1.188 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003579/0.3679, allocations: 366.6 kB / 0.5242 GB, free: 1.043 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.3679, allocations: 0 / 0.5242 GB, free: 1.043 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.3679, allocations: 0.875 kB / 0.5242 GB, free: 1.043 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.552e-06/0.3679, allocations: 0 / 0.5242 GB, free: 1.043 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.0008159/0.3687, allocations: 0.726 MB / 0.5249 GB, free: 452 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.3688, allocations: 9.062 kB / 0.5249 GB, free: 452 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.606e-05/0.3688, allocations: 47.48 kB / 0.525 GB, free: 428 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005331/0.3694, allocations: 448.7 kB / 0.5254 GB, free: 96 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.776e-05/0.3694, allocations: 7.703 kB / 0.5254 GB, free: 92 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.511e-05/0.3694, allocations: 10.94 kB / 0.5254 GB, free: 84 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002041/0.3696, allocations: 94.77 kB / 0.5255 GB, free: 12 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.3697, allocations: 3.984 kB / 0.5255 GB, free: 8 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.279e-05/0.3697, allocations: 1.25 kB / 0.5255 GB, free: 8 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.3697, allocations: 1.375 kB / 0.5255 GB, free: 8 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001023/0.3698, allocations: 29.78 kB / 0.5255 GB, free: 0 / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004359/0.3702, allocations: 381.7 kB / 0.5259 GB, free: 15.74 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002655/0.3705, allocations: 104.8 kB / 0.526 GB, free: 15.67 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.75e-05/0.3706, allocations: 47.44 kB / 0.526 GB, free: 15.64 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.305e-05/0.3706, allocations: 1.156 kB / 0.5261 GB, free: 15.64 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002147/0.3709, allocations: 105.2 kB / 0.5262 GB, free: 15.56 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.273e-06/0.3709, allocations: 0 / 0.5262 GB, free: 15.56 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004733/0.3714, allocations: 202.9 kB / 0.5263 GB, free: 15.46 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.683e-05/0.3714, allocations: 83.25 kB / 0.5264 GB, free: 15.36 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001105/0.3725, allocations: 1.034 MB / 0.5274 GB, free: 14.91 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.967e-05/0.3726, allocations: 31.02 kB / 0.5275 GB, free: 14.88 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001692/0.3727, allocations: 233.6 kB / 0.5277 GB, free: 14.67 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.025e-05/0.3728, allocations: 21.19 kB / 0.5277 GB, free: 14.66 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.08e-05/0.3728, allocations: 30.39 kB / 0.5277 GB, free: 14.63 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002166/0.3731, allocations: 365.7 kB / 0.5281 GB, free: 14.28 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.508e-05/0.3732, allocations: 35.33 kB / 0.5281 GB, free: 14.26 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.38e-05/0.3733, allocations: 58.19 kB / 0.5282 GB, free: 14.21 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001766/0.3734, allocations: 85.92 kB / 0.5283 GB, free: 14.15 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.3734, allocations: 0 / 0.5283 GB, free: 14.15 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000292/0.3737, allocations: 179.2 kB / 0.5284 GB, free: 14.04 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.3738, allocations: 5.188 kB / 0.5284 GB, free: 14.04 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.3738, allocations: 1.062 kB / 0.5284 GB, free: 14.04 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.3738, allocations: 2.031 kB / 0.5284 GB, free: 14.04 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001176/0.3739, allocations: 21.48 kB / 0.5285 GB, free: 14.04 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.3739, allocations: 1.219 kB / 0.5285 GB, free: 14.04 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001006/0.374, allocations: 16.31 kB / 0.5285 GB, free: 14.02 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.355e-05/0.3741, allocations: 4.375 kB / 0.5285 GB, free: 14.02 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.0002078/0.3743, allocations: 233.5 kB / 0.5287 GB, free: 13.86 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.627e-05/0.3744, allocations: 53.31 kB / 0.5287 GB, free: 13.82 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.298e-05/0.3744, allocations: 59.22 kB / 0.5288 GB, free: 13.8 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.3745, allocations: 0 / 0.5288 GB, free: 13.8 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3745, allocations: 5.469 kB / 0.5288 GB, free: 13.79 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001568/0.3746, allocations: 137.9 kB / 0.5289 GB, free: 13.66 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.995e-05/0.3747, allocations: 2.062 kB / 0.5289 GB, free: 13.66 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.854e-05/0.3748, allocations: 11.42 kB / 0.529 GB, free: 13.66 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.103e-05/0.3748, allocations: 11.39 kB / 0.529 GB, free: 13.65 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003455/0.3752, allocations: 291.7 kB / 0.5292 GB, free: 13.41 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004436/0.3756, allocations: 415.2 kB / 0.5296 GB, free: 13.07 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001007/0.3757, allocations: 39.91 kB / 0.5297 GB, free: 13.05 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0008971/0.3766, allocations: 0.7707 MB / 0.5304 GB, free: 12.69 MB / 398.1 MB Notification: Performance of Backend: time 3.4e-07/0.3767, allocations: 0 / 0.5304 GB, free: 12.69 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001752/0.3784, allocations: 0.6014 MB / 0.531 GB, free: 12.44 MB / 398.1 MB Notification: Performance of SimCode: time 0.001653/0.3801, allocations: 1.243 MB / 0.5322 GB, free: 11.54 MB / 398.1 MB Notification: Performance of Templates: time 0.008415/0.3885, allocations: 3.896 MB / 0.536 GB, free: 9.656 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