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.001159/0.001159, allocations: 114.4 kB / 17.78 MB, free: 5.289 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.001171/0.001171, allocations: 187 kB / 18.71 MB, free: 4.363 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.486/1.486, allocations: 222.9 MB / 242.4 MB, free: 15.16 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.2147/0.2147, allocations: 44.19 MB / 336.7 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 67.83 kB / 470.6 MB, free: 13.12 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4947/0.4959, allocations: 60.81 MB / 0.5189 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test33): time 0.003662/0.4996, allocations: 1.842 MB / 0.5207 GB, free: 2.328 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001549/0.5012, allocations: 0.872 MB / 0.5216 GB, free: 1.73 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.851e-05/0.5013, allocations: 1.875 kB / 0.5216 GB, free: 1.73 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003511/0.5017, allocations: 57.31 kB / 0.5216 GB, free: 1.715 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003338/0.502, allocations: 86.03 kB / 0.5217 GB, free: 1.668 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006342/0.5027, allocations: 202.8 kB / 0.5219 GB, free: 1.57 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003741/0.503, allocations: 203.3 kB / 0.5221 GB, free: 1.48 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001333/0.5032, allocations: 28.14 kB / 0.5221 GB, free: 1.461 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001507/0.5033, allocations: 79.55 kB / 0.5222 GB, free: 1.43 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001941/0.5035, allocations: 106.1 kB / 0.5223 GB, free: 1.387 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.416e-05/0.5036, allocations: 12.12 kB / 0.5223 GB, free: 1.387 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001267/0.5037, allocations: 37.89 kB / 0.5223 GB, free: 1.383 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001067/0.5038, allocations: 44.36 kB / 0.5224 GB, free: 1.359 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000105/0.504, allocations: 71.42 kB / 0.5224 GB, free: 1.312 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003281/0.5043, allocations: 187.2 kB / 0.5226 GB, free: 1.234 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.5043, allocations: 0 / 0.5226 GB, free: 1.234 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.053e-06/0.5043, allocations: 0 / 0.5226 GB, free: 1.234 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.702e-06/0.5043, allocations: 1.094 kB / 0.5226 GB, free: 1.234 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.00107/0.5054, allocations: 0.5688 MB / 0.5232 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.389e-05/0.5055, allocations: 9.344 kB / 0.5232 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.06e-05/0.5055, allocations: 18.33 kB / 0.5232 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000322/0.5059, allocations: 229.5 kB / 0.5234 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.961e-05/0.5059, allocations: 4.5 kB / 0.5234 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.56e-05/0.5059, allocations: 9.562 kB / 0.5234 GB, free: 500 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005717/0.5065, allocations: 153.8 kB / 0.5236 GB, free: 436 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.463e-05/0.5065, allocations: 0 / 0.5236 GB, free: 436 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.583e-05/0.5066, allocations: 1.219 kB / 0.5236 GB, free: 436 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.5066, allocations: 2.562 kB / 0.5236 GB, free: 436 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007492/0.5073, allocations: 166.8 kB / 0.5237 GB, free: 408 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008742/0.5082, allocations: 425.9 kB / 0.5242 GB, free: 84 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008678/0.5091, allocations: 203.5 kB / 0.5243 GB, free: 20 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004137/0.5095, allocations: 94.91 kB / 0.5244 GB, free: 16 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.778e-05/0.5096, allocations: 5.062 kB / 0.5244 GB, free: 15.99 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006325/0.5102, allocations: 162.8 kB / 0.5246 GB, free: 15.93 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 3.897e-06/0.5102, allocations: 5.031 kB / 0.5246 GB, free: 15.92 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.004008/0.5142, allocations: 0.8311 MB / 0.5254 GB, free: 15.59 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001471/0.5144, allocations: 62.09 kB / 0.5255 GB, free: 15.52 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007585/0.5152, allocations: 233.8 kB / 0.5257 GB, free: 15.36 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001096/0.5154, allocations: 31.02 kB / 0.5257 GB, free: 15.32 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002424/0.5157, allocations: 124.4 kB / 0.5258 GB, free: 15.21 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001705/0.5159, allocations: 41.09 kB / 0.5259 GB, free: 15.17 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00024/0.5161, allocations: 42.02 kB / 0.5259 GB, free: 15.14 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0003471/0.5165, allocations: 327 kB / 0.5262 GB, free: 14.81 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007706/0.5173, allocations: 171.9 kB / 0.5264 GB, free: 14.73 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000687/0.518, allocations: 177.8 kB / 0.5266 GB, free: 14.65 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001428/0.5195, allocations: 379.6 kB / 0.5269 GB, free: 14.43 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.5195, allocations: 0 / 0.5269 GB, free: 14.43 MB / 398.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001553/0.521, allocations: 472.4 kB / 0.5274 GB, free: 14.16 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.502e-05/0.5211, allocations: 62.22 kB / 0.5274 GB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.5211, allocations: 3.984 kB / 0.5274 GB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.066e-05/0.5211, allocations: 1.375 kB / 0.5274 GB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003921/0.5215, allocations: 63.97 kB / 0.5275 GB, free: 14.07 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.186e-05/0.5215, allocations: 9.797 kB / 0.5275 GB, free: 14.06 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003736/0.5219, allocations: 64.56 kB / 0.5276 GB, free: 14.03 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.853e-05/0.522, allocations: 11.8 kB / 0.5276 GB, free: 14.02 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.0001604/0.5221, allocations: 137.1 kB / 0.5277 GB, free: 13.89 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.278e-05/0.5222, allocations: 19.98 kB / 0.5277 GB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001516/0.5237, allocations: 416.3 kB / 0.5281 GB, free: 13.66 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.531e-06/0.5237, allocations: 2.062 kB / 0.5281 GB, free: 13.66 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.5237, allocations: 3.938 kB / 0.5281 GB, free: 13.65 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.5237, allocations: 3.984 kB / 0.5281 GB, free: 13.65 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001912/0.5257, allocations: 0.7261 MB / 0.5289 GB, free: 13.09 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.5257, allocations: 1.312 kB / 0.5289 GB, free: 13.09 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003726/0.5261, allocations: 63.16 kB / 0.5289 GB, free: 13.07 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.059e-05/0.5261, allocations: 8.828 kB / 0.5289 GB, free: 13.06 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.522e-05/0.5261, allocations: 9 kB / 0.5289 GB, free: 13.05 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.5261, allocations: 5.062 kB / 0.5289 GB, free: 13.05 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.5261, allocations: 0 / 0.5289 GB, free: 13.05 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00152/0.5277, allocations: 482.4 kB / 0.5294 GB, free: 12.76 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.935e-05/0.5277, allocations: 93.11 kB / 0.5295 GB, free: 12.65 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.988e-05/0.5278, allocations: 13.36 kB / 0.5295 GB, free: 12.64 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000398/0.5282, allocations: 60.78 kB / 0.5296 GB, free: 12.61 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001756/0.5284, allocations: 46.06 kB / 0.5296 GB, free: 12.59 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.984e-05/0.5284, allocations: 3.875 kB / 0.5296 GB, free: 12.59 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001992/0.5286, allocations: 185.4 kB / 0.5298 GB, free: 12.46 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5286, allocations: 0 / 0.5298 GB, free: 12.46 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003666/0.529, allocations: 45.16 kB / 0.5298 GB, free: 12.45 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.001116/0.5301, allocations: 399.7 kB / 0.5302 GB, free: 12.26 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001747/0.5319, allocations: 488.9 kB / 0.5307 GB, free: 11.96 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.5319, allocations: 0 / 0.5307 GB, free: 11.96 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007414/0.5326, allocations: 191.3 kB / 0.5309 GB, free: 11.88 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004067/0.533, allocations: 34.03 kB / 0.5309 GB, free: 11.86 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001118/0.5342, allocations: 370.9 kB / 0.5312 GB, free: 11.6 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003461/0.5345, allocations: 0.7387 MB / 0.532 GB, free: 10.87 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000145/0.5347, allocations: 32.41 kB / 0.532 GB, free: 10.85 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.124e-05/0.5348, allocations: 25 kB / 0.532 GB, free: 10.84 MB / 398.1 MB Notification: Performance of SimCode: time 6.11e-07/0.5348, allocations: 0 / 0.532 GB, free: 10.84 MB / 398.1 MB Notification: Performance of Templates: time 0.00861/0.5434, allocations: 3.663 MB / 0.5356 GB, free: 8.941 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)