Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test70.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.001158/0.001158, allocations: 117.3 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.001349/0.001349, allocations: 218.6 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.618/1.618, allocations: 230.2 MB / 254.5 MB, free: 15.41 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.2544/0.2544, allocations: 46.89 MB / 357.4 MB, free: 10.53 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.Test70,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test70",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test70,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test70",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.002295/0.002295, allocations: 83.11 kB / 0.4913 GB, free: 26.84 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1394/0.1417, allocations: 65.97 MB / 0.5557 GB, free: 9.082 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.003459/0.1452, allocations: 1.838 MB / 0.5575 GB, free: 7.227 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00204/0.1472, allocations: 1.112 MB / 0.5586 GB, free: 6.109 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.461e-05/0.1473, allocations: 0 / 0.5586 GB, free: 6.109 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00055/0.1478, allocations: 307.2 kB / 0.5589 GB, free: 5.809 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004772/0.1483, allocations: 263.2 kB / 0.5591 GB, free: 5.551 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002352/0.1485, allocations: 99.69 kB / 0.5592 GB, free: 5.453 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003417/0.1489, allocations: 271.2 kB / 0.5595 GB, free: 5.188 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.996e-05/0.1489, allocations: 9.688 kB / 0.5595 GB, free: 5.176 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001766/0.1491, allocations: 131.6 kB / 0.5596 GB, free: 5.047 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002563/0.1494, allocations: 223.4 kB / 0.5598 GB, free: 4.828 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.253e-05/0.1494, allocations: 4 kB / 0.5598 GB, free: 4.824 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001041/0.1495, allocations: 43.98 kB / 0.5599 GB, free: 4.781 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001472/0.1496, allocations: 135.6 kB / 0.56 GB, free: 4.648 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001407/0.1498, allocations: 150.7 kB / 0.5602 GB, free: 4.5 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004537/0.1502, allocations: 382.5 kB / 0.5605 GB, free: 4.125 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.1502, allocations: 4 kB / 0.5605 GB, free: 4.121 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.1502, allocations: 0 / 0.5605 GB, free: 4.121 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.074e-06/0.1503, allocations: 0 / 0.5605 GB, free: 4.121 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.001081/0.1513, allocations: 0.7694 MB / 0.5613 GB, free: 3.301 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.1514, allocations: 12.02 kB / 0.5613 GB, free: 3.289 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.535e-05/0.1514, allocations: 38.69 kB / 0.5613 GB, free: 3.242 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.125e-05/0.1515, allocations: 48.61 kB / 0.5614 GB, free: 3.195 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007142/0.1523, allocations: 452.4 kB / 0.5618 GB, free: 2.715 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.999e-05/0.1523, allocations: 8.375 kB / 0.5618 GB, free: 2.707 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.471e-05/0.1523, allocations: 4.375 kB / 0.5618 GB, free: 2.703 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002198/0.1525, allocations: 91.48 kB / 0.5619 GB, free: 2.602 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.1525, allocations: 3.938 kB / 0.5619 GB, free: 2.598 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.1525, allocations: 0 / 0.5619 GB, free: 2.598 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.1525, allocations: 0 / 0.5619 GB, free: 2.598 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000112/0.1526, allocations: 35.91 kB / 0.5619 GB, free: 2.562 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004305/0.1531, allocations: 382.3 kB / 0.5623 GB, free: 2.137 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002816/0.1534, allocations: 105.2 kB / 0.5624 GB, free: 2.016 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.513e-05/0.1535, allocations: 33.7 kB / 0.5624 GB, free: 1.977 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.614e-05/0.1535, allocations: 7.984 kB / 0.5624 GB, free: 1.969 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002437/0.1537, allocations: 116.9 kB / 0.5626 GB, free: 1.836 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.192e-06/0.1537, allocations: 0 / 0.5626 GB, free: 1.836 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005057/0.1542, allocations: 201.2 kB / 0.5627 GB, free: 1.633 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.718e-05/0.1543, allocations: 81.11 kB / 0.5628 GB, free: 1.535 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001184/0.1555, allocations: 1.054 MB / 0.5639 GB, free: 480 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.378e-05/0.1555, allocations: 29.7 kB / 0.5639 GB, free: 444 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002022/0.1557, allocations: 236.1 kB / 0.5641 GB, free: 204 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.683e-05/0.1558, allocations: 39.72 kB / 0.5641 GB, free: 164 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.227e-05/0.1558, allocations: 25.72 kB / 0.5642 GB, free: 132 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002058/0.156, allocations: 370.8 kB / 0.5645 GB, free: 15.76 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.892e-05/0.1561, allocations: 27.97 kB / 0.5646 GB, free: 15.73 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001011/0.1562, allocations: 59.17 kB / 0.5646 GB, free: 15.66 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001948/0.1564, allocations: 91.34 kB / 0.5647 GB, free: 15.56 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.1564, allocations: 0 / 0.5647 GB, free: 15.56 MB / 430.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003149/0.1567, allocations: 173.2 kB / 0.5649 GB, free: 15.39 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.1567, allocations: 4 kB / 0.5649 GB, free: 15.38 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.74e-06/0.1567, allocations: 4.062 kB / 0.5649 GB, free: 15.38 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.1568, allocations: 4 kB / 0.5649 GB, free: 15.38 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001261/0.1569, allocations: 27.92 kB / 0.5649 GB, free: 15.35 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.1569, allocations: 4 kB / 0.5649 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.239e-05/0.157, allocations: 4.625 kB / 0.5649 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.425e-05/0.157, allocations: 7.984 kB / 0.5649 GB, free: 15.33 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.0002331/0.1572, allocations: 225.7 kB / 0.5651 GB, free: 15.1 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.253e-05/0.1573, allocations: 55.56 kB / 0.5652 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.313e-05/0.1574, allocations: 68.12 kB / 0.5652 GB, free: 14.98 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.1574, allocations: 4 kB / 0.5653 GB, free: 14.97 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/0.1574, allocations: 4 kB / 0.5653 GB, free: 14.97 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.1574, allocations: 0 / 0.5653 GB, free: 14.97 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003557/0.1578, allocations: 349.3 kB / 0.5656 GB, free: 14.58 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.1578, allocations: 3.938 kB / 0.5656 GB, free: 14.57 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.597e-05/0.1578, allocations: 8 kB / 0.5656 GB, free: 14.57 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.1578, allocations: 0 / 0.5656 GB, free: 14.57 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.633e-05/0.1578, allocations: 7.984 kB / 0.5656 GB, free: 14.56 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.1578, allocations: 0 / 0.5656 GB, free: 14.56 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1578, allocations: 0 / 0.5656 GB, free: 14.56 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000345/0.1582, allocations: 213.5 kB / 0.5658 GB, free: 14.33 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001912/0.1584, allocations: 144.7 kB / 0.5659 GB, free: 14.17 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.292e-05/0.1584, allocations: 0 / 0.5659 GB, free: 14.17 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.95e-05/0.1585, allocations: 7.984 kB / 0.566 GB, free: 14.16 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.328e-05/0.1585, allocations: 11.98 kB / 0.566 GB, free: 14.15 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.94e-05/0.1586, allocations: 8 kB / 0.566 GB, free: 14.14 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0008861/0.1595, allocations: 0.78 MB / 0.5667 GB, free: 13.36 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1595, allocations: 4 kB / 0.5667 GB, free: 13.36 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002715/0.1597, allocations: 40 kB / 0.5668 GB, free: 13.32 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.002061/0.1618, allocations: 1.054 MB / 0.5678 GB, free: 12.38 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002501/0.162, allocations: 71.91 kB / 0.5679 GB, free: 12.31 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.162, allocations: 3.938 kB / 0.5679 GB, free: 12.31 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001025/0.1621, allocations: 35.97 kB / 0.5679 GB, free: 12.27 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004173/0.1626, allocations: 72.61 kB / 0.568 GB, free: 12.21 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005789/0.1683, allocations: 4.574 MB / 0.5725 GB, free: 7.527 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005075/0.1689, allocations: 0.8427 MB / 0.5733 GB, free: 6.66 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001476/0.169, allocations: 67.44 kB / 0.5733 GB, free: 6.594 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002003/0.1692, allocations: 151.4 kB / 0.5735 GB, free: 6.449 MB / 430.1 MB Notification: Performance of SimCode: time 1.142e-06/0.1692, allocations: 3.938 kB / 0.5735 GB, free: 6.445 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03473/0.2039, allocations: 9.148 MB / 0.5824 GB, free: 13.36 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.615/8.819, allocations: 3.859 kB / 0.5824 GB, free: 13.35 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test70.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test70_fmu --startTime=0 --stopTime=8000 --stepSize=1.56403 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test70.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.138110416010022] Failed to read output from testmodel.py, exit status != 0: ['time', 'startTime_0.y[1]', 'startTime.y[1]'] 8.947188587859273 8.968850559 8.814446966 Calling exit ...