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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001293/0.001293, allocations: 116.5 kB / 18.5 MB, free: 4.434 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001439/0.001439, allocations: 216.9 kB / 21.47 MB, free: 1.473 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.493/1.493, allocations: 230.2 MB / 254.5 MB, free: 15.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.24/0.24, allocations: 46.9 MB / 357.4 MB, free: 10.55 MB / 286.1 MB " [Timeout remaining time 180] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002258/0.002258, allocations: 83.84 kB / 0.4913 GB, free: 8.488 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1384/0.1407, allocations: 65.98 MB / 0.5557 GB, free: 6.371 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test33): time 0.003481/0.1441, allocations: 1.871 MB / 0.5575 GB, free: 4.484 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001711/0.1459, allocations: 1.02 MB / 0.5585 GB, free: 3.457 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.355e-05/0.1459, allocations: 3.938 kB / 0.5585 GB, free: 3.453 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002315/0.1462, allocations: 63.73 kB / 0.5586 GB, free: 3.391 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003331/0.1465, allocations: 123.4 kB / 0.5587 GB, free: 3.27 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004128/0.1469, allocations: 163.8 kB / 0.5589 GB, free: 3.113 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002889/0.1472, allocations: 195.5 kB / 0.5591 GB, free: 2.922 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.984e-05/0.1473, allocations: 17.55 kB / 0.5591 GB, free: 2.902 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001346/0.1474, allocations: 91.67 kB / 0.5592 GB, free: 2.812 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001651/0.1476, allocations: 103.6 kB / 0.5593 GB, free: 2.711 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.616e-05/0.1476, allocations: 12 kB / 0.5593 GB, free: 2.699 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.462e-05/0.1477, allocations: 39.98 kB / 0.5593 GB, free: 2.66 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.04e-05/0.1478, allocations: 47.77 kB / 0.5594 GB, free: 2.613 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.104e-05/0.1479, allocations: 75.58 kB / 0.5594 GB, free: 2.539 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002882/0.1482, allocations: 191.2 kB / 0.5596 GB, free: 2.352 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.1482, allocations: 0 / 0.5596 GB, free: 2.352 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.1482, allocations: 0 / 0.5596 GB, free: 2.352 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.132e-05/0.1482, allocations: 0 / 0.5596 GB, free: 2.352 MB / 414.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.001118/0.1493, allocations: 0.5875 MB / 0.5602 GB, free: 1.703 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.1494, allocations: 12.03 kB / 0.5602 GB, free: 1.691 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.014e-05/0.1494, allocations: 30.75 kB / 0.5602 GB, free: 1.652 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.242e-05/0.1495, allocations: 20.78 kB / 0.5603 GB, free: 1.633 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003085/0.1498, allocations: 245.6 kB / 0.5605 GB, free: 1.352 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.914e-05/0.1498, allocations: 12.38 kB / 0.5605 GB, free: 1.34 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.883e-05/0.1498, allocations: 4.375 kB / 0.5605 GB, free: 1.336 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000477/0.1503, allocations: 149.7 kB / 0.5606 GB, free: 1.184 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.1503, allocations: 0 / 0.5606 GB, free: 1.184 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/0.1503, allocations: 0 / 0.5606 GB, free: 1.184 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-06/0.1503, allocations: 0 / 0.5606 GB, free: 1.184 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006622/0.151, allocations: 159.8 kB / 0.5608 GB, free: 1.027 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005099/0.1515, allocations: 380.6 kB / 0.5612 GB, free: 0.6055 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007515/0.1522, allocations: 186.4 kB / 0.5613 GB, free: 424 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003473/0.1526, allocations: 88.77 kB / 0.5614 GB, free: 332 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.959e-05/0.1526, allocations: 3.984 kB / 0.5614 GB, free: 328 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005404/0.1532, allocations: 167.2 kB / 0.5616 GB, free: 148 kB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.432e-06/0.1532, allocations: 0 / 0.5616 GB, free: 148 kB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.00352/0.1567, allocations: 0.8166 MB / 0.5624 GB, free: 15.32 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.438e-05/0.1567, allocations: 59.41 kB / 0.5624 GB, free: 15.25 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002791/0.157, allocations: 253.5 kB / 0.5627 GB, free: 14.99 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.204e-05/0.157, allocations: 29.7 kB / 0.5627 GB, free: 14.96 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.165e-05/0.1571, allocations: 128.2 kB / 0.5628 GB, free: 14.83 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.471e-05/0.1572, allocations: 47.72 kB / 0.5629 GB, free: 14.78 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001049/0.1573, allocations: 33.7 kB / 0.5629 GB, free: 14.74 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001726/0.1575, allocations: 335.4 kB / 0.5632 GB, free: 14.41 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006971/0.1582, allocations: 171.8 kB / 0.5634 GB, free: 14.24 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006649/0.1588, allocations: 163.8 kB / 0.5635 GB, free: 14.08 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001357/0.1602, allocations: 361.6 kB / 0.5639 GB, free: 13.71 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.654e-06/0.1602, allocations: 0 / 0.5639 GB, free: 13.71 MB / 430.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001477/0.1617, allocations: 462.4 kB / 0.5643 GB, free: 13.24 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.356e-05/0.1617, allocations: 67.33 kB / 0.5644 GB, free: 13.16 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.1617, allocations: 0 / 0.5644 GB, free: 13.16 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.1618, allocations: 4 kB / 0.5644 GB, free: 13.16 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004127/0.1622, allocations: 75.84 kB / 0.5645 GB, free: 13.09 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.331e-06/0.1622, allocations: 0 / 0.5645 GB, free: 13.09 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003831/0.1626, allocations: 67.84 kB / 0.5645 GB, free: 13.02 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.468e-05/0.1626, allocations: 11.98 kB / 0.5646 GB, free: 13.01 MB / 430.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.0001617/0.1627, allocations: 129.8 kB / 0.5647 GB, free: 12.87 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.468e-05/0.1628, allocations: 23.84 kB / 0.5647 GB, free: 12.85 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001446/0.1642, allocations: 406.7 kB / 0.5651 GB, free: 12.44 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.191e-06/0.1642, allocations: 4 kB / 0.5651 GB, free: 12.44 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.1643, allocations: 0 / 0.5651 GB, free: 12.44 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.1643, allocations: 3.938 kB / 0.5651 GB, free: 12.43 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001698/0.166, allocations: 0.7045 MB / 0.5658 GB, free: 11.68 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.166, allocations: 0 / 0.5658 GB, free: 11.68 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003554/0.1663, allocations: 75.84 kB / 0.5659 GB, free: 11.6 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.614e-06/0.1663, allocations: 3.984 kB / 0.5659 GB, free: 11.6 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.139e-05/0.1663, allocations: 7.938 kB / 0.5659 GB, free: 11.59 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.1663, allocations: 0 / 0.5659 GB, free: 11.59 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1663, allocations: 0 / 0.5659 GB, free: 11.59 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001381/0.1677, allocations: 483 kB / 0.5663 GB, free: 11.1 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.262e-05/0.1678, allocations: 89.02 kB / 0.5664 GB, free: 11 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.809e-05/0.1679, allocations: 15.92 kB / 0.5664 GB, free: 10.98 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003966/0.1683, allocations: 59.91 kB / 0.5665 GB, free: 10.92 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001598/0.1684, allocations: 47.94 kB / 0.5665 GB, free: 10.88 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.02e-05/0.1684, allocations: 11.94 kB / 0.5665 GB, free: 10.86 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001907/0.1686, allocations: 188.5 kB / 0.5667 GB, free: 10.68 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1686, allocations: 3.938 kB / 0.5667 GB, free: 10.68 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003145/0.1689, allocations: 43.94 kB / 0.5668 GB, free: 10.63 MB / 430.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.003228/0.1722, allocations: 1.308 MB / 0.568 GB, free: 9.453 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001523/0.1737, allocations: 466.3 kB / 0.5685 GB, free: 8.973 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.1737, allocations: 0 / 0.5685 GB, free: 8.973 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006686/0.1744, allocations: 175.8 kB / 0.5687 GB, free: 8.801 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004372/0.1748, allocations: 36.58 kB / 0.5687 GB, free: 8.762 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006223/0.181, allocations: 2.841 MB / 0.5715 GB, free: 5.828 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004439/0.1815, allocations: 0.728 MB / 0.5722 GB, free: 5.074 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001452/0.1816, allocations: 21.41 kB / 0.5722 GB, free: 5.055 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001425/0.1818, allocations: 55.41 kB / 0.5722 GB, free: 5 MB / 430.1 MB Notification: Performance of SimCode: time 1.483e-06/0.1818, allocations: 4 kB / 0.5723 GB, free: 4.996 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02926/0.211, allocations: 5.768 MB / 0.5779 GB, free: 15.27 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.32/8.531, allocations: 16.81 kB / 0.5779 GB, free: 15.25 MB / 446.1 MB " [Timeout remaining time 651] (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 --stepSize=0.0056 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test33.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.515798632055521] Failed to read output from testmodel.py, exit status != 0: 8.658096794970334 8.684992083000001 8.531903917 Calling exit ...