Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.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.001378/0.001378, allocations: 120 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.00146/0.00146, 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.417/1.417, allocations: 230.4 MB / 254.7 MB, free: 15.21 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.2264/0.2264, allocations: 46.92 MB / 357.7 MB, free: 10.22 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.Test69,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test69",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test69,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test69",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002179/0.002179, allocations: 83.88 kB / 0.4917 GB, free: 7.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1199/0.1221, allocations: 66.04 MB / 0.5562 GB, free: 5.504 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.003117/0.1252, allocations: 1.834 MB / 0.558 GB, free: 3.652 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001885/0.1271, allocations: 1.112 MB / 0.5591 GB, free: 2.535 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.545e-05/0.1272, allocations: 3.938 kB / 0.5591 GB, free: 2.531 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005037/0.1277, allocations: 291.3 kB / 0.5594 GB, free: 2.246 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004786/0.1282, allocations: 255.2 kB / 0.5596 GB, free: 1.996 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002407/0.1284, allocations: 103.6 kB / 0.5597 GB, free: 1.895 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003398/0.1287, allocations: 271.2 kB / 0.56 GB, free: 1.629 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.471e-05/0.1288, allocations: 17.69 kB / 0.56 GB, free: 1.609 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001843/0.129, allocations: 135.5 kB / 0.5601 GB, free: 1.477 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002575/0.1292, allocations: 211.9 kB / 0.5603 GB, free: 1.27 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.264e-05/0.1293, allocations: 4 kB / 0.5603 GB, free: 1.266 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001021/0.1294, allocations: 43.98 kB / 0.5604 GB, free: 1.223 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000144/0.1295, allocations: 136.4 kB / 0.5605 GB, free: 1.09 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001472/0.1297, allocations: 146.8 kB / 0.5606 GB, free: 0.9453 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004333/0.1301, allocations: 370.2 kB / 0.561 GB, free: 0.582 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.1301, allocations: 0 / 0.561 GB, free: 0.582 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1301, allocations: 0 / 0.561 GB, free: 0.582 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.422e-06/0.1301, allocations: 4 kB / 0.561 GB, free: 0.5781 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.001001/0.1311, allocations: 0.7578 MB / 0.5617 GB, free: 15.77 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.1311, allocations: 8.031 kB / 0.5617 GB, free: 15.76 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.095e-05/0.1312, allocations: 4.188 kB / 0.5618 GB, free: 15.76 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.506e-05/0.1312, allocations: 38.73 kB / 0.5618 GB, free: 15.71 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.71e-05/0.1313, allocations: 48.61 kB / 0.5618 GB, free: 15.66 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006131/0.1319, allocations: 456.3 kB / 0.5623 GB, free: 15.18 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.319e-05/0.1319, allocations: 4.375 kB / 0.5623 GB, free: 15.18 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.436e-05/0.1319, allocations: 8.312 kB / 0.5623 GB, free: 15.17 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002058/0.1321, allocations: 91.23 kB / 0.5624 GB, free: 15.07 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.1321, allocations: 0 / 0.5624 GB, free: 15.07 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.1321, allocations: 0 / 0.5624 GB, free: 15.07 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.072e-06/0.1322, allocations: 4 kB / 0.5624 GB, free: 15.06 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001164/0.1323, allocations: 27.98 kB / 0.5624 GB, free: 15.04 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004093/0.1327, allocations: 374.4 kB / 0.5628 GB, free: 14.62 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002862/0.133, allocations: 97.17 kB / 0.5629 GB, free: 14.5 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.691e-05/0.1331, allocations: 41.69 kB / 0.5629 GB, free: 14.46 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.475e-05/0.1331, allocations: 7.938 kB / 0.5629 GB, free: 14.45 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000233/0.1333, allocations: 109 kB / 0.563 GB, free: 14.32 MB / 430.1 MB Notification: Performance of pre-optimization done (n=10): time 1.473e-06/0.1333, allocations: 0 / 0.563 GB, free: 14.32 MB / 430.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005188/0.1338, allocations: 201.2 kB / 0.5632 GB, free: 14.12 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.119e-05/0.1339, allocations: 89.09 kB / 0.5633 GB, free: 14.02 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001163/0.1351, allocations: 1.019 MB / 0.5643 GB, free: 12.98 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.081e-05/0.1351, allocations: 29.7 kB / 0.5643 GB, free: 12.95 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001982/0.1353, allocations: 232.1 kB / 0.5645 GB, free: 12.72 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.554e-05/0.1353, allocations: 39.7 kB / 0.5646 GB, free: 12.68 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.524e-05/0.1354, allocations: 25.72 kB / 0.5646 GB, free: 12.65 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001986/0.1356, allocations: 370.8 kB / 0.5649 GB, free: 12.28 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.866e-05/0.1357, allocations: 27.98 kB / 0.565 GB, free: 12.25 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001036/0.1358, allocations: 59.42 kB / 0.565 GB, free: 12.18 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001891/0.136, allocations: 87.34 kB / 0.5651 GB, free: 12.08 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.136, allocations: 0 / 0.5651 GB, free: 12.08 MB / 430.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003331/0.1363, allocations: 181.1 kB / 0.5653 GB, free: 11.9 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.1363, allocations: 4 kB / 0.5653 GB, free: 11.89 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.1363, allocations: 4 kB / 0.5653 GB, free: 11.89 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.1363, allocations: 3.984 kB / 0.5653 GB, free: 11.89 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001226/0.1365, allocations: 23.98 kB / 0.5653 GB, free: 11.86 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.1365, allocations: 0 / 0.5653 GB, free: 11.86 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001007/0.1366, allocations: 16.5 kB / 0.5653 GB, free: 11.85 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.319e-05/0.1366, allocations: 8 kB / 0.5653 GB, free: 11.84 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.0002372/0.1368, allocations: 225.6 kB / 0.5656 GB, free: 11.61 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.684e-05/0.1369, allocations: 51.61 kB / 0.5656 GB, free: 11.56 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.993e-05/0.137, allocations: 64.09 kB / 0.5657 GB, free: 11.49 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.307e-06/0.137, allocations: 0 / 0.5657 GB, free: 11.49 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.085e-05/0.137, allocations: 11.92 kB / 0.5657 GB, free: 11.48 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.471e-06/0.137, allocations: 4 kB / 0.5657 GB, free: 11.48 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003592/0.1374, allocations: 337.4 kB / 0.566 GB, free: 11.1 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.1374, allocations: 0 / 0.566 GB, free: 11.1 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.706e-05/0.1374, allocations: 8 kB / 0.566 GB, free: 11.09 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.1374, allocations: 0 / 0.566 GB, free: 11.09 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.334e-05/0.1374, allocations: 8 kB / 0.566 GB, free: 11.08 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1374, allocations: 0 / 0.566 GB, free: 11.08 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1374, allocations: 0 / 0.566 GB, free: 11.08 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000359/0.1378, allocations: 209.4 kB / 0.5662 GB, free: 10.86 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001326/0.1379, allocations: 136.8 kB / 0.5663 GB, free: 10.7 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.279e-05/0.138, allocations: 8 kB / 0.5664 GB, free: 10.7 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.137e-05/0.138, allocations: 8 kB / 0.5664 GB, free: 10.69 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.152e-05/0.1381, allocations: 7.984 kB / 0.5664 GB, free: 10.68 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.017e-05/0.1381, allocations: 8 kB / 0.5664 GB, free: 10.67 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0008735/0.139, allocations: 0.7643 MB / 0.5671 GB, free: 9.91 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.139, allocations: 0 / 0.5671 GB, free: 9.91 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002697/0.1393, allocations: 51.81 kB / 0.5672 GB, free: 9.859 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.002053/0.1413, allocations: 1.049 MB / 0.5682 GB, free: 8.922 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002456/0.1415, allocations: 75.91 kB / 0.5683 GB, free: 8.848 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1416, allocations: 0 / 0.5683 GB, free: 8.848 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00011/0.1417, allocations: 35.92 kB / 0.5683 GB, free: 8.812 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004338/0.1421, allocations: 66.33 kB / 0.5684 GB, free: 8.75 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005637/0.1477, allocations: 4.477 MB / 0.5727 GB, free: 4.168 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005075/0.1482, allocations: 0.8466 MB / 0.5736 GB, free: 3.297 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001425/0.1484, allocations: 67.38 kB / 0.5736 GB, free: 3.23 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001989/0.1486, allocations: 151.4 kB / 0.5738 GB, free: 3.086 MB / 430.1 MB Notification: Performance of SimCode: time 6.01e-07/0.1486, allocations: 0 / 0.5738 GB, free: 3.086 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02609/0.1747, allocations: 9.001 MB / 0.5826 GB, free: 10.14 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.689/8.863, allocations: 19.92 kB / 0.5826 GB, free: 10.12 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test69_fmu --startTime=0 --stopTime=8000 --stepSize=1.57542 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test69.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.997388097050134] Failed to read output from testmodel.py, exit status != 0: ['time', 'startTime_0.y[1]', 'startTime.y[1]'] 9.043063880992122 9.253812814 9.120967363 Calling exit ...