Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.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.001274/0.001274, allocations: 117 kB / 18.49 MB, free: 4.566 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.001344/0.001344, allocations: 216.7 kB / 21.46 MB, free: 1.613 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.454/1.454, allocations: 230.4 MB / 254.7 MB, free: 15.03 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.2172/0.2172, allocations: 46.91 MB / 357.7 MB, free: 10.19 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.CombiTimeTable.Test88,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test88",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test88,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test88",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002153/0.002153, allocations: 83.88 kB / 0.4918 GB, free: 7.625 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1404/0.1425, allocations: 66.05 MB / 0.5563 GB, free: 5.445 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test88): time 0.003886/0.1464, allocations: 2.284 MB / 0.5585 GB, free: 3.145 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002405/0.1488, allocations: 1.317 MB / 0.5598 GB, free: 1.82 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001465/0.149, allocations: 11.94 kB / 0.5598 GB, free: 1.809 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004591/0.1494, allocations: 135.3 kB / 0.5599 GB, free: 1.676 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005653/0.15, allocations: 242.9 kB / 0.5601 GB, free: 1.438 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004358/0.1504, allocations: 187.5 kB / 0.5603 GB, free: 1.254 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000553/0.151, allocations: 458.6 kB / 0.5608 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001692/0.1511, allocations: 53.03 kB / 0.5608 GB, free: 0.75 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003856/0.1515, allocations: 315 kB / 0.5611 GB, free: 452 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002116/0.1517, allocations: 167.1 kB / 0.5613 GB, free: 284 kB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.17e-05/0.1518, allocations: 16 kB / 0.5613 GB, free: 268 kB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001548/0.1519, allocations: 79.91 kB / 0.5614 GB, free: 188 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001501/0.1521, allocations: 123.5 kB / 0.5615 GB, free: 64 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001939/0.1523, allocations: 190.5 kB / 0.5617 GB, free: 15.88 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005612/0.1528, allocations: 441.7 kB / 0.5621 GB, free: 15.44 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.84e-06/0.1528, allocations: 4 kB / 0.5621 GB, free: 15.44 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.595e-06/0.1528, allocations: 4 kB / 0.5621 GB, free: 15.43 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.195e-06/0.1529, allocations: 0 / 0.5621 GB, free: 15.43 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001245/0.1541, allocations: 0.8397 MB / 0.5629 GB, free: 14.54 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.1541, allocations: 8.031 kB / 0.5629 GB, free: 14.53 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.16e-05/0.1542, allocations: 8.188 kB / 0.5629 GB, free: 14.52 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.858e-05/0.1542, allocations: 42.73 kB / 0.563 GB, free: 14.47 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001023/0.1543, allocations: 72.5 kB / 0.563 GB, free: 14.4 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006018/0.1549, allocations: 429 kB / 0.5634 GB, free: 13.94 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.425e-05/0.1549, allocations: 16.3 kB / 0.5635 GB, free: 13.93 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.161e-05/0.155, allocations: 20.33 kB / 0.5635 GB, free: 13.91 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000397/0.1554, allocations: 188.9 kB / 0.5637 GB, free: 13.7 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.602e-05/0.1554, allocations: 0 / 0.5637 GB, free: 13.7 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.957e-05/0.1554, allocations: 4 kB / 0.5637 GB, free: 13.7 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.1554, allocations: 8 kB / 0.5637 GB, free: 13.69 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002463/0.1557, allocations: 95.81 kB / 0.5638 GB, free: 13.6 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009667/0.1566, allocations: 0.8056 MB / 0.5646 GB, free: 12.73 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006828/0.1573, allocations: 234.5 kB / 0.5648 GB, free: 12.46 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001991/0.1575, allocations: 83.53 kB / 0.5649 GB, free: 12.37 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.224e-05/0.1576, allocations: 11.98 kB / 0.5649 GB, free: 12.36 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003938/0.1579, allocations: 196.2 kB / 0.5651 GB, free: 12.14 MB / 430.1 MB Notification: Performance of pre-optimization done (n=28): time 1.703e-06/0.158, allocations: 0 / 0.5651 GB, free: 12.14 MB / 430.1 MB Notification: Performance of matching and sorting (n=44): time 0.00261/0.1606, allocations: 1.14 MB / 0.5662 GB, free: 11 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.069e-05/0.1607, allocations: 132.5 kB / 0.5663 GB, free: 10.84 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000922/0.1616, allocations: 0.797 MB / 0.5671 GB, free: 10.03 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.956e-05/0.1616, allocations: 37.7 kB / 0.5671 GB, free: 9.984 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002146/0.1618, allocations: 237 kB / 0.5673 GB, free: 9.75 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001397/0.162, allocations: 146.8 kB / 0.5675 GB, free: 9.605 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001193/0.1621, allocations: 82.09 kB / 0.5676 GB, free: 9.516 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002097/0.1623, allocations: 382.7 kB / 0.5679 GB, free: 9.133 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002439/0.1625, allocations: 116.8 kB / 0.568 GB, free: 9.02 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00031/0.1629, allocations: 191 kB / 0.5682 GB, free: 8.809 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005617/0.1634, allocations: 311 kB / 0.5685 GB, free: 8.48 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.548e-06/0.1634, allocations: 4 kB / 0.5685 GB, free: 8.477 MB / 430.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.000802/0.1642, allocations: 440.9 kB / 0.5689 GB, free: 8.039 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.231e-05/0.1642, allocations: 6.031 kB / 0.5689 GB, free: 8.035 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/0.1643, allocations: 4 kB / 0.5689 GB, free: 8.031 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.967e-05/0.1643, allocations: 4 kB / 0.5689 GB, free: 8.027 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002856/0.1646, allocations: 87.89 kB / 0.569 GB, free: 7.941 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.468e-06/0.1646, allocations: 4 kB / 0.569 GB, free: 7.938 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000159/0.1647, allocations: 23.92 kB / 0.5691 GB, free: 7.914 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.779e-05/0.1648, allocations: 16 kB / 0.5691 GB, free: 7.898 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.t_new.nextTimeEvent,$whenCondition4,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition3,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new_3.nextTimeEvent,$whenCondition2,t_new_3.nextTimeEventScaled,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEvent,$PRE.t_new_4.nextTimeEvent,$whenCondition1,t_new_4.nextTimeEventScaled,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * 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.0002804/0.165, allocations: 243.9 kB / 0.5693 GB, free: 7.648 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001128/0.1651, allocations: 67.53 kB / 0.5694 GB, free: 7.582 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001432/0.1653, allocations: 81.84 kB / 0.5694 GB, free: 7.496 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/0.1653, allocations: 4 kB / 0.5694 GB, free: 7.492 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.255e-05/0.1653, allocations: 4 kB / 0.5695 GB, free: 7.488 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.654e-06/0.1653, allocations: 3.938 kB / 0.5695 GB, free: 7.484 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001827/0.1671, allocations: 1.307 MB / 0.5707 GB, free: 6.094 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.541e-06/0.1671, allocations: 4 kB / 0.5707 GB, free: 6.09 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001631/0.1673, allocations: 68.16 kB / 0.5708 GB, free: 6.023 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.602e-06/0.1673, allocations: 4 kB / 0.5708 GB, free: 6.02 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.903e-05/0.1673, allocations: 15.98 kB / 0.5708 GB, free: 6.004 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.747e-06/0.1674, allocations: 7.938 kB / 0.5708 GB, free: 5.996 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.1674, allocations: 4 kB / 0.5708 GB, free: 5.992 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009822/0.1683, allocations: 0.7928 MB / 0.5716 GB, free: 5.152 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001867/0.1685, allocations: 176.6 kB / 0.5718 GB, free: 4.961 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.389e-05/0.1686, allocations: 12 kB / 0.5718 GB, free: 4.949 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002727/0.1689, allocations: 15.98 kB / 0.5718 GB, free: 4.934 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.669e-05/0.169, allocations: 43.83 kB / 0.5718 GB, free: 4.891 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.237e-05/0.169, allocations: 23.98 kB / 0.5719 GB, free: 4.867 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006767/0.1697, allocations: 0.5814 MB / 0.5724 GB, free: 4.293 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1697, allocations: 4 kB / 0.5724 GB, free: 4.289 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00053/0.1702, allocations: 87.92 kB / 0.5725 GB, free: 4.203 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.003221/0.1734, allocations: 1.759 MB / 0.5742 GB, free: 2.582 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0007163/0.1741, allocations: 295.5 kB / 0.5745 GB, free: 2.293 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.1741, allocations: 0 / 0.5745 GB, free: 2.293 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003153/0.1745, allocations: 148.5 kB / 0.5747 GB, free: 2.148 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009406/0.1754, allocations: 121.4 kB / 0.5748 GB, free: 2.035 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006655/0.1821, allocations: 4.767 MB / 0.5794 GB, free: 13.08 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007411/0.1828, allocations: 0.8821 MB / 0.5803 GB, free: 12.17 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002384/0.183, allocations: 87.27 kB / 0.5804 GB, free: 12.08 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002848/0.1833, allocations: 191.4 kB / 0.5806 GB, free: 11.89 MB / 446.1 MB Notification: Performance of SimCode: time 1.173e-06/0.1833, allocations: 0 / 0.5806 GB, free: 11.89 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0306/0.2139, allocations: 10.93 MB / 0.5912 GB, free: 1.039 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.912/9.126, allocations: 8.062 kB / 0.5912 GB, free: 1.031 MB / 446.1 MB " [Timeout remaining time 650] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test88_fmu --startTime=0 --stopTime=9 --stepSize=0.00179784 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test88.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.292211399995722] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'd2_t_new.y', 't_new_2.y[1]', 'd_t_new_2.y', 'd2_t_new_2.y', 't_new_3.y[1]', 'd_t_new_3.y', 'd2_t_new_3.y', 't_new_4.y[1]', 'd_t_new_4.y', 'd2_t_new_4.y'] 9.526569192006718 9.54156528 9.386128169000001 Calling exit ...