Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test33.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.CombiTable2Dv.Test33,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test33") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test33,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test33") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001313/0.001313, allocations: 107.7 kB / 18.45 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.00146/0.00146, allocations: 184.1 kB / 19.38 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.352/1.352, allocations: 222.9 MB / 243.1 MB, free: 15.14 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.2104/0.2104, allocations: 44.18 MB / 337.4 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001412/0.001412, allocations: 63.91 kB / 471.2 MB, free: 13.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3831/0.3845, allocations: 60.82 MB / 0.5196 GB, free: 3.879 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test33): time 0.003019/0.3876, allocations: 1.833 MB / 0.5214 GB, free: 2.602 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001329/0.3889, allocations: 0.8794 MB / 0.5222 GB, free: 1.996 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.211e-05/0.389, allocations: 1 kB / 0.5222 GB, free: 1.996 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002645/0.3893, allocations: 59.25 kB / 0.5223 GB, free: 1.98 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002602/0.3895, allocations: 85.16 kB / 0.5224 GB, free: 1.934 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005458/0.3901, allocations: 203.1 kB / 0.5226 GB, free: 1.836 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003061/0.3904, allocations: 198.5 kB / 0.5228 GB, free: 1.75 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001261/0.3905, allocations: 24.64 kB / 0.5228 GB, free: 1.734 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000133/0.3907, allocations: 79.22 kB / 0.5228 GB, free: 1.703 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001853/0.3909, allocations: 106.2 kB / 0.523 GB, free: 1.66 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.776e-05/0.3909, allocations: 12.06 kB / 0.523 GB, free: 1.66 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001137/0.391, allocations: 41.45 kB / 0.523 GB, free: 1.652 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.292e-05/0.3911, allocations: 44.53 kB / 0.523 GB, free: 1.629 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.67e-05/0.3912, allocations: 67.48 kB / 0.5231 GB, free: 1.586 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002999/0.3915, allocations: 189.3 kB / 0.5233 GB, free: 1.504 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.3916, allocations: 0 / 0.5233 GB, free: 1.504 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.916e-06/0.3916, allocations: 1.094 kB / 0.5233 GB, free: 1.504 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.961e-06/0.3916, allocations: 0 / 0.5233 GB, free: 1.504 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.00105/0.3926, allocations: 0.5608 MB / 0.5238 GB, free: 1.004 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.3927, allocations: 9 kB / 0.5238 GB, free: 1.004 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.262e-05/0.3927, allocations: 18.31 kB / 0.5239 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002123/0.393, allocations: 238.9 kB / 0.5241 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.475e-05/0.393, allocations: 3.688 kB / 0.5241 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.759e-05/0.393, allocations: 13.48 kB / 0.5241 GB, free: 0.75 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005302/0.3936, allocations: 153.5 kB / 0.5243 GB, free: 0.6875 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/0.3936, allocations: 3.938 kB / 0.5243 GB, free: 0.6836 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.886e-05/0.3936, allocations: 2.359 kB / 0.5243 GB, free: 0.6836 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.3936, allocations: 1.125 kB / 0.5243 GB, free: 0.6836 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007367/0.3944, allocations: 168.2 kB / 0.5244 GB, free: 0.6562 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000807/0.3952, allocations: 420.3 kB / 0.5248 GB, free: 352 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008172/0.396, allocations: 204.5 kB / 0.525 GB, free: 288 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003817/0.3964, allocations: 97.42 kB / 0.5251 GB, free: 260 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.113e-05/0.3964, allocations: 2.516 kB / 0.5251 GB, free: 260 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006069/0.3971, allocations: 159.4 kB / 0.5253 GB, free: 196 kB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.923e-06/0.3971, allocations: 7.938 kB / 0.5253 GB, free: 188 kB / 382.1 MB Notification: Performance of matching and sorting (n=13): time 0.003715/0.4008, allocations: 0.8317 MB / 0.5261 GB, free: 15.83 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.122e-05/0.4009, allocations: 62.08 kB / 0.5261 GB, free: 15.76 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002577/0.4011, allocations: 229.7 kB / 0.5264 GB, free: 15.6 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.187e-05/0.4012, allocations: 31.08 kB / 0.5264 GB, free: 15.57 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.48e-05/0.4012, allocations: 124.4 kB / 0.5265 GB, free: 15.45 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.786e-05/0.4013, allocations: 36.97 kB / 0.5265 GB, free: 15.42 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.269e-05/0.4014, allocations: 34.08 kB / 0.5266 GB, free: 15.39 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001306/0.4015, allocations: 332.3 kB / 0.5269 GB, free: 15.06 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007391/0.4023, allocations: 179.3 kB / 0.5271 GB, free: 14.98 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007078/0.403, allocations: 176.7 kB / 0.5272 GB, free: 14.89 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001362/0.4044, allocations: 376.3 kB / 0.5276 GB, free: 14.68 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.155e-06/0.4044, allocations: 4 kB / 0.5276 GB, free: 14.68 MB / 398.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001563/0.4059, allocations: 469 kB / 0.528 GB, free: 14.41 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.562e-05/0.406, allocations: 62.27 kB / 0.5281 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.406, allocations: 0 / 0.5281 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.406, allocations: 0.5625 kB / 0.5281 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000421/0.4065, allocations: 68.66 kB / 0.5282 GB, free: 14.31 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.749e-06/0.4065, allocations: 5.031 kB / 0.5282 GB, free: 14.31 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004214/0.4069, allocations: 66.16 kB / 0.5282 GB, free: 14.28 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.358e-05/0.407, allocations: 4.75 kB / 0.5282 GB, free: 14.28 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 (trapezoid2.count,$PRE.trapezoid2.count,trapezoid2.T_start,$PRE.trapezoid2.T_start,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 2 * 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.0001643/0.4071, allocations: 139.4 kB / 0.5284 GB, free: 14.14 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.147e-05/0.4072, allocations: 25 kB / 0.5284 GB, free: 14.13 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001549/0.4087, allocations: 414.9 kB / 0.5288 GB, free: 13.91 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.339e-06/0.4087, allocations: 2.562 kB / 0.5288 GB, free: 13.91 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.735e-06/0.4088, allocations: 3.938 kB / 0.5288 GB, free: 13.9 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.4088, allocations: 0 / 0.5288 GB, free: 13.9 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001857/0.4106, allocations: 0.7266 MB / 0.5295 GB, free: 13.35 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.4106, allocations: 0 / 0.5295 GB, free: 13.35 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000377/0.411, allocations: 68.25 kB / 0.5296 GB, free: 13.32 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.142e-06/0.411, allocations: 5.094 kB / 0.5296 GB, free: 13.32 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.922e-05/0.4111, allocations: 1 kB / 0.5296 GB, free: 13.32 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.292e-06/0.4111, allocations: 8.984 kB / 0.5296 GB, free: 13.31 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.4111, allocations: 3.938 kB / 0.5296 GB, free: 13.3 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001489/0.4126, allocations: 489.7 kB / 0.5301 GB, free: 13 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.427e-05/0.4127, allocations: 93.39 kB / 0.5302 GB, free: 12.9 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.245e-05/0.4127, allocations: 9.219 kB / 0.5302 GB, free: 12.89 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004188/0.4131, allocations: 61.92 kB / 0.5302 GB, free: 12.86 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001591/0.4133, allocations: 49.78 kB / 0.5303 GB, free: 12.83 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.981e-05/0.4133, allocations: 7.422 kB / 0.5303 GB, free: 12.83 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001708/0.4135, allocations: 181.2 kB / 0.5304 GB, free: 12.71 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4135, allocations: 0 / 0.5304 GB, free: 12.71 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003283/0.4138, allocations: 49.94 kB / 0.5305 GB, free: 12.7 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,trapezoid2.T_start,trapezoid2.count) * Number of discrete states: 2 (trapezoid2.count,trapezoid1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * 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.0009453/0.4148, allocations: 401.9 kB / 0.5309 GB, free: 12.5 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001613/0.4164, allocations: 486 kB / 0.5313 GB, free: 12.21 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.4164, allocations: 0 / 0.5313 GB, free: 12.21 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000738/0.4172, allocations: 190 kB / 0.5315 GB, free: 12.12 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003831/0.4176, allocations: 37.89 kB / 0.5316 GB, free: 12.1 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009718/0.4186, allocations: 382.8 kB / 0.5319 GB, free: 11.82 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002909/0.4189, allocations: 0.7298 MB / 0.5326 GB, free: 11.1 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001141/0.419, allocations: 25.09 kB / 0.5327 GB, free: 11.09 MB / 398.1 MB Notification: Performance of SimCode: time 5.62e-07/0.419, allocations: 1.375 kB / 0.5327 GB, free: 11.09 MB / 398.1 MB Notification: Performance of Templates: time 0.005635/0.4246, allocations: 3.241 MB / 0.5358 GB, free: 9.383 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test33.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test33.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test33 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe 2>&1)