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.001684/0.001684, allocations: 122.8 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001544/0.001544, allocations: 202 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.474/1.474, allocations: 227.4 MB / 247 MB, free: 10.5 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.2349/0.2349, allocations: 46.12 MB / 344.4 MB, free: 11.46 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.002275/0.002275, allocations: 83.86 kB / 480.9 MB, free: 4.492 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3387/0.341, allocations: 62.44 MB / 0.5306 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test33): time 0.003312/0.3444, allocations: 1.867 MB / 0.5324 GB, free: 11.92 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001738/0.3461, allocations: 1.034 MB / 0.5335 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.607e-05/0.3462, allocations: 0 / 0.5335 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002342/0.3465, allocations: 63.09 kB / 0.5335 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003213/0.3468, allocations: 127.7 kB / 0.5336 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004796/0.3473, allocations: 215.6 kB / 0.5338 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002763/0.3476, allocations: 203.8 kB / 0.534 GB, free: 10.72 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001145/0.3477, allocations: 33.89 kB / 0.5341 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001134/0.3478, allocations: 79.31 kB / 0.5341 GB, free: 10.65 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001557/0.348, allocations: 104.8 kB / 0.5342 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.096e-05/0.348, allocations: 12.38 kB / 0.5343 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001121/0.3481, allocations: 43.61 kB / 0.5343 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.26e-05/0.3482, allocations: 42.89 kB / 0.5343 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000107/0.3483, allocations: 78.64 kB / 0.5344 GB, free: 10.48 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002835/0.3486, allocations: 195.2 kB / 0.5346 GB, free: 10.35 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.3486, allocations: 1.375 kB / 0.5346 GB, free: 10.35 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.3486, allocations: 0 / 0.5346 GB, free: 10.35 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.66e-06/0.3487, allocations: 0 / 0.5346 GB, free: 10.35 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.001144/0.3498, allocations: 0.5961 MB / 0.5352 GB, free: 9.773 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.3499, allocations: 10.53 kB / 0.5352 GB, free: 9.773 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4e-05/0.3499, allocations: 31.97 kB / 0.5352 GB, free: 9.734 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.382e-05/0.35, allocations: 17.47 kB / 0.5352 GB, free: 9.727 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002907/0.3503, allocations: 247.6 kB / 0.5355 GB, free: 9.465 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.39e-05/0.3503, allocations: 8 kB / 0.5355 GB, free: 9.461 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.39e-05/0.3503, allocations: 8.312 kB / 0.5355 GB, free: 9.457 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005164/0.3508, allocations: 149.3 kB / 0.5356 GB, free: 9.359 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.3509, allocations: 0 / 0.5356 GB, free: 9.359 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.52e-05/0.3509, allocations: 1.219 kB / 0.5356 GB, free: 9.359 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.618e-06/0.3509, allocations: 1.188 kB / 0.5356 GB, free: 9.359 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000754/0.3517, allocations: 167.7 kB / 0.5358 GB, free: 9.281 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008776/0.3525, allocations: 441.7 kB / 0.5362 GB, free: 8.875 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008031/0.3534, allocations: 195.4 kB / 0.5364 GB, free: 8.77 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003814/0.3538, allocations: 96.97 kB / 0.5365 GB, free: 8.719 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.938e-05/0.3538, allocations: 1.938 kB / 0.5365 GB, free: 8.719 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005992/0.3544, allocations: 175.5 kB / 0.5367 GB, free: 8.594 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.482e-06/0.3544, allocations: 3.938 kB / 0.5367 GB, free: 8.59 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.003941/0.3584, allocations: 0.8278 MB / 0.5375 GB, free: 8.18 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.497e-05/0.3585, allocations: 57.5 kB / 0.5375 GB, free: 8.113 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003744/0.3588, allocations: 263.7 kB / 0.5378 GB, free: 7.934 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.794e-05/0.3589, allocations: 31.67 kB / 0.5378 GB, free: 7.898 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001108/0.359, allocations: 121.1 kB / 0.5379 GB, free: 7.785 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.387e-05/0.3591, allocations: 45.86 kB / 0.538 GB, free: 7.746 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001047/0.3592, allocations: 33.7 kB / 0.538 GB, free: 7.719 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002401/0.3594, allocations: 332.2 kB / 0.5383 GB, free: 7.391 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007973/0.3602, allocations: 175.8 kB / 0.5385 GB, free: 7.309 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007719/0.361, allocations: 177.1 kB / 0.5387 GB, free: 7.227 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001395/0.3624, allocations: 376.4 kB / 0.539 GB, free: 7.012 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.057e-06/0.3624, allocations: 4 kB / 0.539 GB, free: 7.008 MB / 398.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001803/0.3643, allocations: 471.7 kB / 0.5395 GB, free: 6.734 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.055e-05/0.3643, allocations: 63.02 kB / 0.5395 GB, free: 6.668 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.786e-06/0.3644, allocations: 0 / 0.5395 GB, free: 6.668 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.219e-05/0.3644, allocations: 1 kB / 0.5395 GB, free: 6.668 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004699/0.3649, allocations: 80.22 kB / 0.5396 GB, free: 6.629 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.737e-06/0.3649, allocations: 1.125 kB / 0.5396 GB, free: 6.629 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000448/0.3653, allocations: 63.41 kB / 0.5397 GB, free: 6.602 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.963e-05/0.3654, allocations: 8.797 kB / 0.5397 GB, free: 6.598 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.000231/0.3656, allocations: 136.7 kB / 0.5398 GB, free: 6.469 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.205e-05/0.3657, allocations: 20.27 kB / 0.5398 GB, free: 6.457 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00165/0.3673, allocations: 424.1 kB / 0.5402 GB, free: 6.227 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.803e-06/0.3674, allocations: 6.125 kB / 0.5402 GB, free: 6.223 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.3674, allocations: 0 / 0.5402 GB, free: 6.223 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.846e-06/0.3674, allocations: 9.047 kB / 0.5403 GB, free: 6.215 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001947/0.3693, allocations: 0.72 MB / 0.541 GB, free: 5.664 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.3694, allocations: 0 / 0.541 GB, free: 5.664 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000375/0.3697, allocations: 71.12 kB / 0.541 GB, free: 5.633 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.526e-06/0.3698, allocations: 9.094 kB / 0.541 GB, free: 5.625 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.869e-05/0.3698, allocations: 1.094 kB / 0.541 GB, free: 5.625 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/0.3698, allocations: 0.9062 kB / 0.541 GB, free: 5.625 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.3698, allocations: 4.938 kB / 0.541 GB, free: 5.621 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00158/0.3714, allocations: 497.1 kB / 0.5415 GB, free: 5.316 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.069e-05/0.3715, allocations: 97.25 kB / 0.5416 GB, free: 5.207 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.426e-05/0.3716, allocations: 6.219 kB / 0.5416 GB, free: 5.203 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004414/0.372, allocations: 61.98 kB / 0.5417 GB, free: 5.176 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001807/0.3722, allocations: 49.47 kB / 0.5417 GB, free: 5.145 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.036e-05/0.3722, allocations: 3.75 kB / 0.5417 GB, free: 5.145 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002267/0.3725, allocations: 190.3 kB / 0.5419 GB, free: 5.023 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3725, allocations: 0 / 0.5419 GB, free: 5.023 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003315/0.3728, allocations: 46.3 kB / 0.5419 GB, free: 5.016 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.003496/0.3763, allocations: 1.317 MB / 0.5432 GB, free: 4.062 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001679/0.378, allocations: 484.4 kB / 0.5437 GB, free: 3.766 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.378, allocations: 0.875 kB / 0.5437 GB, free: 3.766 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000838/0.3789, allocations: 186 kB / 0.5439 GB, free: 3.684 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004009/0.3793, allocations: 39.53 kB / 0.5439 GB, free: 3.66 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006477/0.3858, allocations: 2.909 MB / 0.5468 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003807/0.3862, allocations: 0.7319 MB / 0.5475 GB, free: 68 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001611/0.3863, allocations: 29.41 kB / 0.5475 GB, free: 40 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001576/0.3865, allocations: 55.41 kB / 0.5475 GB, free: 15.98 MB / 414.1 MB Notification: Performance of SimCode: time 6.21e-07/0.3865, allocations: 0 / 0.5475 GB, free: 15.98 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02841/0.4149, allocations: 5.842 MB / 0.5533 GB, free: 10.24 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.417/8.832, allocations: 10.03 kB / 0.5533 GB, free: 10.23 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test33_fmu --startTime=0 --stopTime=14 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test33.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe 2>&1)