Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.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.Test78,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78") translateModel(ModelicaTest.Tables.CombiTimeTable.Test78,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001076/0.001076, allocations: 114.7 kB / 18.46 MB, free: 4.465 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.001165/0.001165, allocations: 187 kB / 19.39 MB, free: 3.543 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.336/1.336, allocations: 222.9 MB / 243.1 MB, free: 15.09 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.2001/0.2001, allocations: 44.19 MB / 337.4 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 76.05 kB / 471.3 MB, free: 13.06 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3545/0.3558, allocations: 60.82 MB / 0.5197 GB, free: 3.645 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.003014/0.3588, allocations: 1.896 MB / 0.5215 GB, free: 2.316 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001461/0.3603, allocations: 0.9854 MB / 0.5225 GB, free: 1.641 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.942e-05/0.3604, allocations: 9.438 kB / 0.5225 GB, free: 1.633 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005614/0.361, allocations: 247.3 kB / 0.5227 GB, free: 1.598 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003719/0.3614, allocations: 188.4 kB / 0.5229 GB, free: 1.535 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004263/0.3618, allocations: 187.5 kB / 0.5231 GB, free: 1.438 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003291/0.3621, allocations: 255.6 kB / 0.5233 GB, free: 1.344 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001244/0.3623, allocations: 26.72 kB / 0.5234 GB, free: 1.332 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001903/0.3625, allocations: 132.2 kB / 0.5235 GB, free: 1.289 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002402/0.3627, allocations: 188.8 kB / 0.5237 GB, free: 1.242 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.313e-05/0.3627, allocations: 5.906 kB / 0.5237 GB, free: 1.242 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001298/0.3629, allocations: 62.05 kB / 0.5237 GB, free: 1.227 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.526e-05/0.363, allocations: 64.3 kB / 0.5238 GB, free: 1.199 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.966e-05/0.3631, allocations: 90.61 kB / 0.5239 GB, free: 1.133 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003266/0.3634, allocations: 244.2 kB / 0.5241 GB, free: 1.031 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.3634, allocations: 0 / 0.5241 GB, free: 1.031 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.3634, allocations: 0 / 0.5241 GB, free: 1.031 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.3634, allocations: 0 / 0.5241 GB, free: 1.031 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.000699/0.3641, allocations: 0.5743 MB / 0.5247 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.3642, allocations: 9.891 kB / 0.5247 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.221e-05/0.3643, allocations: 30.03 kB / 0.5247 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003412/0.3646, allocations: 282.4 kB / 0.525 GB, free: 256 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.609e-05/0.3646, allocations: 8.734 kB / 0.525 GB, free: 252 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.408e-05/0.3647, allocations: 13.42 kB / 0.525 GB, free: 244 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002539/0.3649, allocations: 114.3 kB / 0.5251 GB, free: 168 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.502e-05/0.365, allocations: 5.875 kB / 0.5251 GB, free: 164 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.36e-05/0.365, allocations: 0.5625 kB / 0.5251 GB, free: 164 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.365, allocations: 2.516 kB / 0.5251 GB, free: 164 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001338/0.3651, allocations: 46.31 kB / 0.5252 GB, free: 152 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005839/0.3657, allocations: 478.8 kB / 0.5256 GB, free: 15.73 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003716/0.3661, allocations: 128.2 kB / 0.5257 GB, free: 15.66 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.984e-05/0.3662, allocations: 47.47 kB / 0.5258 GB, free: 15.63 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.19e-05/0.3662, allocations: 1.938 kB / 0.5258 GB, free: 15.63 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002269/0.3665, allocations: 124.6 kB / 0.5259 GB, free: 15.54 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.433e-06/0.3665, allocations: 0 / 0.5259 GB, free: 15.54 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.001273/0.3678, allocations: 0.5068 MB / 0.5264 GB, free: 15.3 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.503e-05/0.3678, allocations: 84.56 kB / 0.5265 GB, free: 15.21 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004787/0.3683, allocations: 477.2 kB / 0.5269 GB, free: 15 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.498e-05/0.3683, allocations: 36.36 kB / 0.527 GB, free: 14.96 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001075/0.3684, allocations: 161.8 kB / 0.5271 GB, free: 14.82 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.262e-05/0.3685, allocations: 72.72 kB / 0.5272 GB, free: 14.75 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.635e-05/0.3686, allocations: 41.27 kB / 0.5272 GB, free: 14.72 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001237/0.3687, allocations: 349.4 kB / 0.5276 GB, free: 14.38 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001217/0.3688, allocations: 53.86 kB / 0.5276 GB, free: 14.36 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001661/0.369, allocations: 103.3 kB / 0.5277 GB, free: 14.28 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002604/0.3693, allocations: 157.4 kB / 0.5279 GB, free: 14.18 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.3693, allocations: 3.938 kB / 0.5279 GB, free: 14.18 MB / 398.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003755/0.3697, allocations: 238.8 kB / 0.5281 GB, free: 14.05 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.3697, allocations: 10.38 kB / 0.5281 GB, free: 14.05 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.3697, allocations: 4.062 kB / 0.5281 GB, free: 14.04 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/0.3697, allocations: 2.594 kB / 0.5281 GB, free: 14.04 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001379/0.3699, allocations: 42.36 kB / 0.5282 GB, free: 14.04 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.437e-06/0.3699, allocations: 6.625 kB / 0.5282 GB, free: 14.03 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.168e-05/0.37, allocations: 10.95 kB / 0.5282 GB, free: 14.02 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.631e-05/0.37, allocations: 7.875 kB / 0.5282 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.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001545/0.3702, allocations: 164.2 kB / 0.5283 GB, free: 13.89 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.275e-05/0.3702, allocations: 42.91 kB / 0.5284 GB, free: 13.86 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.665e-05/0.3703, allocations: 45.47 kB / 0.5284 GB, free: 13.83 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.682e-06/0.3703, allocations: 3.984 kB / 0.5284 GB, free: 13.82 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.3703, allocations: 2.188 kB / 0.5284 GB, free: 13.82 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.538e-05/0.3704, allocations: 98.98 kB / 0.5285 GB, free: 13.71 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.513e-05/0.3704, allocations: 7.281 kB / 0.5285 GB, free: 13.71 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.32e-05/0.3705, allocations: 11.64 kB / 0.5285 GB, free: 13.7 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.286e-05/0.3706, allocations: 15.36 kB / 0.5285 GB, free: 13.7 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004478/0.371, allocations: 380.4 kB / 0.5289 GB, free: 13.42 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004641/0.3715, allocations: 481.8 kB / 0.5294 GB, free: 13.05 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001387/0.3717, allocations: 72.38 kB / 0.5294 GB, free: 13.01 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003863/0.3721, allocations: 363.2 kB / 0.5298 GB, free: 12.82 MB / 398.1 MB Notification: Performance of Backend: time 4.61e-07/0.3721, allocations: 1.219 kB / 0.5298 GB, free: 12.82 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002141/0.3742, allocations: 0.6319 MB / 0.5304 GB, free: 12.55 MB / 398.1 MB Notification: Performance of SimCode: time 0.001316/0.3755, allocations: 0.9553 MB / 0.5313 GB, free: 11.76 MB / 398.1 MB Notification: Performance of Templates: time 0.00712/0.3827, allocations: 3.286 MB / 0.5345 GB, free: 10.12 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches