Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.001302/0.001302, allocations: 120.1 kB / 18.49 MB, free: 4.59 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.001372/0.001372, allocations: 214.2 kB / 21.45 MB, free: 1.637 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.444/1.444, allocations: 230.5 MB / 254.7 MB, free: 15.02 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.2254/0.2254, allocations: 46.91 MB / 357.7 MB, free: 10.2 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.Test70,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test70",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test70,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test70",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002163/0.002163, allocations: 79.88 kB / 0.4917 GB, free: 7.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1401/0.1423, allocations: 66.05 MB / 0.5562 GB, free: 5.477 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.003167/0.1454, allocations: 1.826 MB / 0.558 GB, free: 3.633 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001829/0.1473, allocations: 1.108 MB / 0.5591 GB, free: 2.52 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.076e-05/0.1473, allocations: 4 kB / 0.5591 GB, free: 2.516 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005882/0.1479, allocations: 307.2 kB / 0.5594 GB, free: 2.215 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004568/0.1484, allocations: 263.2 kB / 0.5596 GB, free: 1.957 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002282/0.1486, allocations: 99.64 kB / 0.5597 GB, free: 1.859 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004331/0.1491, allocations: 271.2 kB / 0.56 GB, free: 1.594 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.176e-05/0.1491, allocations: 13.69 kB / 0.56 GB, free: 1.578 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001873/0.1493, allocations: 139.5 kB / 0.5601 GB, free: 1.441 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002548/0.1496, allocations: 219.5 kB / 0.5603 GB, free: 1.227 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.266e-05/0.1496, allocations: 4 kB / 0.5603 GB, free: 1.223 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001102/0.1497, allocations: 51.91 kB / 0.5604 GB, free: 1.172 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001422/0.1498, allocations: 135.5 kB / 0.5605 GB, free: 1.039 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001404/0.15, allocations: 142.8 kB / 0.5607 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004472/0.1504, allocations: 386.2 kB / 0.561 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.1504, allocations: 0 / 0.561 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.684e-06/0.1504, allocations: 4 kB / 0.561 GB, free: 0.5156 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.162e-06/0.1504, allocations: 0 / 0.561 GB, free: 0.5156 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.001059/0.1515, allocations: 0.7655 MB / 0.5618 GB, free: 15.7 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.1515, allocations: 8.031 kB / 0.5618 GB, free: 15.69 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.504e-05/0.1515, allocations: 4.188 kB / 0.5618 GB, free: 15.69 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.474e-05/0.1516, allocations: 30.75 kB / 0.5618 GB, free: 15.65 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.362e-05/0.1517, allocations: 52.61 kB / 0.5619 GB, free: 15.6 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006622/0.1523, allocations: 464.3 kB / 0.5623 GB, free: 15.11 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.266e-05/0.1523, allocations: 4.359 kB / 0.5623 GB, free: 15.1 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.886e-05/0.1524, allocations: 8.312 kB / 0.5623 GB, free: 15.09 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002064/0.1526, allocations: 87.3 kB / 0.5624 GB, free: 15 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.1526, allocations: 0 / 0.5624 GB, free: 15 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/0.1526, allocations: 3.984 kB / 0.5624 GB, free: 14.99 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.1526, allocations: 4 kB / 0.5624 GB, free: 14.99 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001183/0.1527, allocations: 35.98 kB / 0.5624 GB, free: 14.95 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004645/0.1532, allocations: 382.3 kB / 0.5628 GB, free: 14.53 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002852/0.1535, allocations: 101.2 kB / 0.5629 GB, free: 14.41 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.37e-05/0.1536, allocations: 41.7 kB / 0.5629 GB, free: 14.36 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.435e-05/0.1536, allocations: 3.938 kB / 0.563 GB, free: 14.36 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002236/0.1538, allocations: 113 kB / 0.5631 GB, free: 14.23 MB / 430.1 MB Notification: Performance of pre-optimization done (n=10): time 1.021e-06/0.1538, allocations: 0 / 0.5631 GB, free: 14.23 MB / 430.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004989/0.1543, allocations: 205.2 kB / 0.5633 GB, free: 14.02 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.312e-05/0.1543, allocations: 77.11 kB / 0.5633 GB, free: 13.93 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001206/0.1556, allocations: 1.05 MB / 0.5644 GB, free: 12.87 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.024e-05/0.1556, allocations: 25.7 kB / 0.5644 GB, free: 12.84 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001889/0.1558, allocations: 240.1 kB / 0.5646 GB, free: 12.6 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.253e-05/0.1558, allocations: 35.72 kB / 0.5646 GB, free: 12.56 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.551e-05/0.1559, allocations: 29.7 kB / 0.5647 GB, free: 12.53 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001958/0.1561, allocations: 374.8 kB / 0.565 GB, free: 12.15 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.078e-05/0.1562, allocations: 27.98 kB / 0.5651 GB, free: 12.12 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.977e-05/0.1563, allocations: 59.3 kB / 0.5651 GB, free: 12.05 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001884/0.1564, allocations: 91.34 kB / 0.5652 GB, free: 11.95 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.1564, allocations: 0 / 0.5652 GB, free: 11.95 MB / 430.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003196/0.1568, allocations: 177.7 kB / 0.5654 GB, free: 11.77 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.1568, allocations: 4 kB / 0.5654 GB, free: 11.77 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.1568, allocations: 4 kB / 0.5654 GB, free: 11.77 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.121e-05/0.1568, allocations: 3.984 kB / 0.5654 GB, free: 11.76 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001168/0.1569, allocations: 20.06 kB / 0.5654 GB, free: 11.74 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/0.1569, allocations: 7.938 kB / 0.5654 GB, free: 11.73 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001019/0.157, allocations: 15.98 kB / 0.5654 GB, free: 11.72 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.179e-05/0.1571, allocations: 4 kB / 0.5654 GB, free: 11.71 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.0002328/0.1573, allocations: 225.6 kB / 0.5656 GB, free: 11.48 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.154e-05/0.1574, allocations: 59.56 kB / 0.5657 GB, free: 11.43 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.22e-05/0.1574, allocations: 60.14 kB / 0.5658 GB, free: 11.36 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.1574, allocations: 4 kB / 0.5658 GB, free: 11.36 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.1575, allocations: 0 / 0.5658 GB, free: 11.36 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.1575, allocations: 0 / 0.5658 GB, free: 11.36 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003687/0.1578, allocations: 345.4 kB / 0.5661 GB, free: 10.97 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.1578, allocations: 4 kB / 0.5661 GB, free: 10.97 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.714e-05/0.1579, allocations: 7.984 kB / 0.5661 GB, free: 10.96 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.057e-06/0.1579, allocations: 4 kB / 0.5661 GB, free: 10.96 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/0.1579, allocations: 3.938 kB / 0.5661 GB, free: 10.95 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.1579, allocations: 0 / 0.5661 GB, free: 10.95 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.1579, allocations: 4 kB / 0.5661 GB, free: 10.95 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003656/0.1583, allocations: 213.4 kB / 0.5663 GB, free: 10.72 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001429/0.1584, allocations: 140.8 kB / 0.5664 GB, free: 10.56 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.737e-05/0.1584, allocations: 7.984 kB / 0.5665 GB, free: 10.55 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.717e-05/0.1585, allocations: 0 / 0.5665 GB, free: 10.55 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.716e-05/0.1586, allocations: 11.98 kB / 0.5665 GB, free: 10.54 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.314e-05/0.1586, allocations: 8 kB / 0.5665 GB, free: 10.54 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0008794/0.1595, allocations: 0.7839 MB / 0.5672 GB, free: 9.754 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1595, allocations: 0 / 0.5672 GB, free: 9.754 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002815/0.1598, allocations: 47.92 kB / 0.5673 GB, free: 9.707 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.002143/0.1619, allocations: 1.053 MB / 0.5683 GB, free: 8.766 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003094/0.1622, allocations: 75.89 kB / 0.5684 GB, free: 8.691 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/0.1622, allocations: 4.125 kB / 0.5684 GB, free: 8.688 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001138/0.1623, allocations: 35.92 kB / 0.5684 GB, free: 8.652 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004738/0.1628, allocations: 73.12 kB / 0.5685 GB, free: 8.586 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005806/0.1686, allocations: 4.583 MB / 0.573 GB, free: 3.898 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005094/0.1691, allocations: 0.8427 MB / 0.5738 GB, free: 3.031 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001536/0.1693, allocations: 58.94 kB / 0.5738 GB, free: 2.973 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002134/0.1695, allocations: 151.4 kB / 0.574 GB, free: 2.828 MB / 430.1 MB Notification: Performance of SimCode: time 9.02e-07/0.1695, allocations: 0 / 0.574 GB, free: 2.828 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02596/0.1955, allocations: 9.174 MB / 0.583 GB, free: 9.711 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.629/8.824, allocations: 4 kB / 0.583 GB, free: 9.707 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test70_fmu --startTime=0 --stopTime=8000 --stepSize=1.56403 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test70.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.973439805966336] Failed to read output from testmodel.py, exit status != 0: ['time', 'startTime_0.y[1]', 'startTime.y[1]'] 9.006410899979528 9.229689501 9.076407452 Calling exit ...