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.001726/0.001726, allocations: 117.6 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002163/0.002164, allocations: 199.9 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.416/1.416, allocations: 227.4 MB / 247 MB, free: 10.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.221/0.221, allocations: 46.11 MB / 344.3 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002127/0.002127, allocations: 80.08 kB / 480.9 MB, free: 4.441 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3265/0.3286, allocations: 62.45 MB / 0.5306 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test33): time 0.003274/0.3319, allocations: 1.858 MB / 0.5325 GB, free: 11.9 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001674/0.3336, allocations: 1.011 MB / 0.5334 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.235e-05/0.3337, allocations: 1.625 kB / 0.5335 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002527/0.3339, allocations: 61.72 kB / 0.5335 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000344/0.3343, allocations: 124.5 kB / 0.5336 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004132/0.3347, allocations: 158.8 kB / 0.5338 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002917/0.335, allocations: 205.9 kB / 0.534 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001237/0.3352, allocations: 20.55 kB / 0.534 GB, free: 10.74 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001383/0.3353, allocations: 87.28 kB / 0.5341 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001725/0.3355, allocations: 98.02 kB / 0.5342 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.11e-05/0.3355, allocations: 17.75 kB / 0.5342 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001093/0.3357, allocations: 51.55 kB / 0.5342 GB, free: 10.6 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.247e-05/0.3357, allocations: 37.52 kB / 0.5343 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.42e-05/0.3359, allocations: 74.66 kB / 0.5343 GB, free: 10.51 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002856/0.3361, allocations: 189.4 kB / 0.5345 GB, free: 10.38 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.3362, allocations: 3.938 kB / 0.5345 GB, free: 10.38 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.305e-06/0.3362, allocations: 0 / 0.5345 GB, free: 10.38 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.005e-05/0.3362, allocations: 0 / 0.5345 GB, free: 10.38 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.00114/0.3373, allocations: 0.5928 MB / 0.5351 GB, free: 9.809 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.3374, allocations: 8.875 kB / 0.5351 GB, free: 9.809 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.183e-05/0.3374, allocations: 37.5 kB / 0.5352 GB, free: 9.766 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.36e-05/0.3375, allocations: 16.78 kB / 0.5352 GB, free: 9.758 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002768/0.3378, allocations: 238 kB / 0.5354 GB, free: 9.504 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.183e-05/0.3378, allocations: 3.656 kB / 0.5354 GB, free: 9.504 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.145e-05/0.3378, allocations: 12.5 kB / 0.5354 GB, free: 9.496 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004965/0.3383, allocations: 143.8 kB / 0.5355 GB, free: 9.402 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.408e-05/0.3383, allocations: 7.922 kB / 0.5356 GB, free: 9.395 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.563e-05/0.3384, allocations: 1.281 kB / 0.5356 GB, free: 9.395 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.3384, allocations: 1 kB / 0.5356 GB, free: 9.395 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007167/0.3391, allocations: 166.5 kB / 0.5357 GB, free: 9.316 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005409/0.3397, allocations: 370.1 kB / 0.5361 GB, free: 8.945 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007824/0.3404, allocations: 193.3 kB / 0.5363 GB, free: 8.84 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003806/0.3408, allocations: 95.05 kB / 0.5363 GB, free: 8.789 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.338e-05/0.3409, allocations: 1.281 kB / 0.5363 GB, free: 8.789 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005598/0.3414, allocations: 166.7 kB / 0.5365 GB, free: 8.672 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.502e-06/0.3415, allocations: 0 / 0.5365 GB, free: 8.672 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.00365/0.3451, allocations: 0.8257 MB / 0.5373 GB, free: 8.254 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.13e-05/0.3452, allocations: 62.16 kB / 0.5374 GB, free: 8.184 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002797/0.3455, allocations: 249.9 kB / 0.5376 GB, free: 8.016 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.136e-05/0.3455, allocations: 31.8 kB / 0.5376 GB, free: 7.98 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.861e-05/0.3456, allocations: 125.8 kB / 0.5378 GB, free: 7.863 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.055e-05/0.3457, allocations: 36.12 kB / 0.5378 GB, free: 7.832 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.651e-05/0.3458, allocations: 36.77 kB / 0.5378 GB, free: 7.801 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001533/0.3459, allocations: 332.1 kB / 0.5381 GB, free: 7.473 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007278/0.3467, allocations: 169.4 kB / 0.5383 GB, free: 7.395 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007025/0.3474, allocations: 169.4 kB / 0.5385 GB, free: 7.316 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001358/0.3487, allocations: 365.4 kB / 0.5388 GB, free: 7.105 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.3488, allocations: 0 / 0.5388 GB, free: 7.105 MB / 398.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001552/0.3503, allocations: 467.1 kB / 0.5393 GB, free: 6.832 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.662e-05/0.3504, allocations: 62.08 kB / 0.5393 GB, free: 6.766 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.3504, allocations: 0 / 0.5393 GB, free: 6.766 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.3504, allocations: 1.312 kB / 0.5393 GB, free: 6.766 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004135/0.3508, allocations: 71.69 kB / 0.5394 GB, free: 6.734 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.3508, allocations: 1.141 kB / 0.5394 GB, free: 6.734 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004218/0.3513, allocations: 71.72 kB / 0.5395 GB, free: 6.699 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.695e-05/0.3513, allocations: 11.95 kB / 0.5395 GB, free: 6.691 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.0001362/0.3514, allocations: 131.8 kB / 0.5396 GB, free: 6.566 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.208e-05/0.3515, allocations: 20.02 kB / 0.5396 GB, free: 6.555 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001552/0.3531, allocations: 412.2 kB / 0.54 GB, free: 6.332 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.123e-06/0.3531, allocations: 6.281 kB / 0.54 GB, free: 6.328 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.3531, allocations: 0 / 0.54 GB, free: 6.328 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.3531, allocations: 0 / 0.54 GB, free: 6.328 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00182/0.3549, allocations: 0.7143 MB / 0.5407 GB, free: 5.773 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.3549, allocations: 3.984 kB / 0.5407 GB, free: 5.77 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003777/0.3553, allocations: 67.62 kB / 0.5408 GB, free: 5.742 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.808e-06/0.3553, allocations: 1.094 kB / 0.5408 GB, free: 5.742 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.807e-05/0.3554, allocations: 1.094 kB / 0.5408 GB, free: 5.742 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.3554, allocations: 5.281 kB / 0.5408 GB, free: 5.738 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.3554, allocations: 0 / 0.5408 GB, free: 5.738 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001533/0.3569, allocations: 480.3 kB / 0.5412 GB, free: 5.441 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.46e-05/0.357, allocations: 97.42 kB / 0.5413 GB, free: 5.332 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.188e-05/0.357, allocations: 10.17 kB / 0.5414 GB, free: 5.324 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004019/0.3574, allocations: 66.22 kB / 0.5414 GB, free: 5.293 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001534/0.3576, allocations: 45.75 kB / 0.5415 GB, free: 5.266 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.848e-05/0.3576, allocations: 3.25 kB / 0.5415 GB, free: 5.266 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001894/0.3578, allocations: 187.1 kB / 0.5416 GB, free: 5.145 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3578, allocations: 0 / 0.5416 GB, free: 5.145 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003078/0.3581, allocations: 49.91 kB / 0.5417 GB, free: 5.133 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.003168/0.3613, allocations: 1.307 MB / 0.543 GB, free: 4.184 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001596/0.3629, allocations: 470.7 kB / 0.5434 GB, free: 3.895 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.3629, allocations: 3.938 kB / 0.5434 GB, free: 3.891 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007618/0.3637, allocations: 180.1 kB / 0.5436 GB, free: 3.812 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003691/0.3641, allocations: 48.25 kB / 0.5436 GB, free: 3.781 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006089/0.3702, allocations: 2.833 MB / 0.5464 GB, free: 1.145 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000383/0.3706, allocations: 0.7319 MB / 0.5471 GB, free: 396 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001227/0.3707, allocations: 13.42 kB / 0.5471 GB, free: 384 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001372/0.3709, allocations: 63.41 kB / 0.5472 GB, free: 320 kB / 398.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3709, allocations: 0 / 0.5472 GB, free: 320 kB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02646/0.3974, allocations: 5.74 MB / 0.5528 GB, free: 10.65 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.906/8.303, allocations: 16.03 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)