Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.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.001345/0.001345, allocations: 114.3 kB / 18.49 MB, free: 4.539 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.001598/0.001598, allocations: 219 kB / 21.46 MB, free: 1.586 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.502/1.502, allocations: 230.6 MB / 254.8 MB, free: 15.07 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.232/0.232, allocations: 46.93 MB / 357.8 MB, free: 10.29 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.Test72,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test72",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test72,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test72",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001871/0.001871, allocations: 71.83 kB / 0.4917 GB, free: 7.859 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1271/0.129, allocations: 65.99 MB / 0.5561 GB, free: 5.742 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.003831/0.1328, allocations: 1.829 MB / 0.5579 GB, free: 3.898 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002061/0.1349, allocations: 1.105 MB / 0.559 GB, free: 2.789 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001118/0.135, allocations: 7.938 kB / 0.559 GB, free: 2.781 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005919/0.1356, allocations: 311.3 kB / 0.5593 GB, free: 2.477 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005034/0.1361, allocations: 259.2 kB / 0.5595 GB, free: 2.223 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002623/0.1364, allocations: 99.69 kB / 0.5596 GB, free: 2.125 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003521/0.1367, allocations: 267.2 kB / 0.5599 GB, free: 1.863 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.093e-05/0.1368, allocations: 13.69 kB / 0.5599 GB, free: 1.848 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001943/0.137, allocations: 143.5 kB / 0.56 GB, free: 1.707 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002634/0.1373, allocations: 219.4 kB / 0.5603 GB, free: 1.492 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.433e-05/0.1373, allocations: 4 kB / 0.5603 GB, free: 1.488 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001094/0.1374, allocations: 43.98 kB / 0.5603 GB, free: 1.445 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001565/0.1376, allocations: 135.6 kB / 0.5604 GB, free: 1.312 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001641/0.1377, allocations: 154.7 kB / 0.5606 GB, free: 1.16 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004749/0.1382, allocations: 386.2 kB / 0.5609 GB, free: 0.7812 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.1382, allocations: 4 kB / 0.5609 GB, free: 0.7773 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1382, allocations: 0 / 0.5609 GB, free: 0.7773 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.945e-06/0.1382, allocations: 0 / 0.5609 GB, free: 0.7773 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.001069/0.1393, allocations: 0.757 MB / 0.5617 GB, free: 15.97 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.1393, allocations: 8.031 kB / 0.5617 GB, free: 15.96 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.804e-05/0.1393, allocations: 4.188 kB / 0.5617 GB, free: 15.96 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.592e-05/0.1394, allocations: 34.75 kB / 0.5617 GB, free: 15.91 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.159e-05/0.1394, allocations: 56.61 kB / 0.5618 GB, free: 15.86 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006798/0.1401, allocations: 464.2 kB / 0.5622 GB, free: 15.36 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.844e-05/0.1401, allocations: 0.9375 kB / 0.5622 GB, free: 15.36 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.22e-05/0.1402, allocations: 8 kB / 0.5622 GB, free: 15.36 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002298/0.1404, allocations: 87.28 kB / 0.5623 GB, free: 15.26 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.1404, allocations: 0 / 0.5623 GB, free: 15.26 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.398e-05/0.1404, allocations: 4 kB / 0.5623 GB, free: 15.25 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.1404, allocations: 8 kB / 0.5623 GB, free: 15.25 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001169/0.1405, allocations: 31.91 kB / 0.5624 GB, free: 15.21 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004391/0.141, allocations: 386.3 kB / 0.5627 GB, free: 14.79 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002952/0.1413, allocations: 101.2 kB / 0.5628 GB, free: 14.67 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001083/0.1414, allocations: 41.69 kB / 0.5629 GB, free: 14.62 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.312e-05/0.1414, allocations: 0 / 0.5629 GB, free: 14.62 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002436/0.1416, allocations: 109 kB / 0.563 GB, free: 14.5 MB / 430.1 MB Notification: Performance of pre-optimization done (n=10): time 1.072e-06/0.1416, allocations: 4 kB / 0.563 GB, free: 14.49 MB / 430.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005179/0.1422, allocations: 193.3 kB / 0.5632 GB, free: 14.3 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.078e-05/0.1422, allocations: 89.03 kB / 0.5632 GB, free: 14.19 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00118/0.1434, allocations: 1.054 MB / 0.5643 GB, free: 13.12 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.005e-05/0.1434, allocations: 25.7 kB / 0.5643 GB, free: 13.09 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001929/0.1436, allocations: 240.1 kB / 0.5645 GB, free: 12.86 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.928e-05/0.1437, allocations: 27.78 kB / 0.5646 GB, free: 12.83 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.49e-05/0.1437, allocations: 25.72 kB / 0.5646 GB, free: 12.8 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001858/0.1439, allocations: 374.8 kB / 0.5649 GB, free: 12.42 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.073e-05/0.144, allocations: 27.98 kB / 0.565 GB, free: 12.39 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000111/0.1441, allocations: 58.92 kB / 0.565 GB, free: 12.33 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001921/0.1443, allocations: 99.78 kB / 0.5651 GB, free: 12.22 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.1443, allocations: 0 / 0.5651 GB, free: 12.22 MB / 430.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003155/0.1446, allocations: 173.2 kB / 0.5653 GB, free: 12.04 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.1446, allocations: 4 kB / 0.5653 GB, free: 12.04 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.1446, allocations: 4 kB / 0.5653 GB, free: 12.04 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.1447, allocations: 0 / 0.5653 GB, free: 12.04 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001337/0.1448, allocations: 27.92 kB / 0.5653 GB, free: 12.01 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.75e-06/0.1448, allocations: 0 / 0.5653 GB, free: 12.01 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.783e-05/0.1449, allocations: 19.98 kB / 0.5653 GB, free: 11.99 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.098e-05/0.1449, allocations: 4 kB / 0.5653 GB, free: 11.98 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.0002265/0.1451, allocations: 220 kB / 0.5655 GB, free: 11.76 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.339e-05/0.1452, allocations: 63.55 kB / 0.5656 GB, free: 11.7 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.626e-05/0.1453, allocations: 64.08 kB / 0.5657 GB, free: 11.63 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.1453, allocations: 0 / 0.5657 GB, free: 11.63 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.1453, allocations: 3.938 kB / 0.5657 GB, free: 11.63 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.1453, allocations: 0 / 0.5657 GB, free: 11.63 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003409/0.1457, allocations: 345.4 kB / 0.566 GB, free: 11.24 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.1457, allocations: 7.938 kB / 0.566 GB, free: 11.23 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.773e-05/0.1457, allocations: 8 kB / 0.566 GB, free: 11.23 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.1457, allocations: 4 kB / 0.566 GB, free: 11.22 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.306e-05/0.1457, allocations: 3.984 kB / 0.566 GB, free: 11.22 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.1457, allocations: 0 / 0.566 GB, free: 11.22 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1457, allocations: 4 kB / 0.566 GB, free: 11.21 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000365/0.1461, allocations: 205.6 kB / 0.5662 GB, free: 10.99 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001475/0.1462, allocations: 140.7 kB / 0.5664 GB, free: 10.84 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.08e-05/0.1463, allocations: 12 kB / 0.5664 GB, free: 10.82 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.256e-05/0.1464, allocations: 7.969 kB / 0.5664 GB, free: 10.82 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.319e-05/0.1464, allocations: 7.984 kB / 0.5664 GB, free: 10.81 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.158e-05/0.1464, allocations: 12 kB / 0.5664 GB, free: 10.8 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0008711/0.1473, allocations: 0.78 MB / 0.5672 GB, free: 10.02 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1473, allocations: 0 / 0.5672 GB, free: 10.02 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002727/0.1476, allocations: 43.94 kB / 0.5672 GB, free: 9.977 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.002098/0.1497, allocations: 1.046 MB / 0.5682 GB, free: 9.055 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002619/0.1499, allocations: 83.84 kB / 0.5683 GB, free: 8.973 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1499, allocations: 4.125 kB / 0.5683 GB, free: 8.969 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001075/0.15, allocations: 35.97 kB / 0.5683 GB, free: 8.934 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004329/0.1505, allocations: 67.34 kB / 0.5684 GB, free: 8.875 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005989/0.1565, allocations: 4.574 MB / 0.5729 GB, free: 4.195 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005004/0.157, allocations: 0.8505 MB / 0.5737 GB, free: 3.316 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001606/0.1571, allocations: 58.94 kB / 0.5738 GB, free: 3.258 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002053/0.1573, allocations: 151.4 kB / 0.5739 GB, free: 3.113 MB / 430.1 MB Notification: Performance of SimCode: time 9.61e-07/0.1573, allocations: 3.938 kB / 0.5739 GB, free: 3.109 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02774/0.1851, allocations: 9.188 MB / 0.5829 GB, free: 9.988 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.153/9.338, allocations: 15.94 kB / 0.5829 GB, free: 9.973 MB / 446.1 MB " [Timeout remaining time 650] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test72_fmu --startTime=0 --stopTime=8000 --stepSize=1.56986 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test72.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.641798338969238] Failed to read output from testmodel.py, exit status != 0: ['time', 'startTime_0.y[1]', 'startTime.y[1]'] 9.524673672043718 9.768700117 9.627060537 Calling exit ...