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.001351/0.001351, allocations: 112.6 kB / 18.45 MB, free: 4.621 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.0015/0.0015, allocations: 185.2 kB / 19.38 MB, free: 3.699 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.339/1.339, 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.2112/0.2112, allocations: 44.19 MB / 337.4 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001546/0.001547, allocations: 59.91 kB / 471.3 MB, free: 13.11 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3505/0.3521, allocations: 60.82 MB / 0.5196 GB, free: 3.629 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.003138/0.3553, allocations: 1.8 MB / 0.5214 GB, free: 2.367 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001533/0.3568, allocations: 0.953 MB / 0.5223 GB, free: 1.715 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.863e-05/0.3569, allocations: 5.281 kB / 0.5223 GB, free: 1.711 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006257/0.3576, allocations: 294 kB / 0.5226 GB, free: 1.672 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004101/0.358, allocations: 206 kB / 0.5228 GB, free: 1.613 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004563/0.3585, allocations: 175 kB / 0.523 GB, free: 1.523 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003316/0.3588, allocations: 238.9 kB / 0.5232 GB, free: 1.441 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.443e-05/0.3589, allocations: 17.48 kB / 0.5232 GB, free: 1.426 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001857/0.3591, allocations: 129.2 kB / 0.5233 GB, free: 1.387 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000269/0.3594, allocations: 189.2 kB / 0.5235 GB, free: 1.344 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.141e-05/0.3594, allocations: 6.188 kB / 0.5235 GB, free: 1.344 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001373/0.3595, allocations: 44.75 kB / 0.5236 GB, free: 1.332 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001502/0.3597, allocations: 125.5 kB / 0.5237 GB, free: 1.297 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001251/0.3598, allocations: 146 kB / 0.5238 GB, free: 1.188 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004052/0.3602, allocations: 363.1 kB / 0.5242 GB, free: 1.043 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.3602, allocations: 4.516 kB / 0.5242 GB, free: 1.039 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3603, allocations: 0 / 0.5242 GB, free: 1.039 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.953e-06/0.3603, allocations: 0 / 0.5242 GB, free: 1.039 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.0008446/0.3611, allocations: 0.7113 MB / 0.5249 GB, free: 460 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.3612, allocations: 9.031 kB / 0.5249 GB, free: 460 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.101e-05/0.3613, allocations: 53.72 kB / 0.5249 GB, free: 428 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005847/0.3619, allocations: 441.5 kB / 0.5253 GB, free: 100 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.773e-05/0.3619, allocations: 7.344 kB / 0.5254 GB, free: 96 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.707e-05/0.3619, allocations: 7.266 kB / 0.5254 GB, free: 92 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002027/0.3621, allocations: 86.81 kB / 0.5254 GB, free: 28 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.3621, allocations: 0 / 0.5254 GB, free: 28 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.606e-05/0.3622, allocations: 1.953 kB / 0.5254 GB, free: 28 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.3622, allocations: 5.5 kB / 0.5254 GB, free: 24 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001148/0.3623, allocations: 34.34 kB / 0.5255 GB, free: 12 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004714/0.3628, allocations: 375.6 kB / 0.5258 GB, free: 15.75 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002786/0.3631, allocations: 102.2 kB / 0.5259 GB, free: 15.68 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000109/0.3632, allocations: 47.41 kB / 0.526 GB, free: 15.65 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.671e-05/0.3632, allocations: 5.562 kB / 0.526 GB, free: 15.65 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002313/0.3634, allocations: 105 kB / 0.5261 GB, free: 15.57 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.393e-06/0.3634, allocations: 0 / 0.5261 GB, free: 15.57 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005117/0.364, allocations: 197 kB / 0.5263 GB, free: 15.48 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.606e-05/0.364, allocations: 84.56 kB / 0.5264 GB, free: 15.38 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001422/0.3655, allocations: 1.003 MB / 0.5273 GB, free: 14.93 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.151e-05/0.3655, allocations: 32.11 kB / 0.5274 GB, free: 14.89 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002568/0.3658, allocations: 229 kB / 0.5276 GB, free: 14.7 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.768e-05/0.3659, allocations: 28.45 kB / 0.5276 GB, free: 14.67 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.793e-05/0.3659, allocations: 33.98 kB / 0.5276 GB, free: 14.64 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001739/0.3661, allocations: 365.7 kB / 0.528 GB, free: 14.29 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001263/0.3663, allocations: 27.55 kB / 0.528 GB, free: 14.28 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000148/0.3664, allocations: 58.39 kB / 0.5281 GB, free: 14.23 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001834/0.3666, allocations: 90.22 kB / 0.5282 GB, free: 14.16 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.3666, allocations: 0 / 0.5282 GB, free: 14.16 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003209/0.367, allocations: 170.5 kB / 0.5283 GB, free: 14.06 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/0.367, allocations: 9.672 kB / 0.5283 GB, free: 14.06 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.367, allocations: 128 / 0.5283 GB, free: 14.06 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.367, allocations: 2.75 kB / 0.5283 GB, free: 14.06 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001276/0.3672, allocations: 25.44 kB / 0.5284 GB, free: 14.05 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.866e-06/0.3672, allocations: 9.078 kB / 0.5284 GB, free: 14.04 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001013/0.3673, allocations: 12.19 kB / 0.5284 GB, free: 14.04 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.097e-05/0.3673, allocations: 4.812 kB / 0.5284 GB, free: 14.04 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.0002374/0.3675, allocations: 222.2 kB / 0.5286 GB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.81e-05/0.3676, allocations: 49.69 kB / 0.5286 GB, free: 13.85 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.287e-05/0.3677, allocations: 61.81 kB / 0.5287 GB, free: 13.82 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.3677, allocations: 1.375 kB / 0.5287 GB, free: 13.82 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.3677, allocations: 1.5 kB / 0.5287 GB, free: 13.82 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.3677, allocations: 0 / 0.5287 GB, free: 13.82 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003412/0.3681, allocations: 329.9 kB / 0.529 GB, free: 13.52 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.3681, allocations: 1.25 kB / 0.529 GB, free: 13.52 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.826e-05/0.3681, allocations: 14.55 kB / 0.529 GB, free: 13.52 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.3681, allocations: 1.094 kB / 0.529 GB, free: 13.52 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.413e-05/0.3682, allocations: 14.44 kB / 0.5291 GB, free: 13.5 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.3682, allocations: 0 / 0.5291 GB, free: 13.5 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.3682, allocations: 1.469 kB / 0.5291 GB, free: 13.5 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003287/0.3685, allocations: 203.4 kB / 0.5292 GB, free: 13.36 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001287/0.3687, allocations: 129.1 kB / 0.5294 GB, free: 13.24 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.154e-05/0.3687, allocations: 9.984 kB / 0.5294 GB, free: 13.23 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.407e-05/0.3688, allocations: 7.031 kB / 0.5294 GB, free: 13.23 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.853e-05/0.3689, allocations: 9.109 kB / 0.5294 GB, free: 13.22 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.893e-05/0.3689, allocations: 4.188 kB / 0.5294 GB, free: 13.22 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0008186/0.3697, allocations: 0.7499 MB / 0.5301 GB, free: 12.88 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.3697, allocations: 1.219 kB / 0.5301 GB, free: 12.88 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002758/0.37, allocations: 39.5 kB / 0.5302 GB, free: 12.87 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009777/0.371, allocations: 429.5 kB / 0.5306 GB, free: 12.65 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002761/0.3713, allocations: 84.25 kB / 0.5307 GB, free: 12.62 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.3713, allocations: 0 / 0.5307 GB, free: 12.62 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001113/0.3714, allocations: 38.83 kB / 0.5307 GB, free: 12.6 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000452/0.3719, allocations: 71.7 kB / 0.5308 GB, free: 12.56 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00136/0.3732, allocations: 0.8784 MB / 0.5316 GB, free: 12.08 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004529/0.3737, allocations: 0.8416 MB / 0.5324 GB, free: 11.3 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.817e-05/0.3738, allocations: 34.17 kB / 0.5325 GB, free: 11.29 MB / 398.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3738, allocations: 0 / 0.5325 GB, free: 11.29 MB / 398.1 MB Notification: Performance of Templates: time 0.009175/0.383, allocations: 4.984 MB / 0.5373 GB, free: 8.699 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