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.001296/0.001296, allocations: 110.8 kB / 18.45 MB, free: 4.645 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.001194/0.001194, allocations: 183.1 kB / 19.38 MB, free: 3.723 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.19 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.2086/0.2086, allocations: 44.18 MB / 337.4 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001369/0.00137, allocations: 79.88 kB / 471.3 MB, free: 13.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3591/0.3605, allocations: 60.81 MB / 0.5197 GB, free: 3.641 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.002908/0.3634, allocations: 1.903 MB / 0.5215 GB, free: 2.309 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001379/0.3648, allocations: 0.987 MB / 0.5225 GB, free: 1.629 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.704e-05/0.3649, allocations: 2.156 kB / 0.5225 GB, free: 1.629 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004943/0.3654, allocations: 255.5 kB / 0.5227 GB, free: 1.586 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003295/0.3658, allocations: 180.3 kB / 0.5229 GB, free: 1.531 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004087/0.3662, allocations: 183.5 kB / 0.5231 GB, free: 1.438 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003275/0.3665, allocations: 255.5 kB / 0.5233 GB, free: 1.344 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001324/0.3667, allocations: 26.3 kB / 0.5233 GB, free: 1.332 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001801/0.3669, allocations: 135.2 kB / 0.5235 GB, free: 1.285 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002352/0.3671, allocations: 183.4 kB / 0.5236 GB, free: 1.242 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.247e-05/0.3671, allocations: 7.438 kB / 0.5237 GB, free: 1.242 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001344/0.3673, allocations: 62.84 kB / 0.5237 GB, free: 1.227 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.185e-05/0.3674, allocations: 60.78 kB / 0.5238 GB, free: 1.203 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.234e-05/0.3674, allocations: 94.11 kB / 0.5239 GB, free: 1.133 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002983/0.3677, allocations: 243.6 kB / 0.5241 GB, free: 1.031 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.3678, allocations: 4 kB / 0.5241 GB, free: 1.027 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.3678, allocations: 0 / 0.5241 GB, free: 1.027 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.753e-06/0.3678, allocations: 0 / 0.5241 GB, free: 1.027 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.0006905/0.3685, allocations: 0.5643 MB / 0.5246 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.3685, allocations: 9.812 kB / 0.5247 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.425e-05/0.3686, allocations: 30.34 kB / 0.5247 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000333/0.3689, allocations: 285.7 kB / 0.525 GB, free: 256 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.423e-05/0.369, allocations: 9.438 kB / 0.525 GB, free: 252 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.2e-05/0.369, allocations: 20.73 kB / 0.525 GB, free: 236 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002324/0.3692, allocations: 110.8 kB / 0.5251 GB, free: 164 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.61e-05/0.3693, allocations: 1.875 kB / 0.5251 GB, free: 164 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.477e-05/0.3693, allocations: 5.156 kB / 0.5251 GB, free: 160 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.3693, allocations: 2.156 kB / 0.5251 GB, free: 160 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001309/0.3694, allocations: 45.83 kB / 0.5251 GB, free: 148 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005881/0.37, allocations: 479.6 kB / 0.5256 GB, free: 15.73 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003825/0.3704, allocations: 124.7 kB / 0.5257 GB, free: 15.66 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.758e-05/0.3705, allocations: 41.91 kB / 0.5258 GB, free: 15.63 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.162e-05/0.3705, allocations: 6.969 kB / 0.5258 GB, free: 15.63 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002389/0.3708, allocations: 124.2 kB / 0.5259 GB, free: 15.54 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.352e-06/0.3708, allocations: 0 / 0.5259 GB, free: 15.54 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.001314/0.3721, allocations: 0.5028 MB / 0.5264 GB, free: 15.3 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.989e-05/0.3722, allocations: 80.66 kB / 0.5265 GB, free: 15.21 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004753/0.3727, allocations: 480 kB / 0.5269 GB, free: 15.01 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.725e-05/0.3727, allocations: 32.97 kB / 0.5269 GB, free: 14.97 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001258/0.3728, allocations: 161.9 kB / 0.5271 GB, free: 14.83 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.723e-05/0.3729, allocations: 77.12 kB / 0.5272 GB, free: 14.77 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.065e-05/0.373, allocations: 42.2 kB / 0.5272 GB, free: 14.73 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000147/0.3731, allocations: 353.8 kB / 0.5276 GB, free: 14.39 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001204/0.3733, allocations: 56.86 kB / 0.5276 GB, free: 14.36 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001402/0.3734, allocations: 104.2 kB / 0.5277 GB, free: 14.29 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000272/0.3737, allocations: 159.7 kB / 0.5279 GB, free: 14.18 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.3737, allocations: 5.344 kB / 0.5279 GB, free: 14.18 MB / 398.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003884/0.3741, allocations: 234.1 kB / 0.5281 GB, free: 14.05 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.3741, allocations: 9.594 kB / 0.5281 GB, free: 14.05 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.3741, allocations: 1.156 kB / 0.5281 GB, free: 14.05 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.3741, allocations: 2.594 kB / 0.5281 GB, free: 14.05 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001477/0.3743, allocations: 42.02 kB / 0.5281 GB, free: 14.04 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.012e-05/0.3743, allocations: 2.969 kB / 0.5281 GB, free: 14.04 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.414e-05/0.3744, allocations: 11.36 kB / 0.5282 GB, free: 14.04 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.488e-05/0.3744, allocations: 10.5 kB / 0.5282 GB, free: 14.03 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.0001714/0.3746, allocations: 172.9 kB / 0.5283 GB, free: 13.89 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.385e-05/0.3747, allocations: 39 kB / 0.5284 GB, free: 13.86 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.192e-05/0.3748, allocations: 40.59 kB / 0.5284 GB, free: 13.84 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.3748, allocations: 3.031 kB / 0.5284 GB, free: 13.84 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.3748, allocations: 1.594 kB / 0.5284 GB, free: 13.84 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.449e-05/0.3748, allocations: 3.984 kB / 0.5284 GB, free: 13.83 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008936/0.3757, allocations: 0.7329 MB / 0.5291 GB, free: 13.21 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.3757, allocations: 1.5 kB / 0.5291 GB, free: 13.21 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.381e-05/0.3758, allocations: 32.36 kB / 0.5292 GB, free: 13.2 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.3758, allocations: 2.312 kB / 0.5292 GB, free: 13.2 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.812e-05/0.3759, allocations: 8.391 kB / 0.5292 GB, free: 13.2 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.047e-06/0.3759, allocations: 2.969 kB / 0.5292 GB, free: 13.2 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.3759, allocations: 5.719 kB / 0.5292 GB, free: 13.19 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004594/0.3763, allocations: 426.4 kB / 0.5296 GB, free: 12.86 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.625e-05/0.3764, allocations: 113.2 kB / 0.5297 GB, free: 12.74 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.967e-05/0.3765, allocations: 3.375 kB / 0.5297 GB, free: 12.74 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001387/0.3766, allocations: 12.23 kB / 0.5297 GB, free: 12.73 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.132e-05/0.3767, allocations: 25.36 kB / 0.5297 GB, free: 12.71 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.363e-05/0.3767, allocations: 9.094 kB / 0.5297 GB, free: 12.71 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003564/0.3771, allocations: 362.5 kB / 0.5301 GB, free: 12.52 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3771, allocations: 1.125 kB / 0.5301 GB, free: 12.52 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003615/0.3774, allocations: 47.55 kB / 0.5301 GB, free: 12.51 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * 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.001236/0.3787, allocations: 0.5207 MB / 0.5306 GB, free: 12.27 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000353/0.3791, allocations: 154.9 kB / 0.5308 GB, free: 12.2 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.3791, allocations: 1.375 kB / 0.5308 GB, free: 12.2 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001528/0.3792, allocations: 78.12 kB / 0.5309 GB, free: 12.17 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005838/0.3798, allocations: 68.77 kB / 0.5309 GB, free: 12.13 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00094/0.3808, allocations: 0.6077 MB / 0.5315 GB, free: 11.72 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003795/0.3812, allocations: 0.7829 MB / 0.5323 GB, free: 10.98 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.258e-05/0.3812, allocations: 38.3 kB / 0.5323 GB, free: 10.96 MB / 398.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3813, allocations: 1.125 kB / 0.5323 GB, free: 10.96 MB / 398.1 MB Notification: Performance of Templates: time 0.006506/0.3878, allocations: 3.785 MB / 0.536 GB, free: 8.977 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