Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.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.001806/0.001806, allocations: 120 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.002058/0.002058, allocations: 218.3 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.427/1.427, allocations: 230.4 MB / 254.7 MB, free: 15.19 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.2296/0.2296, allocations: 46.93 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.Test67,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test67",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test67,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test67",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002091/0.002091, allocations: 79.88 kB / 0.4917 GB, free: 7.637 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1323/0.1344, allocations: 66.04 MB / 0.5562 GB, free: 5.461 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.004014/0.1384, allocations: 2.369 MB / 0.5585 GB, free: 3.074 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002513/0.1409, allocations: 1.405 MB / 0.5599 GB, free: 1.664 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001537/0.141, allocations: 11.88 kB / 0.5599 GB, free: 1.652 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000607/0.1417, allocations: 299 kB / 0.5602 GB, free: 1.359 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000684/0.1423, allocations: 334.6 kB / 0.5605 GB, free: 1.031 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000417/0.1428, allocations: 211.5 kB / 0.5607 GB, free: 0.8242 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006317/0.1434, allocations: 0.5608 MB / 0.5613 GB, free: 268 kB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001405/0.1435, allocations: 37.08 kB / 0.5613 GB, free: 228 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003151/0.1438, allocations: 250.9 kB / 0.5615 GB, free: 15.98 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003987/0.1442, allocations: 302.8 kB / 0.5618 GB, free: 15.68 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.528e-05/0.1443, allocations: 20 kB / 0.5619 GB, free: 15.66 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000129/0.1444, allocations: 55.98 kB / 0.5619 GB, free: 15.61 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001375/0.1445, allocations: 115.5 kB / 0.562 GB, free: 15.49 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001733/0.1447, allocations: 182.6 kB / 0.5622 GB, free: 15.31 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004916/0.1452, allocations: 425.8 kB / 0.5626 GB, free: 14.89 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1452, allocations: 0 / 0.5626 GB, free: 14.89 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.1452, allocations: 3.938 kB / 0.5626 GB, free: 14.89 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.166e-05/0.1452, allocations: 0 / 0.5626 GB, free: 14.89 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001254/0.1465, allocations: 0.8208 MB / 0.5634 GB, free: 14.01 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.1465, allocations: 11.97 kB / 0.5634 GB, free: 14 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.97e-05/0.1465, allocations: 12.17 kB / 0.5634 GB, free: 13.99 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.873e-05/0.1466, allocations: 42.73 kB / 0.5635 GB, free: 13.94 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001069/0.1467, allocations: 60.56 kB / 0.5635 GB, free: 13.88 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006358/0.1473, allocations: 428.3 kB / 0.5639 GB, free: 13.42 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.597e-05/0.1474, allocations: 16.34 kB / 0.564 GB, free: 13.41 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.022e-05/0.1474, allocations: 16.38 kB / 0.564 GB, free: 13.39 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004119/0.1478, allocations: 201.8 kB / 0.5642 GB, free: 13.17 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.895e-05/0.1478, allocations: 8 kB / 0.5642 GB, free: 13.16 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.937e-05/0.1479, allocations: 4 kB / 0.5642 GB, free: 13.16 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.154e-06/0.1479, allocations: 4 kB / 0.5642 GB, free: 13.16 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002642/0.1481, allocations: 107.7 kB / 0.5643 GB, free: 13.05 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009525/0.1491, allocations: 0.8683 MB / 0.5651 GB, free: 12.12 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006471/0.1497, allocations: 273.3 kB / 0.5654 GB, free: 11.8 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002055/0.1499, allocations: 88.25 kB / 0.5655 GB, free: 11.7 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.253e-05/0.15, allocations: 8 kB / 0.5655 GB, free: 11.7 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004387/0.1504, allocations: 223.5 kB / 0.5657 GB, free: 11.45 MB / 430.1 MB Notification: Performance of pre-optimization done (n=30): time 1.583e-06/0.1504, allocations: 0 / 0.5657 GB, free: 11.45 MB / 430.1 MB Notification: Performance of matching and sorting (n=40): time 0.002166/0.1526, allocations: 1.045 MB / 0.5667 GB, free: 10.39 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001038/0.1527, allocations: 158.2 kB / 0.5669 GB, free: 10.2 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007821/0.1535, allocations: 0.6592 MB / 0.5675 GB, free: 9.531 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.421e-05/0.1535, allocations: 41.7 kB / 0.5675 GB, free: 9.484 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001931/0.1537, allocations: 233 kB / 0.5678 GB, free: 9.254 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001166/0.1538, allocations: 130.9 kB / 0.5679 GB, free: 9.125 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001168/0.1539, allocations: 74.12 kB / 0.568 GB, free: 9.047 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002084/0.1541, allocations: 370.8 kB / 0.5683 GB, free: 8.676 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000248/0.1544, allocations: 100.8 kB / 0.5684 GB, free: 8.578 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003002/0.1547, allocations: 184.8 kB / 0.5686 GB, free: 8.367 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005355/0.1552, allocations: 300.8 kB / 0.5689 GB, free: 8.043 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1552, allocations: 0 / 0.5689 GB, free: 8.043 MB / 430.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007664/0.156, allocations: 417.3 kB / 0.5693 GB, free: 7.629 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.156, allocations: 8 kB / 0.5693 GB, free: 7.621 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.156, allocations: 0 / 0.5693 GB, free: 7.621 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.71e-05/0.156, allocations: 4 kB / 0.5693 GB, free: 7.617 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002992/0.1563, allocations: 87.83 kB / 0.5694 GB, free: 7.531 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.668e-06/0.1563, allocations: 4 kB / 0.5694 GB, free: 7.527 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001877/0.1565, allocations: 19.98 kB / 0.5694 GB, free: 7.508 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.907e-05/0.1565, allocations: 16 kB / 0.5694 GB, free: 7.492 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($PRE.t_s.nextTimeEvent,$whenCondition5,t_s.nextTimeEventScaled,$PRE.t_s.nextTimeEventScaled,t_s.nextTimeEvent,$PRE.t_min.nextTimeEvent,$whenCondition4,t_min.nextTimeEventScaled,$PRE.t_min.nextTimeEventScaled,t_min.nextTimeEvent,$PRE.t_h.nextTimeEvent,$whenCondition3,t_h.nextTimeEventScaled,$PRE.t_h.nextTimeEventScaled,t_h.nextTimeEvent,$PRE.t_d.nextTimeEvent,$whenCondition2,t_d.nextTimeEventScaled,$PRE.t_d.nextTimeEventScaled,t_d.nextTimeEvent,$PRE.t_ms.nextTimeEvent,$whenCondition1,t_ms.nextTimeEventScaled,$PRE.t_ms.nextTimeEventScaled,t_ms.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 50 * 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.00023/0.1568, allocations: 216.3 kB / 0.5696 GB, free: 7.273 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001044/0.1569, allocations: 71.52 kB / 0.5697 GB, free: 7.203 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001206/0.157, allocations: 64.41 kB / 0.5697 GB, free: 7.137 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.716e-06/0.157, allocations: 8 kB / 0.5697 GB, free: 7.129 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.157, allocations: 1.312 kB / 0.5698 GB, free: 7.129 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.615e-06/0.157, allocations: 3.984 kB / 0.5698 GB, free: 7.125 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001698/0.1587, allocations: 1.276 MB / 0.571 GB, free: 5.773 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.1587, allocations: 4 kB / 0.571 GB, free: 5.77 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001347/0.1589, allocations: 47.92 kB / 0.5711 GB, free: 5.723 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.891e-06/0.1589, allocations: 4 kB / 0.5711 GB, free: 5.719 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.907e-05/0.1589, allocations: 16.14 kB / 0.5711 GB, free: 5.703 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.295e-06/0.1589, allocations: 15.88 kB / 0.5711 GB, free: 5.688 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.534e-06/0.1589, allocations: 8 kB / 0.5711 GB, free: 5.68 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009611/0.1599, allocations: 0.8209 MB / 0.5719 GB, free: 4.824 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001018/0.16, allocations: 128.7 kB / 0.572 GB, free: 4.68 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.203e-05/0.16, allocations: 19.94 kB / 0.572 GB, free: 4.66 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003231/0.1604, allocations: 15.98 kB / 0.5721 GB, free: 4.645 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.607e-05/0.1605, allocations: 35.95 kB / 0.5721 GB, free: 4.609 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.861e-05/0.1605, allocations: 20 kB / 0.5721 GB, free: 4.59 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005597/0.1611, allocations: 490.8 kB / 0.5726 GB, free: 4.113 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1611, allocations: 0 / 0.5726 GB, free: 4.113 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005416/0.1616, allocations: 83.94 kB / 0.5727 GB, free: 4.031 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled,$whenCondition2,t_d.nextTimeEvent,t_d.nextTimeEventScaled,$whenCondition3,t_h.nextTimeEvent,t_h.nextTimeEventScaled,$whenCondition4,t_min.nextTimeEvent,t_min.nextTimeEventScaled,$whenCondition5,t_s.nextTimeEvent,t_s.nextTimeEventScaled) * Number of discrete states: 10 (t_s.nextTimeEvent,t_s.nextTimeEventScaled,t_min.nextTimeEvent,t_min.nextTimeEventScaled,t_h.nextTimeEvent,t_h.nextTimeEventScaled,t_d.nextTimeEvent,t_d.nextTimeEventScaled,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.00292/0.1645, allocations: 1.732 MB / 0.5743 GB, free: 2.422 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0006437/0.1652, allocations: 279.6 kB / 0.5746 GB, free: 2.148 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1652, allocations: 0 / 0.5746 GB, free: 2.148 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003051/0.1655, allocations: 136.8 kB / 0.5747 GB, free: 2.016 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001081/0.1665, allocations: 148.3 kB / 0.5749 GB, free: 1.883 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006334/0.1729, allocations: 4.533 MB / 0.5793 GB, free: 13.16 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006094/0.1735, allocations: 0.859 MB / 0.5801 GB, free: 12.27 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002891/0.1738, allocations: 80.14 kB / 0.5802 GB, free: 12.19 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003601/0.1741, allocations: 187.4 kB / 0.5804 GB, free: 12 MB / 446.1 MB Notification: Performance of SimCode: time 1.322e-06/0.1741, allocations: 0 / 0.5804 GB, free: 12 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02933/0.2035, allocations: 10.99 MB / 0.5911 GB, free: 1.094 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.841/9.044, allocations: 8.062 kB / 0.5911 GB, free: 1.086 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test67_fmu --startTime=0 --stopTime=4000 --stepSize=0.799361 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test67.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.205629618023522] Failed to read output from testmodel.py, exit status != 0: ['time', 't_s.y[1]', 'd_t_s.y', 't_min.y[1]', 'd_t_min.y', 't_h.y[1]', 'd_t_h.y', 't_d.y[1]', 'd_t_d.y', 't_ms.y[1]', 'd_t_ms.y'] 9.433694435982034 9.44704459 9.299168126 Calling exit ...