Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.001335/0.001335, allocations: 116.9 kB / 18.49 MB, free: 4.559 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.0014/0.0014, allocations: 212.7 kB / 21.46 MB, free: 1.605 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.46/1.46, allocations: 230.5 MB / 254.7 MB, free: 15.2 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.2199/0.2199, allocations: 46.92 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.Test71,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test71",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test71,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test71",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002242/0.002242, allocations: 83.88 kB / 0.4917 GB, free: 26.8 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1174/0.1197, allocations: 66.04 MB / 0.5562 GB, free: 8.625 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.003161/0.1228, allocations: 1.832 MB / 0.558 GB, free: 6.777 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001819/0.1247, allocations: 1.116 MB / 0.5591 GB, free: 5.656 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.302e-05/0.1248, allocations: 3.938 kB / 0.5591 GB, free: 5.652 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005128/0.1253, allocations: 303.3 kB / 0.5594 GB, free: 5.355 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004779/0.1257, allocations: 267.2 kB / 0.5596 GB, free: 5.094 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002355/0.126, allocations: 103.6 kB / 0.5597 GB, free: 4.992 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003257/0.1263, allocations: 263.2 kB / 0.56 GB, free: 4.734 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.104e-05/0.1264, allocations: 9.672 kB / 0.56 GB, free: 4.723 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001895/0.1265, allocations: 135.5 kB / 0.5601 GB, free: 4.59 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002536/0.1268, allocations: 223.5 kB / 0.5603 GB, free: 4.371 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.648e-05/0.1268, allocations: 8 kB / 0.5603 GB, free: 4.363 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000113/0.1269, allocations: 43.98 kB / 0.5604 GB, free: 4.32 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001523/0.1271, allocations: 139.5 kB / 0.5605 GB, free: 4.184 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001538/0.1272, allocations: 146.8 kB / 0.5607 GB, free: 4.039 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004933/0.1277, allocations: 386.5 kB / 0.561 GB, free: 3.66 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.441e-06/0.1277, allocations: 0 / 0.561 GB, free: 3.66 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1277, allocations: 0 / 0.561 GB, free: 3.66 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.418e-05/0.1278, allocations: 0 / 0.561 GB, free: 3.66 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.1288, allocations: 0.7655 MB / 0.5618 GB, free: 2.844 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.968e-05/0.1289, allocations: 12.03 kB / 0.5618 GB, free: 2.832 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.346e-05/0.1289, allocations: 192 / 0.5618 GB, free: 2.832 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.935e-05/0.1289, allocations: 38.69 kB / 0.5618 GB, free: 2.785 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001501/0.1291, allocations: 52.61 kB / 0.5619 GB, free: 2.734 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000658/0.1298, allocations: 464.4 kB / 0.5623 GB, free: 2.242 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/0.1298, allocations: 4.375 kB / 0.5623 GB, free: 2.238 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.819e-05/0.1298, allocations: 4.375 kB / 0.5623 GB, free: 2.234 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002097/0.13, allocations: 87.25 kB / 0.5624 GB, free: 2.137 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.13, allocations: 7.984 kB / 0.5624 GB, free: 2.129 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.656e-05/0.13, allocations: 4 kB / 0.5624 GB, free: 2.125 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.13, allocations: 0 / 0.5624 GB, free: 2.125 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001091/0.1301, allocations: 27.92 kB / 0.5624 GB, free: 2.098 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004764/0.1306, allocations: 390.3 kB / 0.5628 GB, free: 1.664 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002932/0.1309, allocations: 101.2 kB / 0.5629 GB, free: 1.547 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.949e-05/0.131, allocations: 37.7 kB / 0.563 GB, free: 1.504 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.84e-05/0.131, allocations: 3.938 kB / 0.563 GB, free: 1.5 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002385/0.1313, allocations: 109 kB / 0.5631 GB, free: 1.375 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.203e-06/0.1313, allocations: 0 / 0.5631 GB, free: 1.375 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005195/0.1318, allocations: 205.2 kB / 0.5633 GB, free: 1.168 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.705e-05/0.1319, allocations: 85.11 kB / 0.5633 GB, free: 1.066 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001145/0.133, allocations: 1.05 MB / 0.5644 GB, free: 4 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.085e-05/0.133, allocations: 33.69 kB / 0.5644 GB, free: 15.96 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000183/0.1332, allocations: 232.1 kB / 0.5646 GB, free: 15.73 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.044e-05/0.1333, allocations: 35.72 kB / 0.5647 GB, free: 15.7 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.216e-05/0.1333, allocations: 33.7 kB / 0.5647 GB, free: 15.66 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001756/0.1335, allocations: 362.8 kB / 0.565 GB, free: 15.3 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.396e-05/0.1336, allocations: 27.98 kB / 0.5651 GB, free: 15.27 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001045/0.1337, allocations: 67.34 kB / 0.5651 GB, free: 15.19 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000179/0.1339, allocations: 83.42 kB / 0.5652 GB, free: 15.1 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.1339, allocations: 0 / 0.5652 GB, free: 15.1 MB / 430.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003128/0.1342, allocations: 177.7 kB / 0.5654 GB, free: 14.92 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.396e-05/0.1342, allocations: 16.05 kB / 0.5654 GB, free: 14.9 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.1342, allocations: 0 / 0.5654 GB, free: 14.9 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.1342, allocations: 0 / 0.5654 GB, free: 14.9 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001183/0.1343, allocations: 23.94 kB / 0.5654 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.1344, allocations: 3.984 kB / 0.5654 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.361e-05/0.1345, allocations: 8 kB / 0.5654 GB, free: 14.87 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.117e-06/0.1345, allocations: 4 kB / 0.5654 GB, free: 14.86 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.0002287/0.1347, allocations: 229.6 kB / 0.5656 GB, free: 14.63 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.858e-05/0.1348, allocations: 59.56 kB / 0.5657 GB, free: 14.57 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.925e-05/0.1349, allocations: 64.14 kB / 0.5658 GB, free: 14.5 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.1349, allocations: 0 / 0.5658 GB, free: 14.5 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.1349, allocations: 4 kB / 0.5658 GB, free: 14.5 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.1349, allocations: 0 / 0.5658 GB, free: 14.5 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003392/0.1352, allocations: 345.3 kB / 0.5661 GB, free: 14.11 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.1352, allocations: 0 / 0.5661 GB, free: 14.11 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.961e-05/0.1353, allocations: 15.98 kB / 0.5661 GB, free: 14.1 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.1353, allocations: 3.938 kB / 0.5661 GB, free: 14.09 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.305e-05/0.1353, allocations: 4 kB / 0.5661 GB, free: 14.09 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.1353, allocations: 0 / 0.5661 GB, free: 14.09 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.1353, allocations: 7.938 kB / 0.5661 GB, free: 14.08 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003524/0.1356, allocations: 205.5 kB / 0.5663 GB, free: 13.86 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000133/0.1358, allocations: 136.8 kB / 0.5664 GB, free: 13.71 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.602e-05/0.1358, allocations: 8 kB / 0.5665 GB, free: 13.7 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.42e-05/0.1359, allocations: 7.938 kB / 0.5665 GB, free: 13.69 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.42e-05/0.1359, allocations: 7.984 kB / 0.5665 GB, free: 13.68 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.9e-05/0.136, allocations: 12 kB / 0.5665 GB, free: 13.67 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0008383/0.1368, allocations: 0.78 MB / 0.5672 GB, free: 12.89 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1368, allocations: 0 / 0.5672 GB, free: 12.89 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002717/0.1371, allocations: 47.98 kB / 0.5673 GB, free: 12.85 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.002019/0.1391, allocations: 1.048 MB / 0.5683 GB, free: 11.91 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000257/0.1393, allocations: 79.89 kB / 0.5684 GB, free: 11.83 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1393, allocations: 0 / 0.5684 GB, free: 11.83 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000117/0.1395, allocations: 39.92 kB / 0.5684 GB, free: 11.79 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004162/0.1399, allocations: 69.64 kB / 0.5685 GB, free: 11.73 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005823/0.1457, allocations: 4.578 MB / 0.573 GB, free: 7.047 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004862/0.1462, allocations: 0.8427 MB / 0.5738 GB, free: 6.18 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001355/0.1463, allocations: 62.94 kB / 0.5738 GB, free: 6.117 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002081/0.1465, allocations: 151.4 kB / 0.574 GB, free: 5.973 MB / 430.1 MB Notification: Performance of SimCode: time 1.242e-06/0.1465, allocations: 0 / 0.574 GB, free: 5.973 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02574/0.1723, allocations: 9.166 MB / 0.5829 GB, free: 12.86 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.682/8.854, allocations: 10.67 kB / 0.583 GB, free: 12.86 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test71_fmu --startTime=0 --stopTime=8000 --stepSize=1.57542 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test71.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.836704469984397] Failed to read output from testmodel.py, exit status != 0: ['time', 'startTime_0.y[1]', 'startTime.y[1]'] 9.033878004993312 9.0484394 8.917905205 Calling exit ...