Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.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.001333/0.001333, allocations: 118.2 kB / 18.49 MB, free: 4.566 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.001429/0.001429, allocations: 218.3 kB / 21.46 MB, free: 1.613 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.42/1.42, allocations: 230.4 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.2272/0.2272, allocations: 46.91 MB / 357.7 MB, free: 10.17 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.Test68,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test68",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test68,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test68",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002172/0.002172, allocations: 80.16 kB / 0.4917 GB, free: 7.625 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1324/0.1345, allocations: 66.05 MB / 0.5562 GB, free: 5.441 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.003383/0.1379, allocations: 1.825 MB / 0.558 GB, free: 3.598 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001961/0.1399, allocations: 1.108 MB / 0.5591 GB, free: 2.484 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.193e-05/0.14, allocations: 0 / 0.5591 GB, free: 2.484 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005524/0.1405, allocations: 303.2 kB / 0.5594 GB, free: 2.188 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005215/0.141, allocations: 251.2 kB / 0.5596 GB, free: 1.941 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002577/0.1413, allocations: 107.7 kB / 0.5597 GB, free: 1.836 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000363/0.1417, allocations: 263.2 kB / 0.56 GB, free: 1.578 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.847e-05/0.1417, allocations: 21.67 kB / 0.56 GB, free: 1.555 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001915/0.1419, allocations: 131.5 kB / 0.5601 GB, free: 1.426 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002618/0.1422, allocations: 208 kB / 0.5603 GB, free: 1.223 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.324e-05/0.1422, allocations: 8 kB / 0.5603 GB, free: 1.215 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001144/0.1423, allocations: 47.92 kB / 0.5604 GB, free: 1.168 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001614/0.1425, allocations: 136.5 kB / 0.5605 GB, free: 1.035 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000149/0.1426, allocations: 146.8 kB / 0.5606 GB, free: 0.8906 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004652/0.1431, allocations: 374.2 kB / 0.561 GB, free: 0.5234 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.1431, allocations: 3.938 kB / 0.561 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1431, allocations: 0 / 0.561 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.172e-05/0.1431, allocations: 0 / 0.561 GB, free: 0.5195 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.001129/0.1442, allocations: 0.75 MB / 0.5617 GB, free: 15.72 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.114e-05/0.1443, allocations: 8.031 kB / 0.5617 GB, free: 15.71 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.612e-05/0.1443, allocations: 4.188 kB / 0.5617 GB, free: 15.71 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.041e-05/0.1443, allocations: 34.75 kB / 0.5618 GB, free: 15.66 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.353e-05/0.1444, allocations: 52.61 kB / 0.5618 GB, free: 15.61 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006606/0.1451, allocations: 456.3 kB / 0.5623 GB, free: 15.13 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.847e-05/0.1451, allocations: 8.359 kB / 0.5623 GB, free: 15.12 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.156e-05/0.1451, allocations: 8.375 kB / 0.5623 GB, free: 15.11 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002546/0.1454, allocations: 87.28 kB / 0.5624 GB, free: 15.02 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.1454, allocations: 0 / 0.5624 GB, free: 15.02 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.41e-05/0.1454, allocations: 4 kB / 0.5624 GB, free: 15.01 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.331e-05/0.1454, allocations: 4 kB / 0.5624 GB, free: 15.01 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001172/0.1455, allocations: 31.91 kB / 0.5624 GB, free: 14.98 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004416/0.146, allocations: 374.4 kB / 0.5628 GB, free: 14.56 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003153/0.1463, allocations: 101.2 kB / 0.5628 GB, free: 14.44 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001004/0.1464, allocations: 33.7 kB / 0.5629 GB, free: 14.4 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.677e-05/0.1464, allocations: 11.88 kB / 0.5629 GB, free: 14.39 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002594/0.1467, allocations: 105.1 kB / 0.563 GB, free: 14.27 MB / 430.1 MB Notification: Performance of pre-optimization done (n=10): time 1.102e-06/0.1467, allocations: 4 kB / 0.563 GB, free: 14.27 MB / 430.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005352/0.1472, allocations: 201.6 kB / 0.5632 GB, free: 14.06 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.655e-05/0.1473, allocations: 77.11 kB / 0.5633 GB, free: 13.97 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001199/0.1485, allocations: 1.022 MB / 0.5643 GB, free: 12.93 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.476e-05/0.1485, allocations: 33.7 kB / 0.5643 GB, free: 12.89 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002011/0.1487, allocations: 232.1 kB / 0.5645 GB, free: 12.66 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.828e-05/0.1487, allocations: 31.67 kB / 0.5645 GB, free: 12.63 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.235e-05/0.1488, allocations: 33.7 kB / 0.5646 GB, free: 12.59 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002024/0.149, allocations: 366.8 kB / 0.5649 GB, free: 12.23 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.884e-05/0.1491, allocations: 31.92 kB / 0.565 GB, free: 12.2 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001065/0.1492, allocations: 62.59 kB / 0.565 GB, free: 12.12 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001848/0.1494, allocations: 91.36 kB / 0.5651 GB, free: 12.02 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.1494, allocations: 0 / 0.5651 GB, free: 12.02 MB / 430.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003197/0.1497, allocations: 177.2 kB / 0.5653 GB, free: 11.84 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.1497, allocations: 4 kB / 0.5653 GB, free: 11.84 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/0.1497, allocations: 4 kB / 0.5653 GB, free: 11.84 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/0.1497, allocations: 0 / 0.5653 GB, free: 11.84 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001264/0.1499, allocations: 23.92 kB / 0.5653 GB, free: 11.81 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.627e-06/0.1499, allocations: 4 kB / 0.5653 GB, free: 11.81 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001064/0.15, allocations: 19.95 kB / 0.5653 GB, free: 11.79 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.143e-05/0.15, allocations: 4 kB / 0.5653 GB, free: 11.79 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.0002361/0.1502, allocations: 221.6 kB / 0.5655 GB, free: 11.56 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.207e-05/0.1503, allocations: 55.61 kB / 0.5656 GB, free: 11.5 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.487e-05/0.1504, allocations: 60.09 kB / 0.5656 GB, free: 11.44 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.1504, allocations: 0 / 0.5656 GB, free: 11.44 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.1504, allocations: 0 / 0.5656 GB, free: 11.44 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.1504, allocations: 0 / 0.5656 GB, free: 11.44 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003719/0.1508, allocations: 345.4 kB / 0.566 GB, free: 11.05 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.1508, allocations: 4.125 kB / 0.566 GB, free: 11.05 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.05e-05/0.1508, allocations: 15.94 kB / 0.566 GB, free: 11.04 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.1508, allocations: 0 / 0.566 GB, free: 11.04 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.978e-05/0.1509, allocations: 11.98 kB / 0.566 GB, free: 11.02 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1509, allocations: 0 / 0.566 GB, free: 11.02 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1509, allocations: 0 / 0.566 GB, free: 11.02 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003752/0.1512, allocations: 213.4 kB / 0.5662 GB, free: 10.79 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001365/0.1514, allocations: 136.8 kB / 0.5663 GB, free: 10.64 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.355e-05/0.1514, allocations: 4 kB / 0.5663 GB, free: 10.64 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.433e-05/0.1515, allocations: 11.98 kB / 0.5664 GB, free: 10.62 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.568e-05/0.1516, allocations: 7.984 kB / 0.5664 GB, free: 10.62 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.694e-05/0.1516, allocations: 4 kB / 0.5664 GB, free: 10.61 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0008406/0.1524, allocations: 0.7604 MB / 0.5671 GB, free: 9.855 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1524, allocations: 0 / 0.5671 GB, free: 9.855 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002734/0.1527, allocations: 51.95 kB / 0.5672 GB, free: 9.805 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.002153/0.1548, allocations: 1.038 MB / 0.5682 GB, free: 8.871 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002842/0.1551, allocations: 75.89 kB / 0.5682 GB, free: 8.797 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.1551, allocations: 8.125 kB / 0.5683 GB, free: 8.789 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001234/0.1552, allocations: 39.91 kB / 0.5683 GB, free: 8.75 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004344/0.1557, allocations: 71.81 kB / 0.5684 GB, free: 8.688 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005907/0.1616, allocations: 4.484 MB / 0.5727 GB, free: 4.098 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005402/0.1621, allocations: 0.8466 MB / 0.5736 GB, free: 3.227 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001533/0.1623, allocations: 55.44 kB / 0.5736 GB, free: 3.172 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001979/0.1625, allocations: 143.4 kB / 0.5738 GB, free: 3.035 MB / 430.1 MB Notification: Performance of SimCode: time 7.11e-07/0.1625, allocations: 0 / 0.5738 GB, free: 3.035 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02805/0.1905, allocations: 9.015 MB / 0.5826 GB, free: 10.08 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.642/8.832, allocations: 7.875 kB / 0.5826 GB, free: 10.07 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test68_fmu --startTime=0 --stopTime=8000 --stepSize=1.56403 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test68.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.012577034998685] Failed to read output from testmodel.py, exit status != 0: ['time', 'startTime_0.y[1]', 'startTime.y[1]'] 9.011833120021038 9.229717333 9.083682132 Calling exit ...