Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.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 trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.CombiTable2Ds.Test33,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test33,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_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.001433/0.001432, allocations: 118.8 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001632/0.001633, allocations: 202 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.381/1.381, allocations: 227.4 MB / 246.9 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2103/0.2103, allocations: 46.09 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001346/0.001346, allocations: 71.89 kB / 480.8 MB, free: 4.547 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3463/0.3477, allocations: 62.45 MB / 0.5305 GB, free: 13.4 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test33): time 0.002933/0.3507, allocations: 1.855 MB / 0.5324 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001456/0.3521, allocations: 1.016 MB / 0.5333 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.349e-05/0.3522, allocations: 1.219 kB / 0.5333 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002238/0.3525, allocations: 62.94 kB / 0.5334 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003103/0.3528, allocations: 119 kB / 0.5335 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003812/0.3532, allocations: 168.3 kB / 0.5337 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002737/0.3535, allocations: 201.9 kB / 0.5339 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001119/0.3536, allocations: 24.66 kB / 0.5339 GB, free: 10.78 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001198/0.3537, allocations: 82.41 kB / 0.534 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001447/0.3539, allocations: 103 kB / 0.5341 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.696e-05/0.3539, allocations: 16.38 kB / 0.5341 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001026/0.354, allocations: 35.38 kB / 0.5341 GB, free: 10.65 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.823e-05/0.3541, allocations: 45.69 kB / 0.5342 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.692e-05/0.3542, allocations: 70.88 kB / 0.5342 GB, free: 10.56 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002547/0.3544, allocations: 196.2 kB / 0.5344 GB, free: 10.43 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.3545, allocations: 1.375 kB / 0.5344 GB, free: 10.43 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.477e-06/0.3545, allocations: 0 / 0.5344 GB, free: 10.43 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.121e-05/0.3545, allocations: 3.938 kB / 0.5344 GB, free: 10.42 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.001079/0.3556, allocations: 0.5811 MB / 0.535 GB, free: 9.863 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.3556, allocations: 9.625 kB / 0.535 GB, free: 9.863 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.585e-05/0.3557, allocations: 36.12 kB / 0.535 GB, free: 9.82 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.4e-05/0.3557, allocations: 20.98 kB / 0.5351 GB, free: 9.809 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000243/0.356, allocations: 229.6 kB / 0.5353 GB, free: 9.562 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.283e-05/0.356, allocations: 7.125 kB / 0.5353 GB, free: 9.559 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.011e-05/0.356, allocations: 9.438 kB / 0.5353 GB, free: 9.555 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004977/0.3565, allocations: 147.1 kB / 0.5354 GB, free: 9.457 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/0.3565, allocations: 3.938 kB / 0.5354 GB, free: 9.453 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.419e-05/0.3566, allocations: 5.312 kB / 0.5354 GB, free: 9.449 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.3566, allocations: 1.375 kB / 0.5354 GB, free: 9.449 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007514/0.3573, allocations: 165 kB / 0.5356 GB, free: 9.371 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005279/0.3579, allocations: 371.1 kB / 0.536 GB, free: 9 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008533/0.3587, allocations: 193.5 kB / 0.5361 GB, free: 8.895 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003953/0.3591, allocations: 95.16 kB / 0.5362 GB, free: 8.844 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.372e-05/0.3592, allocations: 1.219 kB / 0.5362 GB, free: 8.844 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000595/0.3598, allocations: 163.2 kB / 0.5364 GB, free: 8.73 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.603e-06/0.3598, allocations: 0 / 0.5364 GB, free: 8.73 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.003693/0.3635, allocations: 0.8155 MB / 0.5372 GB, free: 8.324 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.272e-05/0.3636, allocations: 66.62 kB / 0.5372 GB, free: 8.25 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002806/0.3639, allocations: 249.6 kB / 0.5375 GB, free: 8.082 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.688e-05/0.3639, allocations: 27.98 kB / 0.5375 GB, free: 8.051 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.239e-05/0.364, allocations: 129 kB / 0.5376 GB, free: 7.93 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.148e-05/0.364, allocations: 39.92 kB / 0.5377 GB, free: 7.895 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.373e-05/0.3641, allocations: 37.58 kB / 0.5377 GB, free: 7.863 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001308/0.3643, allocations: 328 kB / 0.538 GB, free: 7.539 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007308/0.365, allocations: 172.7 kB / 0.5382 GB, free: 7.457 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006888/0.3657, allocations: 165.6 kB / 0.5383 GB, free: 7.383 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00137/0.3671, allocations: 361.6 kB / 0.5387 GB, free: 7.176 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.3671, allocations: 0 / 0.5387 GB, free: 7.176 MB / 398.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001536/0.3686, allocations: 465.7 kB / 0.5391 GB, free: 6.906 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.161e-05/0.3687, allocations: 61.25 kB / 0.5392 GB, free: 6.84 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.3687, allocations: 1.531 kB / 0.5392 GB, free: 6.84 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.3687, allocations: 0.5625 kB / 0.5392 GB, free: 6.84 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004413/0.3692, allocations: 72.84 kB / 0.5393 GB, free: 6.809 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.3692, allocations: 0 / 0.5393 GB, free: 6.809 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003932/0.3696, allocations: 71.94 kB / 0.5393 GB, free: 6.773 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.364e-05/0.3696, allocations: 12.34 kB / 0.5393 GB, free: 6.766 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.00013/0.3698, allocations: 147.4 kB / 0.5395 GB, free: 6.625 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.08e-05/0.3698, allocations: 24.28 kB / 0.5395 GB, free: 6.609 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001541/0.3714, allocations: 405.8 kB / 0.5399 GB, free: 6.391 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.3714, allocations: 5.281 kB / 0.5399 GB, free: 6.387 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.3714, allocations: 0 / 0.5399 GB, free: 6.387 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.3714, allocations: 0 / 0.5399 GB, free: 6.387 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001784/0.3732, allocations: 0.7067 MB / 0.5406 GB, free: 5.84 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.3732, allocations: 0 / 0.5406 GB, free: 5.84 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003786/0.3736, allocations: 75.72 kB / 0.5407 GB, free: 5.805 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.3736, allocations: 1.094 kB / 0.5407 GB, free: 5.805 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.942e-05/0.3736, allocations: 1.219 kB / 0.5407 GB, free: 5.805 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.3736, allocations: 0.9688 kB / 0.5407 GB, free: 5.805 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.3736, allocations: 0 / 0.5407 GB, free: 5.805 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001514/0.3751, allocations: 487.1 kB / 0.5411 GB, free: 5.504 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.782e-05/0.3752, allocations: 101.6 kB / 0.5412 GB, free: 5.391 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.922e-05/0.3753, allocations: 6.281 kB / 0.5412 GB, free: 5.387 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004144/0.3757, allocations: 62.25 kB / 0.5413 GB, free: 5.359 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001484/0.3759, allocations: 46.25 kB / 0.5413 GB, free: 5.332 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-05/0.3759, allocations: 6.969 kB / 0.5413 GB, free: 5.328 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001759/0.3761, allocations: 186.4 kB / 0.5415 GB, free: 5.207 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3761, allocations: 0 / 0.5415 GB, free: 5.207 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003124/0.3764, allocations: 41.41 kB / 0.5416 GB, free: 5.203 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.002661/0.3791, allocations: 1.309 MB / 0.5428 GB, free: 4.25 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001563/0.3806, allocations: 463 kB / 0.5433 GB, free: 3.969 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.3807, allocations: 1.312 kB / 0.5433 GB, free: 3.969 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007476/0.3814, allocations: 186.2 kB / 0.5435 GB, free: 3.883 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003795/0.3818, allocations: 38.64 kB / 0.5435 GB, free: 3.859 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005894/0.3877, allocations: 2.827 MB / 0.5463 GB, free: 1.281 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002808/0.388, allocations: 0.7319 MB / 0.547 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001297/0.3881, allocations: 25.41 kB / 0.547 GB, free: 0.5 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001384/0.3883, allocations: 51.42 kB / 0.547 GB, free: 460 kB / 398.1 MB Notification: Performance of SimCode: time 6.11e-07/0.3883, allocations: 0 / 0.547 GB, free: 460 kB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02386/0.4122, allocations: 5.874 MB / 0.5528 GB, free: 10.66 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.749/8.161, allocations: 24.05 kB / 0.5528 GB, free: 10.64 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test33_fmu --startTime=0 --stopTime=14 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test33.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe 2>&1)