Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.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.Test88,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88") translateModel(ModelicaTest.Tables.CombiTimeTable.Test88,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001303/0.001302, allocations: 111 kB / 17.75 MB, free: 5.316 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.001871/0.001872, allocations: 191 kB / 18.68 MB, free: 4.391 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.47/1.47, allocations: 222.9 MB / 242.4 MB, free: 15.08 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.248/0.248, allocations: 44.18 MB / 336.7 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00193/0.00193, allocations: 63.89 kB / 470.6 MB, free: 13.1 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4314/0.4333, allocations: 60.83 MB / 0.519 GB, free: 3.629 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test88): time 0.003607/0.437, allocations: 2.229 MB / 0.5211 GB, free: 2.059 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00193/0.4389, allocations: 1.186 MB / 0.5223 GB, free: 1.242 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000132/0.4391, allocations: 7.688 kB / 0.5223 GB, free: 1.238 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004464/0.4395, allocations: 122.1 kB / 0.5224 GB, free: 1.191 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003879/0.44, allocations: 181.7 kB / 0.5226 GB, free: 1.098 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007106/0.4407, allocations: 319.5 kB / 0.5229 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005901/0.4413, allocations: 418.5 kB / 0.5233 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000203/0.4415, allocations: 60.25 kB / 0.5234 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004102/0.4419, allocations: 263.4 kB / 0.5236 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002152/0.4421, allocations: 148 kB / 0.5237 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.518e-05/0.4422, allocations: 16.12 kB / 0.5238 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001773/0.4424, allocations: 70.36 kB / 0.5238 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000179/0.4425, allocations: 125.6 kB / 0.524 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001657/0.4427, allocations: 174.3 kB / 0.5241 GB, free: 392 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006206/0.4433, allocations: 419.7 kB / 0.5245 GB, free: 208 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.556e-06/0.4434, allocations: 4 kB / 0.5245 GB, free: 204 kB / 382.1 MB Notification: Performance of FrontEnd: time 2.635e-06/0.4434, allocations: 4 kB / 0.5245 GB, free: 200 kB / 382.1 MB Notification: Performance of Transformations before backend: time 1.03e-05/0.4434, allocations: 1.188 kB / 0.5245 GB, free: 200 kB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001366/0.4448, allocations: 0.7985 MB / 0.5253 GB, free: 15.54 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.017e-05/0.4448, allocations: 9.719 kB / 0.5253 GB, free: 15.54 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000119/0.4449, allocations: 58 kB / 0.5254 GB, free: 15.51 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006804/0.4456, allocations: 398.2 kB / 0.5257 GB, free: 15.2 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.853e-05/0.4457, allocations: 15.64 kB / 0.5258 GB, free: 15.19 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.063e-05/0.4457, allocations: 24.72 kB / 0.5258 GB, free: 15.18 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004728/0.4462, allocations: 186.4 kB / 0.526 GB, free: 15.07 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.732e-05/0.4462, allocations: 6.125 kB / 0.526 GB, free: 15.07 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.065e-05/0.4463, allocations: 6.172 kB / 0.526 GB, free: 15.07 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.548e-06/0.4463, allocations: 11.91 kB / 0.526 GB, free: 15.06 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002581/0.4466, allocations: 95.31 kB / 0.5261 GB, free: 15.03 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009728/0.4475, allocations: 0.7937 MB / 0.5269 GB, free: 14.32 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000649/0.4482, allocations: 248.3 kB / 0.5271 GB, free: 14.14 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001818/0.4484, allocations: 94.02 kB / 0.5272 GB, free: 14.07 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.102e-05/0.4484, allocations: 8.109 kB / 0.5272 GB, free: 14.07 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003554/0.4488, allocations: 202.2 kB / 0.5274 GB, free: 13.91 MB / 398.1 MB Notification: Performance of pre-optimization done (n=28): time 1.744e-06/0.4488, allocations: 0 / 0.5274 GB, free: 13.91 MB / 398.1 MB Notification: Performance of matching and sorting (n=44): time 0.002575/0.4514, allocations: 1.093 MB / 0.5284 GB, free: 13.3 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.741e-05/0.4515, allocations: 137.9 kB / 0.5286 GB, free: 13.14 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008772/0.4524, allocations: 0.7578 MB / 0.5293 GB, free: 12.75 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.659e-05/0.4524, allocations: 37.02 kB / 0.5294 GB, free: 12.71 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00018/0.4526, allocations: 233.1 kB / 0.5296 GB, free: 12.51 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001209/0.4527, allocations: 138.4 kB / 0.5297 GB, free: 12.39 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001128/0.4529, allocations: 82.12 kB / 0.5298 GB, free: 12.34 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001617/0.453, allocations: 372.1 kB / 0.5301 GB, free: 11.98 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002548/0.4533, allocations: 119.8 kB / 0.5303 GB, free: 11.92 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002879/0.4536, allocations: 191.7 kB / 0.5304 GB, free: 11.79 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005314/0.4541, allocations: 317.1 kB / 0.5307 GB, free: 11.59 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.4541, allocations: 1.5 kB / 0.5307 GB, free: 11.59 MB / 398.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007602/0.4549, allocations: 434.3 kB / 0.5312 GB, free: 11.37 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.304e-05/0.4549, allocations: 10.66 kB / 0.5312 GB, free: 11.37 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.4549, allocations: 2.281 kB / 0.5312 GB, free: 11.37 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.828e-05/0.455, allocations: 3.062 kB / 0.5312 GB, free: 11.37 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003012/0.4553, allocations: 85.09 kB / 0.5313 GB, free: 11.35 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.496e-05/0.4553, allocations: 8.984 kB / 0.5313 GB, free: 11.35 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001516/0.4555, allocations: 14.91 kB / 0.5313 GB, free: 11.34 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.166e-05/0.4555, allocations: 25.42 kB / 0.5313 GB, free: 11.33 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.t_new.nextTimeEvent,$whenCondition4,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition3,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new_3.nextTimeEvent,$whenCondition2,t_new_3.nextTimeEventScaled,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEvent,$PRE.t_new_4.nextTimeEvent,$whenCondition1,t_new_4.nextTimeEventScaled,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.0002726/0.4558, allocations: 233 kB / 0.5315 GB, free: 11.15 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.628e-05/0.4559, allocations: 63.56 kB / 0.5316 GB, free: 11.12 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001366/0.456, allocations: 74.56 kB / 0.5317 GB, free: 11.08 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.995e-06/0.456, allocations: 5.344 kB / 0.5317 GB, free: 11.08 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.079e-05/0.456, allocations: 1.125 kB / 0.5317 GB, free: 11.08 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.908e-06/0.4561, allocations: 10.11 kB / 0.5317 GB, free: 11.07 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001703/0.4578, allocations: 1.298 MB / 0.5329 GB, free: 10.04 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.4578, allocations: 2.594 kB / 0.5329 GB, free: 10.04 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001767/0.458, allocations: 63.38 kB / 0.533 GB, free: 10.03 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.378e-06/0.458, allocations: 4.5 kB / 0.533 GB, free: 10.03 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.278e-05/0.458, allocations: 20.98 kB / 0.533 GB, free: 10.02 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.756e-06/0.458, allocations: 8.812 kB / 0.533 GB, free: 10.01 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.761e-06/0.4581, allocations: 4.719 kB / 0.533 GB, free: 10.01 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009414/0.459, allocations: 0.7705 MB / 0.5338 GB, free: 9.414 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001726/0.4592, allocations: 166.8 kB / 0.534 GB, free: 9.258 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.24e-05/0.4593, allocations: 19.48 kB / 0.534 GB, free: 9.246 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002668/0.4595, allocations: 16.94 kB / 0.534 GB, free: 9.238 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.131e-05/0.4596, allocations: 41.77 kB / 0.534 GB, free: 9.215 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.362e-05/0.4597, allocations: 24.45 kB / 0.534 GB, free: 9.207 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006452/0.4603, allocations: 0.5444 MB / 0.5346 GB, free: 8.941 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4603, allocations: 0 / 0.5346 GB, free: 8.941 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005423/0.4609, allocations: 86.8 kB / 0.5347 GB, free: 8.922 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.001323/0.4622, allocations: 0.5422 MB / 0.5352 GB, free: 8.652 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007992/0.463, allocations: 317.2 kB / 0.5355 GB, free: 8.52 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.463, allocations: 0 / 0.5355 GB, free: 8.52 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003408/0.4634, allocations: 166.8 kB / 0.5357 GB, free: 8.449 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009402/0.4643, allocations: 133.8 kB / 0.5358 GB, free: 8.383 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001927/0.4663, allocations: 1.018 MB / 0.5368 GB, free: 7.75 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006813/0.467, allocations: 0.879 MB / 0.5376 GB, free: 6.969 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002725/0.4673, allocations: 76.41 kB / 0.5377 GB, free: 6.938 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001461/0.4674, allocations: 55.14 kB / 0.5378 GB, free: 6.918 MB / 398.1 MB Notification: Performance of SimCode: time 1.242e-06/0.4674, allocations: 3.938 kB / 0.5378 GB, free: 6.914 MB / 398.1 MB Notification: Performance of Templates: time 0.01362/0.481, allocations: 5.318 MB / 0.543 GB, free: 3.098 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test88/Test88.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches