Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001684/0.001684, allocations: 121 kB / 18.5 MB, free: 4.562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001966/0.001966, allocations: 213.5 kB / 21.45 MB, free: 1.617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.529/1.529, allocations: 230.6 MB / 254.8 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2451/0.2451, allocations: 46.92 MB / 357.8 MB, free: 10.3 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+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test68,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test68",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test68,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test68",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001905/0.001905, allocations: 71.91 kB / 0.4917 GB, free: 7.887 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.1347, allocations: 65.98 MB / 0.5561 GB, free: 5.766 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.003148/0.1378, allocations: 1.836 MB / 0.5579 GB, free: 3.914 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001858/0.1397, allocations: 1.109 MB / 0.559 GB, free: 2.801 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.887e-05/0.1398, allocations: 0 / 0.559 GB, free: 2.801 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000516/0.1403, allocations: 303.2 kB / 0.5593 GB, free: 2.504 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004635/0.1407, allocations: 255.2 kB / 0.5595 GB, free: 2.254 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002439/0.141, allocations: 99.7 kB / 0.5596 GB, free: 2.156 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003348/0.1413, allocations: 267.2 kB / 0.5599 GB, free: 1.895 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.507e-05/0.1414, allocations: 9.688 kB / 0.5599 GB, free: 1.883 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001823/0.1416, allocations: 135.5 kB / 0.56 GB, free: 1.75 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000254/0.1418, allocations: 219.9 kB / 0.5602 GB, free: 1.535 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.513e-05/0.1418, allocations: 8 kB / 0.5602 GB, free: 1.527 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001033/0.1419, allocations: 39.98 kB / 0.5603 GB, free: 1.488 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001497/0.1421, allocations: 132.5 kB / 0.5604 GB, free: 1.359 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001463/0.1422, allocations: 150.8 kB / 0.5605 GB, free: 1.211 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004283/0.1427, allocations: 378.2 kB / 0.5609 GB, free: 0.8398 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.1427, allocations: 0 / 0.5609 GB, free: 0.8398 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1427, allocations: 0 / 0.5609 GB, free: 0.8398 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.1427, allocations: 0 / 0.5609 GB, free: 0.8398 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.0009843/0.1437, allocations: 0.75 MB / 0.5616 GB, free: 40 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.1437, allocations: 8.031 kB / 0.5616 GB, free: 32 kB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.081e-05/0.1437, allocations: 4.188 kB / 0.5616 GB, free: 28 kB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.694e-05/0.1438, allocations: 34.75 kB / 0.5617 GB, free: 15.98 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.878e-05/0.1438, allocations: 56.59 kB / 0.5617 GB, free: 15.93 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005949/0.1444, allocations: 460.3 kB / 0.5622 GB, free: 15.44 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.643e-05/0.1445, allocations: 4.125 kB / 0.5622 GB, free: 15.43 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.432e-05/0.1445, allocations: 4 kB / 0.5622 GB, free: 15.43 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002242/0.1447, allocations: 79.38 kB / 0.5623 GB, free: 15.34 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.1447, allocations: 7.969 kB / 0.5623 GB, free: 15.33 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.1447, allocations: 0 / 0.5623 GB, free: 15.33 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.181e-06/0.1447, allocations: 7.938 kB / 0.5623 GB, free: 15.32 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001147/0.1448, allocations: 35.92 kB / 0.5623 GB, free: 15.29 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004262/0.1453, allocations: 370.4 kB / 0.5627 GB, free: 14.88 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002841/0.1455, allocations: 97.17 kB / 0.5628 GB, free: 14.76 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001093/0.1457, allocations: 49.62 kB / 0.5628 GB, free: 14.71 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.794e-05/0.1457, allocations: 0 / 0.5628 GB, free: 14.71 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002376/0.1459, allocations: 109.1 kB / 0.5629 GB, free: 14.58 MB / 430.1 MB Notification: Performance of pre-optimization done (n=10): time 1.413e-06/0.1459, allocations: 0 / 0.5629 GB, free: 14.58 MB / 430.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005127/0.1464, allocations: 205.2 kB / 0.5631 GB, free: 14.38 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.09e-05/0.1465, allocations: 81.09 kB / 0.5632 GB, free: 14.28 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00115/0.1476, allocations: 1.022 MB / 0.5642 GB, free: 13.24 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.221e-05/0.1477, allocations: 25.7 kB / 0.5642 GB, free: 13.21 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000192/0.1479, allocations: 240 kB / 0.5644 GB, free: 12.97 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.521e-05/0.1479, allocations: 27.78 kB / 0.5645 GB, free: 12.95 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.97e-05/0.1479, allocations: 33.66 kB / 0.5645 GB, free: 12.91 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001875/0.1481, allocations: 366.8 kB / 0.5648 GB, free: 12.54 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.238e-05/0.1482, allocations: 31.97 kB / 0.5649 GB, free: 12.51 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001054/0.1483, allocations: 55.92 kB / 0.5649 GB, free: 12.44 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002182/0.1485, allocations: 103.3 kB / 0.565 GB, free: 12.33 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.1486, allocations: 0 / 0.565 GB, free: 12.33 MB / 430.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003125/0.1489, allocations: 165.2 kB / 0.5652 GB, free: 12.16 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.1489, allocations: 10.03 kB / 0.5652 GB, free: 12.15 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.1489, allocations: 0 / 0.5652 GB, free: 12.15 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.1489, allocations: 0 / 0.5652 GB, free: 12.15 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001191/0.149, allocations: 27.92 kB / 0.5652 GB, free: 12.12 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.149, allocations: 0 / 0.5652 GB, free: 12.12 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000102/0.1491, allocations: 19.95 kB / 0.5652 GB, free: 12.11 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.276e-05/0.1491, allocations: 7.984 kB / 0.5652 GB, free: 12.1 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.0002191/0.1494, allocations: 219.9 kB / 0.5654 GB, free: 11.88 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.748e-05/0.1494, allocations: 47.67 kB / 0.5655 GB, free: 11.83 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.898e-05/0.1495, allocations: 64.09 kB / 0.5656 GB, free: 11.76 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.1495, allocations: 0 / 0.5656 GB, free: 11.76 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.1495, allocations: 0 / 0.5656 GB, free: 11.76 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/0.1495, allocations: 7.984 kB / 0.5656 GB, free: 11.75 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000328/0.1499, allocations: 337.4 kB / 0.5659 GB, free: 11.38 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.1499, allocations: 8 kB / 0.5659 GB, free: 11.37 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.938e-05/0.1499, allocations: 15.86 kB / 0.5659 GB, free: 11.35 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.1499, allocations: 0 / 0.5659 GB, free: 11.35 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.1499, allocations: 4.125 kB / 0.5659 GB, free: 11.35 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.4e-06/0.1499, allocations: 4 kB / 0.5659 GB, free: 11.34 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1499, allocations: 0 / 0.5659 GB, free: 11.34 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003563/0.1503, allocations: 213.4 kB / 0.5661 GB, free: 11.11 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001363/0.1504, allocations: 144.8 kB / 0.5663 GB, free: 10.95 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.076e-05/0.1505, allocations: 0 / 0.5663 GB, free: 10.95 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.093e-05/0.1505, allocations: 4 kB / 0.5663 GB, free: 10.95 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.145e-05/0.1506, allocations: 15.97 kB / 0.5663 GB, free: 10.93 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.71e-05/0.1506, allocations: 4 kB / 0.5663 GB, free: 10.93 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0008309/0.1514, allocations: 0.7643 MB / 0.567 GB, free: 10.17 MB / 430.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1514, allocations: 0 / 0.567 GB, free: 10.17 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002723/0.1517, allocations: 43.94 kB / 0.5671 GB, free: 10.12 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.002076/0.1538, allocations: 1.048 MB / 0.5681 GB, free: 9.203 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002512/0.154, allocations: 75.91 kB / 0.5682 GB, free: 9.129 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.154, allocations: 3.938 kB / 0.5682 GB, free: 9.125 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001039/0.1541, allocations: 36.11 kB / 0.5682 GB, free: 9.09 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004202/0.1545, allocations: 76.16 kB / 0.5683 GB, free: 9.023 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005733/0.1603, allocations: 4.484 MB / 0.5727 GB, free: 4.434 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000519/0.1608, allocations: 0.8388 MB / 0.5735 GB, free: 3.566 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001225/0.1609, allocations: 54.95 kB / 0.5735 GB, free: 3.512 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002035/0.1611, allocations: 147.4 kB / 0.5737 GB, free: 3.371 MB / 430.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1611, allocations: 0 / 0.5737 GB, free: 3.371 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02757/0.1887, allocations: 9.031 MB / 0.5825 GB, free: 10.42 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.96/9.149, allocations: 12 kB / 0.5825 GB, free: 10.41 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test68_fmu --startTime=0 --stopTime=8000 --stepSize=1.56403 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test68.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.542604383954313] Failed to read output from testmodel.py, exit status != 0: ['time', 'startTime_0.y[1]', 'startTime.y[1]'] 9.331418425019365 9.559707868 9.413071359 Calling exit ...