Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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 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.CombiTable2Dv.Test33,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test33,fileNamePrefix="ModelicaTest_trunk_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.001193/0.001193, allocations: 117.6 kB / 17.79 MB, free: 5.238 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001439/0.001439, allocations: 204.7 kB / 18.74 MB, free: 4.297 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.352/1.352, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2149/0.2149, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001535/0.001535, allocations: 80.06 kB / 480.8 MB, free: 4.547 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3283/0.3298, allocations: 62.44 MB / 0.5305 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test33): time 0.002913/0.3328, allocations: 1.861 MB / 0.5323 GB, free: 11.97 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001518/0.3343, allocations: 1.043 MB / 0.5334 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.666e-05/0.3344, allocations: 0 / 0.5334 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002374/0.3347, allocations: 64.47 kB / 0.5334 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003208/0.335, allocations: 123.1 kB / 0.5335 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005117/0.3355, allocations: 207.2 kB / 0.5337 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002818/0.3358, allocations: 205.2 kB / 0.5339 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001205/0.3359, allocations: 33.72 kB / 0.534 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001244/0.3361, allocations: 83.06 kB / 0.5341 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001564/0.3362, allocations: 104.6 kB / 0.5342 GB, free: 10.63 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.283e-05/0.3363, allocations: 12.75 kB / 0.5342 GB, free: 10.63 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001024/0.3364, allocations: 44.08 kB / 0.5342 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.302e-05/0.3365, allocations: 45.83 kB / 0.5342 GB, free: 10.58 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001037/0.3366, allocations: 78.67 kB / 0.5343 GB, free: 10.52 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003004/0.3369, allocations: 191.4 kB / 0.5345 GB, free: 10.39 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.3369, allocations: 0 / 0.5345 GB, free: 10.39 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.3369, allocations: 0 / 0.5345 GB, free: 10.39 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.422e-06/0.3369, allocations: 0 / 0.5345 GB, free: 10.39 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.001074/0.338, allocations: 0.5859 MB / 0.5351 GB, free: 9.828 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.3381, allocations: 9.625 kB / 0.5351 GB, free: 9.828 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.043e-05/0.3381, allocations: 44.06 kB / 0.5351 GB, free: 9.777 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.643e-05/0.3382, allocations: 18.38 kB / 0.5351 GB, free: 9.77 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002625/0.3384, allocations: 235 kB / 0.5354 GB, free: 9.52 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/0.3385, allocations: 3.125 kB / 0.5354 GB, free: 9.52 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.185e-05/0.3385, allocations: 12.06 kB / 0.5354 GB, free: 9.512 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004715/0.339, allocations: 144.5 kB / 0.5355 GB, free: 9.418 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.339, allocations: 5.312 kB / 0.5355 GB, free: 9.414 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.529e-05/0.339, allocations: 4 kB / 0.5355 GB, free: 9.41 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.339, allocations: 1.375 kB / 0.5355 GB, free: 9.41 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006418/0.3397, allocations: 169.1 kB / 0.5357 GB, free: 9.332 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007632/0.3404, allocations: 436.7 kB / 0.5361 GB, free: 8.93 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007127/0.3412, allocations: 195.9 kB / 0.5363 GB, free: 8.824 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003441/0.3415, allocations: 100 kB / 0.5364 GB, free: 8.77 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.695e-05/0.3416, allocations: 1.281 kB / 0.5364 GB, free: 8.77 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005839/0.3422, allocations: 164.7 kB / 0.5366 GB, free: 8.656 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 2.415e-06/0.3422, allocations: 4 kB / 0.5366 GB, free: 8.652 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.003417/0.3456, allocations: 0.8335 MB / 0.5374 GB, free: 8.238 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.236e-05/0.3457, allocations: 69.88 kB / 0.5374 GB, free: 8.16 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002594/0.3459, allocations: 255.7 kB / 0.5377 GB, free: 7.988 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.898e-05/0.346, allocations: 31.92 kB / 0.5377 GB, free: 7.953 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.541e-05/0.346, allocations: 128.8 kB / 0.5378 GB, free: 7.832 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.886e-05/0.3461, allocations: 36.62 kB / 0.5379 GB, free: 7.801 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.569e-05/0.3462, allocations: 34.17 kB / 0.5379 GB, free: 7.773 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001084/0.3463, allocations: 336.1 kB / 0.5382 GB, free: 7.441 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006304/0.3469, allocations: 171.5 kB / 0.5384 GB, free: 7.363 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006183/0.3476, allocations: 177.1 kB / 0.5386 GB, free: 7.281 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001196/0.3488, allocations: 378.1 kB / 0.5389 GB, free: 7.062 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.3488, allocations: 0 / 0.5389 GB, free: 7.062 MB / 398.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001352/0.3501, allocations: 471 kB / 0.5394 GB, free: 6.793 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.049e-05/0.3502, allocations: 65.08 kB / 0.5394 GB, free: 6.723 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.3502, allocations: 5.281 kB / 0.5394 GB, free: 6.719 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.3502, allocations: 0.5625 kB / 0.5394 GB, free: 6.719 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003842/0.3506, allocations: 69.22 kB / 0.5395 GB, free: 6.691 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.551e-06/0.3506, allocations: 4 kB / 0.5395 GB, free: 6.688 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003751/0.351, allocations: 63.06 kB / 0.5396 GB, free: 6.66 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.632e-05/0.3511, allocations: 11.8 kB / 0.5396 GB, free: 6.652 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.0001329/0.3512, allocations: 133.8 kB / 0.5397 GB, free: 6.527 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.078e-05/0.3512, allocations: 24.17 kB / 0.5397 GB, free: 6.512 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001435/0.3527, allocations: 424.5 kB / 0.5401 GB, free: 6.281 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.3527, allocations: 5.25 kB / 0.5401 GB, free: 6.277 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.3527, allocations: 1.625 kB / 0.5401 GB, free: 6.277 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.3527, allocations: 0 / 0.5401 GB, free: 6.277 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001668/0.3544, allocations: 0.7314 MB / 0.5408 GB, free: 5.715 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.3544, allocations: 0 / 0.5408 GB, free: 5.715 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003469/0.3548, allocations: 68.09 kB / 0.5409 GB, free: 5.688 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.077e-06/0.3548, allocations: 1.594 kB / 0.5409 GB, free: 5.688 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.172e-05/0.3548, allocations: 9.25 kB / 0.5409 GB, free: 5.68 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.3548, allocations: 4 kB / 0.5409 GB, free: 5.676 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.3548, allocations: 0 / 0.5409 GB, free: 5.676 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001334/0.3562, allocations: 489.4 kB / 0.5414 GB, free: 5.379 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.119e-05/0.3562, allocations: 102.5 kB / 0.5415 GB, free: 5.266 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.61e-05/0.3563, allocations: 5.094 kB / 0.5415 GB, free: 5.262 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003999/0.3567, allocations: 66.86 kB / 0.5416 GB, free: 5.23 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000145/0.3568, allocations: 49.28 kB / 0.5416 GB, free: 5.199 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.758e-05/0.3569, allocations: 2.906 kB / 0.5416 GB, free: 5.199 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001743/0.357, allocations: 190.7 kB / 0.5418 GB, free: 5.078 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.357, allocations: 4 kB / 0.5418 GB, free: 5.074 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003149/0.3574, allocations: 51.23 kB / 0.5418 GB, free: 5.062 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.002483/0.3599, allocations: 1.303 MB / 0.5431 GB, free: 4.117 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001439/0.3613, allocations: 492.5 kB / 0.5436 GB, free: 3.816 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.3613, allocations: 0 / 0.5436 GB, free: 3.816 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006851/0.362, allocations: 190.2 kB / 0.5438 GB, free: 3.73 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003768/0.3624, allocations: 42.22 kB / 0.5438 GB, free: 3.703 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005544/0.368, allocations: 2.891 MB / 0.5466 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003254/0.3683, allocations: 0.7319 MB / 0.5473 GB, free: 148 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001701/0.3685, allocations: 29.41 kB / 0.5474 GB, free: 120 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001431/0.3686, allocations: 55.41 kB / 0.5474 GB, free: 64 kB / 398.1 MB Notification: Performance of SimCode: time 9.52e-07/0.3687, allocations: 4 kB / 0.5474 GB, free: 60 kB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02312/0.3918, allocations: 5.816 MB / 0.5531 GB, free: 10.32 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.841/8.233, allocations: 23.62 kB / 0.5531 GB, free: 10.3 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test33_fmu --startTime=0 --stopTime=14 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test33.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe 2>&1)