Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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.CombiTable2Ds.Test33,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test33,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001614/0.001614, allocations: 113.8 kB / 17.78 MB, free: 5.266 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.001762/0.001762, allocations: 183.9 kB / 18.71 MB, free: 4.348 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.466/1.466, allocations: 222.9 MB / 242.4 MB, free: 15.07 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.2252/0.2252, allocations: 44.19 MB / 336.8 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001187/0.001187, allocations: 63.91 kB / 470.6 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4095/0.4107, allocations: 60.82 MB / 0.5189 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test33): time 0.003209/0.414, allocations: 1.82 MB / 0.5207 GB, free: 2.352 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001382/0.4154, allocations: 0.8572 MB / 0.5215 GB, free: 1.758 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.474e-05/0.4155, allocations: 1.094 kB / 0.5215 GB, free: 1.758 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002304/0.4157, allocations: 61.67 kB / 0.5216 GB, free: 1.738 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002543/0.416, allocations: 76.95 kB / 0.5217 GB, free: 1.699 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004828/0.4165, allocations: 164.9 kB / 0.5218 GB, free: 1.617 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002555/0.4168, allocations: 194.6 kB / 0.522 GB, free: 1.531 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.4169, allocations: 21.48 kB / 0.522 GB, free: 1.52 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001341/0.417, allocations: 82.75 kB / 0.5221 GB, free: 1.484 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001566/0.4172, allocations: 104.5 kB / 0.5222 GB, free: 1.441 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.961e-05/0.4172, allocations: 16.91 kB / 0.5222 GB, free: 1.438 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001027/0.4173, allocations: 41.17 kB / 0.5223 GB, free: 1.43 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.588e-05/0.4174, allocations: 43.78 kB / 0.5223 GB, free: 1.406 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.866e-05/0.4175, allocations: 70.23 kB / 0.5224 GB, free: 1.359 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002648/0.4178, allocations: 177.7 kB / 0.5225 GB, free: 1.289 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.4178, allocations: 0 / 0.5225 GB, free: 1.289 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.4178, allocations: 0 / 0.5225 GB, free: 1.289 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.4178, allocations: 1.188 kB / 0.5225 GB, free: 1.289 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.0009852/0.4188, allocations: 0.5619 MB / 0.5231 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.4188, allocations: 9.062 kB / 0.5231 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.024e-05/0.4189, allocations: 18.12 kB / 0.5231 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001934/0.4191, allocations: 232 kB / 0.5233 GB, free: 0.543 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.407e-06/0.4191, allocations: 3.719 kB / 0.5233 GB, free: 0.543 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.45e-05/0.4192, allocations: 9.688 kB / 0.5234 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005169/0.4197, allocations: 151.4 kB / 0.5235 GB, free: 488 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.4197, allocations: 0 / 0.5235 GB, free: 488 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.618e-05/0.4197, allocations: 1.672 kB / 0.5235 GB, free: 488 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.4197, allocations: 1.797 kB / 0.5235 GB, free: 488 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007542/0.4205, allocations: 166.9 kB / 0.5237 GB, free: 456 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004357/0.4209, allocations: 358.8 kB / 0.524 GB, free: 140 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007739/0.4217, allocations: 194.5 kB / 0.5242 GB, free: 84 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003675/0.4221, allocations: 94.83 kB / 0.5243 GB, free: 56 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.325e-05/0.4221, allocations: 2.656 kB / 0.5243 GB, free: 56 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005938/0.4227, allocations: 160 kB / 0.5244 GB, free: 15.98 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.623e-06/0.4227, allocations: 4 kB / 0.5244 GB, free: 15.98 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.003787/0.4265, allocations: 0.8163 MB / 0.5252 GB, free: 15.71 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.208e-05/0.4266, allocations: 62.94 kB / 0.5253 GB, free: 15.64 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002325/0.4268, allocations: 236.3 kB / 0.5255 GB, free: 15.48 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.236e-05/0.4269, allocations: 32.45 kB / 0.5256 GB, free: 15.44 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.143e-05/0.4269, allocations: 124.4 kB / 0.5257 GB, free: 15.32 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.258e-05/0.427, allocations: 31.69 kB / 0.5257 GB, free: 15.3 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.871e-05/0.4271, allocations: 42.02 kB / 0.5257 GB, free: 15.26 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001382/0.4272, allocations: 330.9 kB / 0.5261 GB, free: 14.93 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007393/0.428, allocations: 165.2 kB / 0.5262 GB, free: 14.86 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007525/0.4287, allocations: 181.9 kB / 0.5264 GB, free: 14.77 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001386/0.4301, allocations: 360.5 kB / 0.5267 GB, free: 14.57 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.4302, allocations: 1.375 kB / 0.5267 GB, free: 14.57 MB / 398.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001616/0.4318, allocations: 460.7 kB / 0.5272 GB, free: 14.3 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.959e-05/0.4318, allocations: 58.5 kB / 0.5272 GB, free: 14.23 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.322e-05/0.4319, allocations: 5.719 kB / 0.5272 GB, free: 14.23 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.216e-05/0.4319, allocations: 3.938 kB / 0.5272 GB, free: 14.23 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004672/0.4324, allocations: 68.31 kB / 0.5273 GB, free: 14.2 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.163e-05/0.4324, allocations: 9.625 kB / 0.5273 GB, free: 14.19 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004121/0.4328, allocations: 60.66 kB / 0.5274 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.295e-05/0.4328, allocations: 4.906 kB / 0.5274 GB, free: 14.16 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.0001548/0.433, allocations: 135.4 kB / 0.5275 GB, free: 14.04 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.136e-05/0.4331, allocations: 15.34 kB / 0.5275 GB, free: 14.03 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001574/0.4346, allocations: 405.8 kB / 0.5279 GB, free: 13.81 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.429e-06/0.4346, allocations: 1.094 kB / 0.5279 GB, free: 13.81 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/0.4347, allocations: 4.938 kB / 0.5279 GB, free: 13.8 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.658e-06/0.4347, allocations: 0 / 0.5279 GB, free: 13.8 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001848/0.4365, allocations: 0.7041 MB / 0.5286 GB, free: 13.26 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.035e-06/0.4365, allocations: 1.438 kB / 0.5286 GB, free: 13.26 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003849/0.4369, allocations: 63.38 kB / 0.5287 GB, free: 13.23 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.791e-06/0.4369, allocations: 3.938 kB / 0.5287 GB, free: 13.23 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.111e-05/0.437, allocations: 6 kB / 0.5287 GB, free: 13.23 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.467e-06/0.437, allocations: 5.188 kB / 0.5287 GB, free: 13.22 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.437, allocations: 0 / 0.5287 GB, free: 13.22 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001555/0.4385, allocations: 475.3 kB / 0.5291 GB, free: 12.93 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.287e-05/0.4386, allocations: 92.83 kB / 0.5292 GB, free: 12.83 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.217e-05/0.4387, allocations: 14.03 kB / 0.5292 GB, free: 12.82 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004327/0.4391, allocations: 61.03 kB / 0.5293 GB, free: 12.79 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001576/0.4393, allocations: 50.89 kB / 0.5293 GB, free: 12.76 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.882e-05/0.4393, allocations: 6.766 kB / 0.5293 GB, free: 12.75 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001632/0.4395, allocations: 176.4 kB / 0.5295 GB, free: 12.64 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4395, allocations: 0 / 0.5295 GB, free: 12.64 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003138/0.4398, allocations: 49.33 kB / 0.5296 GB, free: 12.62 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.0009602/0.4408, allocations: 401.7 kB / 0.5299 GB, free: 12.43 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00159/0.4424, allocations: 468.7 kB / 0.5304 GB, free: 12.14 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.4424, allocations: 0 / 0.5304 GB, free: 12.14 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007717/0.4431, allocations: 183 kB / 0.5306 GB, free: 12.06 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003989/0.4436, allocations: 30.69 kB / 0.5306 GB, free: 12.05 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001016/0.4446, allocations: 350.1 kB / 0.5309 GB, free: 11.8 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003189/0.4449, allocations: 0.7253 MB / 0.5316 GB, free: 11.08 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001224/0.445, allocations: 22.88 kB / 0.5317 GB, free: 11.07 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.387e-05/0.4452, allocations: 24.31 kB / 0.5317 GB, free: 11.05 MB / 398.1 MB Notification: Performance of SimCode: time 8.12e-07/0.4452, allocations: 0 / 0.5317 GB, free: 11.05 MB / 398.1 MB Notification: Performance of Templates: time 0.006911/0.4521, allocations: 3.508 MB / 0.5351 GB, free: 9.266 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe 2>&1)