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.00135/0.00135, allocations: 114.4 kB / 17.78 MB, free: 5.262 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.001441/0.001441, allocations: 183 kB / 18.71 MB, free: 4.34 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.543/1.543, allocations: 222.9 MB / 242.4 MB, free: 15.04 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.2414/0.2414, allocations: 44.2 MB / 336.7 MB, free: 2.641 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001367/0.001367, allocations: 63.91 kB / 470.5 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4772/0.4785, allocations: 60.83 MB / 0.5189 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test33): time 0.003118/0.4817, allocations: 1.826 MB / 0.5207 GB, free: 2.34 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001411/0.4832, allocations: 0.8794 MB / 0.5216 GB, free: 1.734 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.514e-05/0.4833, allocations: 1.125 kB / 0.5216 GB, free: 1.734 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002973/0.4836, allocations: 58.78 kB / 0.5216 GB, free: 1.719 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002742/0.4839, allocations: 81.31 kB / 0.5217 GB, free: 1.676 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000568/0.4845, allocations: 207.4 kB / 0.5219 GB, free: 1.574 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002722/0.4847, allocations: 195.5 kB / 0.5221 GB, free: 1.492 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001162/0.4849, allocations: 27.25 kB / 0.5221 GB, free: 1.473 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001242/0.485, allocations: 75.56 kB / 0.5222 GB, free: 1.445 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001628/0.4852, allocations: 111.5 kB / 0.5223 GB, free: 1.398 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.278e-05/0.4852, allocations: 12.16 kB / 0.5223 GB, free: 1.398 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001079/0.4853, allocations: 36.77 kB / 0.5223 GB, free: 1.395 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.509e-05/0.4854, allocations: 44.66 kB / 0.5224 GB, free: 1.371 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.127e-05/0.4855, allocations: 66.7 kB / 0.5224 GB, free: 1.328 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002825/0.4858, allocations: 188.2 kB / 0.5226 GB, free: 1.25 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.4858, allocations: 0 / 0.5226 GB, free: 1.25 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.4858, allocations: 0 / 0.5226 GB, free: 1.25 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.032e-05/0.4858, allocations: 0 / 0.5226 GB, free: 1.25 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.001042/0.4869, allocations: 0.5628 MB / 0.5232 GB, free: 0.75 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.4869, allocations: 9.719 kB / 0.5232 GB, free: 0.75 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.465e-05/0.487, allocations: 22.09 kB / 0.5232 GB, free: 0.7383 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002121/0.4872, allocations: 234.4 kB / 0.5234 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.509e-05/0.4872, allocations: 3.125 kB / 0.5234 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.916e-05/0.4873, allocations: 13.8 kB / 0.5234 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005612/0.4879, allocations: 153.4 kB / 0.5236 GB, free: 444 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.509e-05/0.4879, allocations: 2.734 kB / 0.5236 GB, free: 444 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.893e-05/0.4879, allocations: 4.516 kB / 0.5236 GB, free: 440 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.4879, allocations: 0 / 0.5236 GB, free: 440 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007584/0.4887, allocations: 164.2 kB / 0.5238 GB, free: 416 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008708/0.4896, allocations: 429.5 kB / 0.5242 GB, free: 88 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008269/0.4904, allocations: 199.9 kB / 0.5244 GB, free: 28 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003991/0.4908, allocations: 94.44 kB / 0.5244 GB, free: 4 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.746e-05/0.4909, allocations: 5.078 kB / 0.5244 GB, free: 0 / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007021/0.4916, allocations: 171.8 kB / 0.5246 GB, free: 15.92 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.723e-06/0.4916, allocations: 3.938 kB / 0.5246 GB, free: 15.92 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.004096/0.4957, allocations: 0.8309 MB / 0.5254 GB, free: 15.6 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.305e-05/0.4958, allocations: 58.09 kB / 0.5255 GB, free: 15.53 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003606/0.4962, allocations: 233.7 kB / 0.5257 GB, free: 15.37 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.191e-05/0.4962, allocations: 36.44 kB / 0.5257 GB, free: 15.33 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.477e-05/0.4963, allocations: 115 kB / 0.5259 GB, free: 15.22 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.391e-05/0.4964, allocations: 45.09 kB / 0.5259 GB, free: 15.18 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.192e-05/0.4965, allocations: 34.03 kB / 0.5259 GB, free: 15.16 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001439/0.4966, allocations: 332.3 kB / 0.5262 GB, free: 14.83 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007303/0.4974, allocations: 175.9 kB / 0.5264 GB, free: 14.75 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007106/0.4981, allocations: 172 kB / 0.5266 GB, free: 14.67 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001468/0.4996, allocations: 378.1 kB / 0.5269 GB, free: 14.45 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.4996, allocations: 0 / 0.5269 GB, free: 14.45 MB / 398.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001792/0.5014, allocations: 470.5 kB / 0.5274 GB, free: 14.18 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.727e-05/0.5015, allocations: 62.67 kB / 0.5274 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.779e-06/0.5015, allocations: 0 / 0.5274 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.595e-05/0.5015, allocations: 1.344 kB / 0.5274 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004921/0.502, allocations: 71.97 kB / 0.5275 GB, free: 14.08 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.862e-05/0.5021, allocations: 5.188 kB / 0.5275 GB, free: 14.08 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004566/0.5025, allocations: 65.34 kB / 0.5276 GB, free: 14.05 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.136e-05/0.5026, allocations: 8.516 kB / 0.5276 GB, free: 14.04 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.0002255/0.5028, allocations: 136.6 kB / 0.5277 GB, free: 13.91 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.537e-05/0.5029, allocations: 15.97 kB / 0.5277 GB, free: 13.91 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001678/0.5045, allocations: 416.7 kB / 0.5281 GB, free: 13.69 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.5046, allocations: 1.406 kB / 0.5281 GB, free: 13.69 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-05/0.5046, allocations: 5.281 kB / 0.5281 GB, free: 13.68 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.5046, allocations: 3.938 kB / 0.5281 GB, free: 13.68 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001867/0.5065, allocations: 0.7222 MB / 0.5288 GB, free: 13.13 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.5065, allocations: 0 / 0.5288 GB, free: 13.13 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003953/0.5069, allocations: 71.5 kB / 0.5289 GB, free: 13.1 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.616e-06/0.5069, allocations: 9.156 kB / 0.5289 GB, free: 13.09 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.375e-05/0.5069, allocations: 5.109 kB / 0.5289 GB, free: 13.09 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.442e-06/0.5069, allocations: 1.094 kB / 0.5289 GB, free: 13.09 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.507, allocations: 7.875 kB / 0.5289 GB, free: 13.08 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00168/0.5086, allocations: 485.6 kB / 0.5294 GB, free: 12.78 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.561e-05/0.5087, allocations: 96.75 kB / 0.5295 GB, free: 12.67 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.248e-05/0.5088, allocations: 3.156 kB / 0.5295 GB, free: 12.67 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004188/0.5092, allocations: 68.61 kB / 0.5296 GB, free: 12.64 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001549/0.5094, allocations: 45.66 kB / 0.5296 GB, free: 12.61 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.315e-05/0.5094, allocations: 8.031 kB / 0.5296 GB, free: 12.61 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001888/0.5096, allocations: 185 kB / 0.5298 GB, free: 12.48 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5096, allocations: 0 / 0.5298 GB, free: 12.48 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003352/0.5099, allocations: 45.12 kB / 0.5298 GB, free: 12.47 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.0009476/0.5109, allocations: 403.6 kB / 0.5302 GB, free: 12.28 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001791/0.5127, allocations: 481.3 kB / 0.5307 GB, free: 11.98 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.135e-06/0.5127, allocations: 0 / 0.5307 GB, free: 11.98 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007575/0.5135, allocations: 191.3 kB / 0.5309 GB, free: 11.9 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004299/0.5139, allocations: 45.02 kB / 0.5309 GB, free: 11.87 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001172/0.5151, allocations: 362.9 kB / 0.5312 GB, free: 11.62 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003895/0.5155, allocations: 0.7312 MB / 0.532 GB, free: 10.9 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001837/0.5157, allocations: 35.77 kB / 0.532 GB, free: 10.88 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.878e-05/0.5158, allocations: 21.16 kB / 0.532 GB, free: 10.86 MB / 398.1 MB Notification: Performance of SimCode: time 6.72e-07/0.5158, allocations: 1.438 kB / 0.532 GB, free: 10.86 MB / 398.1 MB Notification: Performance of Templates: time 0.007896/0.5237, allocations: 3.549 MB / 0.5355 GB, free: 9.055 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)