Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test33.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test33,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test33,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test33",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001772/0.001772, allocations: 121.5 kB / 17.78 MB, free: 5.242 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002205/0.002205, allocations: 199.9 kB / 18.73 MB, free: 4.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.465/1.465, allocations: 227.4 MB / 247 MB, free: 10.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2413/0.2413, allocations: 46.12 MB / 344.4 MB, free: 11.45 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002243/0.002243, allocations: 79.86 kB / 480.9 MB, free: 4.48 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3428/0.345, allocations: 62.45 MB / 0.5306 GB, free: 13.22 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test33): time 0.003442/0.3485, allocations: 1.865 MB / 0.5324 GB, free: 11.76 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002028/0.3506, allocations: 1.039 MB / 0.5335 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000111/0.3507, allocations: 7.938 kB / 0.5335 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002875/0.3511, allocations: 55.23 kB / 0.5335 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004002/0.3515, allocations: 124.5 kB / 0.5336 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006135/0.3521, allocations: 213.6 kB / 0.5338 GB, free: 10.67 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003305/0.3524, allocations: 204.6 kB / 0.534 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001373/0.3526, allocations: 31.28 kB / 0.5341 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001326/0.3527, allocations: 83.25 kB / 0.5342 GB, free: 10.48 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001942/0.3529, allocations: 103.4 kB / 0.5342 GB, free: 10.42 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.253e-05/0.353, allocations: 17.5 kB / 0.5343 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001232/0.3531, allocations: 43.17 kB / 0.5343 GB, free: 10.4 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000101/0.3532, allocations: 37.77 kB / 0.5343 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001096/0.3533, allocations: 82.8 kB / 0.5344 GB, free: 10.31 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003266/0.3537, allocations: 192.7 kB / 0.5346 GB, free: 10.18 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.3537, allocations: 0 / 0.5346 GB, free: 10.18 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3537, allocations: 0 / 0.5346 GB, free: 10.18 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.192e-06/0.3537, allocations: 0 / 0.5346 GB, free: 10.18 MB / 398.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.001212/0.3549, allocations: 0.5974 MB / 0.5352 GB, free: 9.605 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.3549, allocations: 13.62 kB / 0.5352 GB, free: 9.602 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.415e-05/0.355, allocations: 31.88 kB / 0.5352 GB, free: 9.562 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.639e-05/0.3551, allocations: 18 kB / 0.5353 GB, free: 9.555 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002959/0.3554, allocations: 243.1 kB / 0.5355 GB, free: 9.297 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.543e-05/0.3554, allocations: 7.781 kB / 0.5355 GB, free: 9.293 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.979e-05/0.3554, allocations: 8.688 kB / 0.5355 GB, free: 9.289 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000539/0.356, allocations: 148.9 kB / 0.5356 GB, free: 9.191 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.356, allocations: 0 / 0.5356 GB, free: 9.191 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.496e-05/0.356, allocations: 1.25 kB / 0.5356 GB, free: 9.191 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-06/0.356, allocations: 0.9375 kB / 0.5356 GB, free: 9.191 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007941/0.3568, allocations: 168.9 kB / 0.5358 GB, free: 9.113 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001088/0.3579, allocations: 442 kB / 0.5362 GB, free: 8.707 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008559/0.3588, allocations: 195.6 kB / 0.5364 GB, free: 8.602 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003953/0.3592, allocations: 91.91 kB / 0.5365 GB, free: 8.555 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.637e-05/0.3592, allocations: 5.344 kB / 0.5365 GB, free: 8.551 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006239/0.3599, allocations: 172.1 kB / 0.5367 GB, free: 8.43 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.834e-06/0.3599, allocations: 0 / 0.5367 GB, free: 8.43 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.003889/0.3638, allocations: 0.8283 MB / 0.5375 GB, free: 8.02 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.842e-05/0.3639, allocations: 62.98 kB / 0.5375 GB, free: 7.949 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002966/0.3642, allocations: 262.3 kB / 0.5378 GB, free: 7.77 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.595e-05/0.3642, allocations: 36.2 kB / 0.5378 GB, free: 7.73 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.668e-05/0.3643, allocations: 121.5 kB / 0.5379 GB, free: 7.617 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.269e-05/0.3644, allocations: 44.48 kB / 0.538 GB, free: 7.578 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.642e-05/0.3645, allocations: 34.39 kB / 0.538 GB, free: 7.551 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000161/0.3646, allocations: 332.2 kB / 0.5383 GB, free: 7.223 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000775/0.3654, allocations: 180.2 kB / 0.5385 GB, free: 7.137 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007435/0.3662, allocations: 172.1 kB / 0.5387 GB, free: 7.059 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001418/0.3676, allocations: 376.5 kB / 0.539 GB, free: 6.844 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.3676, allocations: 4 kB / 0.539 GB, free: 6.84 MB / 398.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001645/0.3693, allocations: 469.1 kB / 0.5395 GB, free: 6.57 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.125e-05/0.3693, allocations: 62.52 kB / 0.5395 GB, free: 6.504 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.3694, allocations: 0 / 0.5395 GB, free: 6.504 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.3694, allocations: 0 / 0.5395 GB, free: 6.504 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004198/0.3698, allocations: 80.34 kB / 0.5396 GB, free: 6.465 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.3698, allocations: 1.312 kB / 0.5396 GB, free: 6.465 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004066/0.3702, allocations: 63.78 kB / 0.5397 GB, free: 6.438 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.55e-05/0.3703, allocations: 6.922 kB / 0.5397 GB, free: 6.434 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.0001531/0.3704, allocations: 142 kB / 0.5398 GB, free: 6.301 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.829e-05/0.3705, allocations: 15.59 kB / 0.5398 GB, free: 6.293 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002186/0.3727, allocations: 425.3 kB / 0.5402 GB, free: 6.062 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.668e-06/0.3727, allocations: 4.938 kB / 0.5402 GB, free: 6.059 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.638e-06/0.3727, allocations: 4.641 kB / 0.5402 GB, free: 6.055 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.3727, allocations: 4 kB / 0.5402 GB, free: 6.051 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002951/0.3757, allocations: 0.7245 MB / 0.541 GB, free: 5.496 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.3757, allocations: 0 / 0.541 GB, free: 5.496 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005783/0.3763, allocations: 80.03 kB / 0.541 GB, free: 5.457 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.352e-06/0.3763, allocations: 1.125 kB / 0.541 GB, free: 5.457 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.757e-05/0.3764, allocations: 1.125 kB / 0.541 GB, free: 5.457 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.468e-06/0.3764, allocations: 1.156 kB / 0.541 GB, free: 5.457 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.3764, allocations: 0 / 0.541 GB, free: 5.457 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002314/0.3787, allocations: 497.2 kB / 0.5415 GB, free: 5.152 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001242/0.3788, allocations: 98 kB / 0.5416 GB, free: 5.043 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.251e-05/0.3789, allocations: 9.406 kB / 0.5416 GB, free: 5.035 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006241/0.3795, allocations: 62.14 kB / 0.5417 GB, free: 5.008 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002312/0.3798, allocations: 54.44 kB / 0.5417 GB, free: 4.973 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.926e-05/0.3798, allocations: 2.219 kB / 0.5417 GB, free: 4.973 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003166/0.3802, allocations: 187.5 kB / 0.5419 GB, free: 4.855 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3802, allocations: 0 / 0.5419 GB, free: 4.855 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005654/0.3807, allocations: 46.92 kB / 0.5419 GB, free: 4.848 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.004665/0.3854, allocations: 1.32 MB / 0.5432 GB, free: 3.891 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002502/0.388, allocations: 481.3 kB / 0.5437 GB, free: 3.598 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.388, allocations: 4 kB / 0.5437 GB, free: 3.594 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001243/0.3892, allocations: 186.1 kB / 0.5439 GB, free: 3.512 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007311/0.39, allocations: 39.48 kB / 0.5439 GB, free: 3.484 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01076/0.4008, allocations: 2.886 MB / 0.5467 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006869/0.4015, allocations: 0.7319 MB / 0.5475 GB, free: 15.93 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002889/0.4019, allocations: 33.39 kB / 0.5475 GB, free: 15.9 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002284/0.4021, allocations: 59.41 kB / 0.5475 GB, free: 15.84 MB / 414.1 MB Notification: Performance of SimCode: time 1.052e-06/0.4021, allocations: 0 / 0.5475 GB, free: 15.84 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02879/0.4309, allocations: 5.842 MB / 0.5532 GB, free: 10.1 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.294/8.725, allocations: 8.156 kB / 0.5533 GB, free: 10.1 MB / 414.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test33.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test33_res.csv --start-time 0 --stop-time 14 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0056 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test33.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe 2>&1)