Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.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.Test45,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.Test45") translateModel(ModelicaTest.Tables.CombiTimeTable.Test45,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.Test45") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001273/0.001273, 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.001318/0.001318, 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.386/1.386, allocations: 222.9 MB / 243.1 MB, free: 15.05 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.2102/0.2102, allocations: 44.19 MB / 337.4 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001444/0.001444, allocations: 63.91 kB / 471.3 MB, free: 13.08 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3673/0.3687, allocations: 60.82 MB / 0.5196 GB, free: 3.645 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.002997/0.3718, allocations: 1.718 MB / 0.5213 GB, free: 2.449 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001261/0.3731, allocations: 0.8791 MB / 0.5222 GB, free: 1.844 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.272e-05/0.3731, allocations: 5.125 kB / 0.5222 GB, free: 1.84 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002787/0.3734, allocations: 37.58 kB / 0.5222 GB, free: 1.824 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002214/0.3737, allocations: 60.22 kB / 0.5223 GB, free: 1.789 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002993/0.374, allocations: 105.8 kB / 0.5224 GB, free: 1.734 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001829/0.3742, allocations: 92.84 kB / 0.5225 GB, free: 1.695 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.3743, allocations: 15.39 kB / 0.5225 GB, free: 1.684 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.637e-05/0.3744, allocations: 46.25 kB / 0.5225 GB, free: 1.66 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.998e-05/0.3745, allocations: 25.94 kB / 0.5226 GB, free: 1.648 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.288e-05/0.3745, allocations: 3.531 kB / 0.5226 GB, free: 1.648 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001101/0.3746, allocations: 46.72 kB / 0.5226 GB, free: 1.633 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.862e-05/0.3747, allocations: 23.02 kB / 0.5226 GB, free: 1.621 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.731e-05/0.3747, allocations: 33.84 kB / 0.5227 GB, free: 1.598 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002377/0.375, allocations: 112.4 kB / 0.5228 GB, free: 1.555 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.375, allocations: 1.031 kB / 0.5228 GB, free: 1.555 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.375, allocations: 7.938 kB / 0.5228 GB, free: 1.547 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.375, allocations: 0 / 0.5228 GB, free: 1.547 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.0005133/0.3755, allocations: 411 kB / 0.5232 GB, free: 1.145 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.3756, allocations: 9.094 kB / 0.5232 GB, free: 1.145 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.981e-05/0.3756, allocations: 14.11 kB / 0.5232 GB, free: 1.137 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00026/0.3759, allocations: 211.2 kB / 0.5234 GB, free: 0.918 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.542e-05/0.3759, allocations: 5.438 kB / 0.5234 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.304e-05/0.376, allocations: 7.453 kB / 0.5234 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001543/0.3761, allocations: 58.41 kB / 0.5235 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.3761, allocations: 3.938 kB / 0.5235 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.3762, allocations: 5.094 kB / 0.5235 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.3762, allocations: 1.031 kB / 0.5235 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.52e-05/0.3763, allocations: 18.59 kB / 0.5235 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003479/0.3766, allocations: 287.1 kB / 0.5238 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000168/0.3768, allocations: 60.23 kB / 0.5238 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.32e-05/0.3768, allocations: 27.81 kB / 0.5238 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.443e-05/0.3769, allocations: 1.281 kB / 0.5238 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001428/0.377, allocations: 65.73 kB / 0.5239 GB, free: 464 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 2.134e-06/0.377, allocations: 0 / 0.5239 GB, free: 464 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005278/0.3776, allocations: 172.8 kB / 0.5241 GB, free: 376 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.247e-05/0.3776, allocations: 61.38 kB / 0.5241 GB, free: 304 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001887/0.3778, allocations: 197.2 kB / 0.5243 GB, free: 168 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.382e-05/0.3778, allocations: 26.58 kB / 0.5243 GB, free: 136 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.478e-05/0.3779, allocations: 104 kB / 0.5244 GB, free: 36 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.021e-05/0.3779, allocations: 30.25 kB / 0.5245 GB, free: 12 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.125e-05/0.378, allocations: 22.28 kB / 0.5245 GB, free: 15.99 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002031/0.3782, allocations: 326.3 kB / 0.5248 GB, free: 15.67 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.282e-05/0.3783, allocations: 22.08 kB / 0.5248 GB, free: 15.66 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.19e-05/0.3783, allocations: 38.33 kB / 0.5249 GB, free: 15.64 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001201/0.3785, allocations: 61.42 kB / 0.5249 GB, free: 15.6 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.3785, allocations: 1.156 kB / 0.5249 GB, free: 15.6 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002026/0.3787, allocations: 101.8 kB / 0.525 GB, free: 15.54 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.3787, allocations: 5.969 kB / 0.525 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.3787, allocations: 0 / 0.525 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.963e-05/0.3787, allocations: 9.297 kB / 0.525 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.576e-05/0.3788, allocations: 16.09 kB / 0.525 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.21e-05/0.3789, allocations: 5.422 kB / 0.525 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.054e-05/0.3789, allocations: 6.609 kB / 0.5251 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.01e-05/0.3789, allocations: 6.594 kB / 0.5251 GB, free: 15.52 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.0001446/0.3791, allocations: 122.5 kB / 0.5252 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.668e-05/0.3791, allocations: 14.44 kB / 0.5252 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.429e-05/0.3792, allocations: 15.73 kB / 0.5252 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-06/0.3792, allocations: 2.078 kB / 0.5252 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.3792, allocations: 7.938 kB / 0.5252 GB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.288e-05/0.3792, allocations: 89.45 kB / 0.5253 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.685e-05/0.3793, allocations: 6.125 kB / 0.5253 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.036e-05/0.3793, allocations: 2 kB / 0.5253 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.844e-05/0.3794, allocations: 9.109 kB / 0.5253 GB, free: 15.26 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002426/0.3796, allocations: 174.3 kB / 0.5255 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000263/0.3799, allocations: 284 kB / 0.5258 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.547e-05/0.38, allocations: 26.28 kB / 0.5258 GB, free: 14.88 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001169/0.3801, allocations: 151.3 kB / 0.5259 GB, free: 14.79 MB / 398.1 MB Notification: Performance of Backend: time 6.61e-07/0.3801, allocations: 0 / 0.5259 GB, free: 14.79 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001387/0.3815, allocations: 491 kB / 0.5264 GB, free: 14.59 MB / 398.1 MB Notification: Performance of SimCode: time 0.0006834/0.3822, allocations: 0.6729 MB / 0.5271 GB, free: 13.96 MB / 398.1 MB Notification: Performance of Templates: time 0.004817/0.387, allocations: 1.755 MB / 0.5288 GB, free: 13.43 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test45/Test45.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches