Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.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.001379/0.001379, allocations: 116.4 kB / 18.5 MB, free: 4.598 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.001497/0.001497, allocations: 208.9 kB / 21.46 MB, free: 1.645 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.484/1.484, allocations: 230.2 MB / 254.5 MB, free: 15.26 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.2253/0.2253, allocations: 46.9 MB / 357.4 MB, free: 10.48 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.Test14,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test14",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test14,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test14",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002256/0.002256, allocations: 75.88 kB / 0.4913 GB, free: 8.398 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1303/0.1326, allocations: 65.99 MB / 0.5558 GB, free: 6.277 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.003623/0.1362, allocations: 2.047 MB / 0.5578 GB, free: 4.211 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00199/0.1382, allocations: 1.118 MB / 0.5588 GB, free: 3.086 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001057/0.1383, allocations: 0 / 0.5588 GB, free: 3.086 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003413/0.1386, allocations: 51.58 kB / 0.5589 GB, free: 3.035 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003308/0.139, allocations: 115.4 kB / 0.559 GB, free: 2.922 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002775/0.1392, allocations: 115.6 kB / 0.5591 GB, free: 2.809 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003061/0.1396, allocations: 203.4 kB / 0.5593 GB, free: 2.609 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001191/0.1397, allocations: 25.67 kB / 0.5593 GB, free: 2.586 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001428/0.1398, allocations: 79.64 kB / 0.5594 GB, free: 2.508 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001302/0.1399, allocations: 83.59 kB / 0.5595 GB, free: 2.426 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.577e-05/0.14, allocations: 12 kB / 0.5595 GB, free: 2.414 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001177/0.1401, allocations: 51.98 kB / 0.5595 GB, free: 2.363 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.875e-05/0.1402, allocations: 47.77 kB / 0.5596 GB, free: 2.316 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.191e-05/0.1403, allocations: 71.55 kB / 0.5597 GB, free: 2.246 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003367/0.1406, allocations: 199.1 kB / 0.5599 GB, free: 2.051 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.1406, allocations: 0 / 0.5599 GB, free: 2.051 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1406, allocations: 0 / 0.5599 GB, free: 2.051 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.989e-06/0.1406, allocations: 0 / 0.5599 GB, free: 2.051 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001068/0.1417, allocations: 0.5757 MB / 0.5604 GB, free: 1.414 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.1417, allocations: 12.03 kB / 0.5604 GB, free: 1.402 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.614e-05/0.1418, allocations: 38.75 kB / 0.5605 GB, free: 1.355 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.327e-05/0.1418, allocations: 20.83 kB / 0.5605 GB, free: 1.336 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003735/0.1422, allocations: 249 kB / 0.5607 GB, free: 1.055 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.866e-05/0.1422, allocations: 8.359 kB / 0.5607 GB, free: 1.047 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.793e-05/0.1423, allocations: 12.38 kB / 0.5607 GB, free: 1.035 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000426/0.1427, allocations: 158.4 kB / 0.5609 GB, free: 0.8672 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.1427, allocations: 0 / 0.5609 GB, free: 0.8672 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.645e-05/0.1427, allocations: 4 kB / 0.5609 GB, free: 0.8633 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.917e-06/0.1427, allocations: 0 / 0.5609 GB, free: 0.8633 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004683/0.1432, allocations: 111.8 kB / 0.561 GB, free: 0.7539 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007056/0.1439, allocations: 0.5516 MB / 0.5615 GB, free: 148 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006586/0.1445, allocations: 162.5 kB / 0.5617 GB, free: 15.98 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002435/0.1448, allocations: 72.73 kB / 0.5618 GB, free: 15.9 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.487e-05/0.1448, allocations: 0 / 0.5618 GB, free: 15.9 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005259/0.1453, allocations: 143.2 kB / 0.5619 GB, free: 15.75 MB / 430.1 MB Notification: Performance of pre-optimization done (n=12): time 1.783e-06/0.1453, allocations: 0 / 0.5619 GB, free: 15.75 MB / 430.1 MB Notification: Performance of matching and sorting (n=12): time 0.0009081/0.1463, allocations: 253.3 kB / 0.5621 GB, free: 15.5 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.486e-05/0.1463, allocations: 59.34 kB / 0.5622 GB, free: 15.43 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000258/0.1466, allocations: 240.8 kB / 0.5624 GB, free: 15.18 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.578e-05/0.1466, allocations: 33.7 kB / 0.5625 GB, free: 15.14 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001018/0.1467, allocations: 120.4 kB / 0.5626 GB, free: 15.02 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.907e-05/0.1467, allocations: 39.83 kB / 0.5626 GB, free: 14.98 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.171e-05/0.1468, allocations: 33.7 kB / 0.5626 GB, free: 14.94 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001702/0.147, allocations: 334.8 kB / 0.563 GB, free: 14.6 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002551/0.1472, allocations: 71.94 kB / 0.563 GB, free: 14.53 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002786/0.1475, allocations: 104.2 kB / 0.5631 GB, free: 14.41 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005026/0.148, allocations: 195.1 kB / 0.5633 GB, free: 14.2 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.148, allocations: 0 / 0.5633 GB, free: 14.2 MB / 430.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.00065/0.1487, allocations: 259.1 kB / 0.5636 GB, free: 13.94 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.116e-05/0.1487, allocations: 33.7 kB / 0.5636 GB, free: 13.9 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.1487, allocations: 0 / 0.5636 GB, free: 13.9 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.002e-05/0.1487, allocations: 4 kB / 0.5636 GB, free: 13.89 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000182/0.1489, allocations: 35.91 kB / 0.5636 GB, free: 13.86 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.208e-05/0.1489, allocations: 8.062 kB / 0.5636 GB, free: 13.85 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001871/0.1491, allocations: 39.86 kB / 0.5637 GB, free: 13.81 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.589e-05/0.1491, allocations: 4 kB / 0.5637 GB, free: 13.81 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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.0001564/0.1493, allocations: 133.8 kB / 0.5638 GB, free: 13.67 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.255e-05/0.1493, allocations: 15.91 kB / 0.5638 GB, free: 13.65 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.827e-05/0.1494, allocations: 29.39 kB / 0.5639 GB, free: 13.62 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.1494, allocations: 0 / 0.5639 GB, free: 13.62 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.1494, allocations: 3.938 kB / 0.5639 GB, free: 13.61 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.1494, allocations: 4 kB / 0.5639 GB, free: 13.61 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002496/0.1496, allocations: 241.4 kB / 0.5641 GB, free: 13.32 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.1496, allocations: 0 / 0.5641 GB, free: 13.32 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001591/0.1498, allocations: 23.97 kB / 0.5641 GB, free: 13.3 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.019e-06/0.1498, allocations: 4 kB / 0.5641 GB, free: 13.3 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.54e-05/0.1498, allocations: 4 kB / 0.5641 GB, free: 13.29 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.1498, allocations: 0 / 0.5641 GB, free: 13.29 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.756e-06/0.1498, allocations: 7.875 kB / 0.5641 GB, free: 13.29 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008836/0.1507, allocations: 300.8 kB / 0.5644 GB, free: 12.97 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.877e-05/0.1508, allocations: 97 kB / 0.5645 GB, free: 12.86 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.706e-05/0.1508, allocations: 7.984 kB / 0.5645 GB, free: 12.85 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001682/0.151, allocations: 24.03 kB / 0.5645 GB, free: 12.83 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.082e-05/0.1511, allocations: 19.92 kB / 0.5646 GB, free: 12.81 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.939e-05/0.1511, allocations: 4 kB / 0.5646 GB, free: 12.8 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.00017/0.1513, allocations: 169.6 kB / 0.5647 GB, free: 12.64 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1513, allocations: 0 / 0.5647 GB, free: 12.64 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002663/0.1515, allocations: 47.92 kB / 0.5648 GB, free: 12.59 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 3 (trapezoid1.count,t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.002627/0.1542, allocations: 1.147 MB / 0.5659 GB, free: 11.57 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0006999/0.1549, allocations: 207.2 kB / 0.5661 GB, free: 11.36 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.1549, allocations: 4 kB / 0.5661 GB, free: 11.36 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002727/0.1551, allocations: 79.8 kB / 0.5662 GB, free: 11.28 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000389/0.1555, allocations: 48.81 kB / 0.5662 GB, free: 11.23 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004175/0.1597, allocations: 2.182 MB / 0.5683 GB, free: 8.934 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005198/0.1602, allocations: 0.728 MB / 0.5691 GB, free: 8.18 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001192/0.1603, allocations: 17.55 kB / 0.5691 GB, free: 8.164 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000143/0.1605, allocations: 59.41 kB / 0.5691 GB, free: 8.105 MB / 430.1 MB Notification: Performance of SimCode: time 1.283e-06/0.1605, allocations: 0 / 0.5691 GB, free: 8.105 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03108/0.1916, allocations: 5.037 MB / 0.574 GB, free: 3.125 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.25/8.442, allocations: 16.8 kB / 0.5741 GB, free: 3.117 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test14_fmu --startTime=0 --stopTime=2 --stepSize=0.00039968 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test14.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.399913222063333] Failed to read output from testmodel.py, exit status != 0: ['time', 'err1.y', 'trapezoid1.T_start', 'trapezoid1.count'] 8.563715572934598 8.577257357 8.433894937 Calling exit ...