Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test71.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.001795/0.001795, allocations: 117.8 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.002177/0.002177, 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.576/1.576, allocations: 230.2 MB / 254.5 MB, free: 15.42 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2537/0.2537, allocations: 46.89 MB / 357.4 MB, free: 10.54 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.Test71,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test71",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test71,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test71",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002257/0.002257, allocations: 87.89 kB / 0.4913 GB, free: 26.74 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1428/0.145, allocations: 65.98 MB / 0.5557 GB, free: 8.984 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.003668/0.1487, allocations: 1.834 MB / 0.5575 GB, free: 7.133 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002261/0.1509, allocations: 1.112 MB / 0.5586 GB, free: 6.016 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001178/0.1511, allocations: 0 / 0.5586 GB, free: 6.016 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006479/0.1517, allocations: 307.3 kB / 0.5589 GB, free: 5.715 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005554/0.1523, allocations: 259.2 kB / 0.5591 GB, free: 5.461 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002776/0.1525, allocations: 107.6 kB / 0.5592 GB, free: 5.355 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003352/0.1529, allocations: 271.2 kB / 0.5595 GB, free: 5.09 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.614e-05/0.1529, allocations: 5.688 kB / 0.5595 GB, free: 5.082 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001814/0.1531, allocations: 123.6 kB / 0.5596 GB, free: 4.961 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000259/0.1534, allocations: 231.4 kB / 0.5598 GB, free: 4.734 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.284e-05/0.1534, allocations: 4 kB / 0.5598 GB, free: 4.73 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001159/0.1535, allocations: 47.97 kB / 0.5599 GB, free: 4.684 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000142/0.1537, allocations: 131.6 kB / 0.56 GB, free: 4.555 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001477/0.1538, allocations: 154.8 kB / 0.5602 GB, free: 4.402 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005383/0.1543, allocations: 382.4 kB / 0.5605 GB, free: 4.027 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.1543, allocations: 0 / 0.5605 GB, free: 4.027 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.1543, allocations: 0 / 0.5605 GB, free: 4.027 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.394e-06/0.1544, allocations: 4 kB / 0.5605 GB, free: 4.023 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001134/0.1555, allocations: 0.7655 MB / 0.5613 GB, free: 3.207 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/0.1555, allocations: 8.031 kB / 0.5613 GB, free: 3.199 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.594e-05/0.1556, allocations: 38.73 kB / 0.5613 GB, free: 3.152 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.806e-05/0.1557, allocations: 48.61 kB / 0.5614 GB, free: 3.105 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007651/0.1564, allocations: 468.3 kB / 0.5618 GB, free: 2.609 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.25e-05/0.1564, allocations: 4.375 kB / 0.5618 GB, free: 2.605 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.595e-05/0.1565, allocations: 384 / 0.5618 GB, free: 2.605 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002082/0.1567, allocations: 95.42 kB / 0.5619 GB, free: 2.5 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.1567, allocations: 0 / 0.5619 GB, free: 2.5 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.1567, allocations: 0 / 0.5619 GB, free: 2.5 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.1567, allocations: 0 / 0.5619 GB, free: 2.5 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001095/0.1568, allocations: 31.92 kB / 0.5619 GB, free: 2.469 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004845/0.1573, allocations: 394.3 kB / 0.5623 GB, free: 2.031 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002721/0.1576, allocations: 93.23 kB / 0.5624 GB, free: 1.922 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.346e-05/0.1577, allocations: 45.64 kB / 0.5624 GB, free: 1.871 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.136e-05/0.1577, allocations: 0 / 0.5624 GB, free: 1.871 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002278/0.1579, allocations: 117 kB / 0.5626 GB, free: 1.738 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.052e-06/0.1579, allocations: 0 / 0.5626 GB, free: 1.738 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004937/0.1584, allocations: 205.2 kB / 0.5628 GB, free: 1.531 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.213e-05/0.1585, allocations: 81.11 kB / 0.5628 GB, free: 1.434 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001261/0.1597, allocations: 1.054 MB / 0.5639 GB, free: 376 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.506e-05/0.1597, allocations: 29.7 kB / 0.5639 GB, free: 340 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001891/0.1599, allocations: 236.1 kB / 0.5641 GB, free: 100 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.22e-05/0.16, allocations: 31.75 kB / 0.5641 GB, free: 68 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.385e-05/0.16, allocations: 29.7 kB / 0.5642 GB, free: 32 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002126/0.1602, allocations: 370.8 kB / 0.5645 GB, free: 15.66 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.324e-05/0.1603, allocations: 27.98 kB / 0.5646 GB, free: 15.63 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001005/0.1604, allocations: 55.41 kB / 0.5646 GB, free: 15.57 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001756/0.1606, allocations: 87.36 kB / 0.5647 GB, free: 15.47 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.1606, allocations: 4 kB / 0.5647 GB, free: 15.46 MB / 430.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003403/0.161, allocations: 177.7 kB / 0.5649 GB, free: 15.29 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.161, allocations: 8 kB / 0.5649 GB, free: 15.28 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.161, allocations: 0 / 0.5649 GB, free: 15.28 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.161, allocations: 4 kB / 0.5649 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001201/0.1611, allocations: 23.98 kB / 0.5649 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.1611, allocations: 4 kB / 0.5649 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.23e-05/0.1612, allocations: 8 kB / 0.5649 GB, free: 15.24 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.118e-05/0.1612, allocations: 4.062 kB / 0.5649 GB, free: 15.23 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0002246/0.1615, allocations: 221.8 kB / 0.5651 GB, free: 15.01 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.962e-05/0.1615, allocations: 59.56 kB / 0.5652 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.996e-05/0.1616, allocations: 68.08 kB / 0.5652 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.1616, allocations: 0 / 0.5652 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.1616, allocations: 4 kB / 0.5652 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.1616, allocations: 3.938 kB / 0.5653 GB, free: 14.87 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003331/0.162, allocations: 349.4 kB / 0.5656 GB, free: 14.48 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.162, allocations: 3.938 kB / 0.5656 GB, free: 14.48 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.903e-05/0.162, allocations: 11.94 kB / 0.5656 GB, free: 14.46 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.162, allocations: 4 kB / 0.5656 GB, free: 14.46 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.216e-05/0.162, allocations: 4 kB / 0.5656 GB, free: 14.46 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.162, allocations: 0 / 0.5656 GB, free: 14.46 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.162, allocations: 0 / 0.5656 GB, free: 14.46 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003362/0.1624, allocations: 209.5 kB / 0.5658 GB, free: 14.23 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001827/0.1625, allocations: 144.7 kB / 0.5659 GB, free: 14.07 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.362e-05/0.1626, allocations: 4 kB / 0.5659 GB, free: 14.07 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.86e-05/0.1627, allocations: 4 kB / 0.566 GB, free: 14.06 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.97e-05/0.1627, allocations: 11.98 kB / 0.566 GB, free: 14.05 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.925e-05/0.1627, allocations: 4 kB / 0.566 GB, free: 14.05 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0008685/0.1636, allocations: 0.7839 MB / 0.5667 GB, free: 13.27 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1636, allocations: 0 / 0.5667 GB, free: 13.27 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002705/0.1639, allocations: 47.98 kB / 0.5668 GB, free: 13.22 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * 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.002045/0.1659, allocations: 1.039 MB / 0.5678 GB, free: 12.3 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002635/0.1662, allocations: 87.77 kB / 0.5679 GB, free: 12.21 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1662, allocations: 3.938 kB / 0.5679 GB, free: 12.21 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001047/0.1663, allocations: 36.11 kB / 0.5679 GB, free: 12.18 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004275/0.1667, allocations: 85.2 kB / 0.568 GB, free: 12.1 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006178/0.1729, allocations: 4.571 MB / 0.5725 GB, free: 7.426 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006136/0.1735, allocations: 0.8466 MB / 0.5733 GB, free: 6.555 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001606/0.1737, allocations: 50.97 kB / 0.5733 GB, free: 6.504 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000219/0.1739, allocations: 155.4 kB / 0.5735 GB, free: 6.355 MB / 430.1 MB Notification: Performance of SimCode: time 1.614e-06/0.1739, allocations: 0 / 0.5735 GB, free: 6.355 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03721/0.2111, allocations: 9.146 MB / 0.5824 GB, free: 13.27 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.485/8.696, allocations: 18.39 kB / 0.5824 GB, free: 13.25 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test71.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test71_fmu --startTime=0 --stopTime=8000 --stepSize=1.57542 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test71.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.99584633903578] Failed to read output from testmodel.py, exit status != 0: ['time', 'startTime_0.y[1]', 'startTime.y[1]'] 8.823790756985545 8.838285815 8.680815703 Calling exit ...