Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.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.001859/0.001859, allocations: 116.9 kB / 18.49 MB, free: 4.535 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.001689/0.001689, allocations: 220.7 kB / 21.46 MB, free: 1.582 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.44/1.44, allocations: 230.5 MB / 254.7 MB, free: 15.18 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.2282/0.2282, allocations: 46.93 MB / 357.7 MB, free: 10.2 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.Test9,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test9",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test9,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test9",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002316/0.002316, allocations: 83.88 kB / 0.4917 GB, free: 7.617 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1401/0.1424, allocations: 66.04 MB / 0.5562 GB, free: 5.445 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.003403/0.1458, allocations: 1.735 MB / 0.5579 GB, free: 3.691 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001823/0.1476, allocations: 1.034 MB / 0.5589 GB, free: 2.652 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.164e-05/0.1477, allocations: 3.938 kB / 0.5589 GB, free: 2.648 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003354/0.1481, allocations: 83.7 kB / 0.559 GB, free: 2.566 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003776/0.1484, allocations: 119.6 kB / 0.5591 GB, free: 2.449 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002281/0.1487, allocations: 79.66 kB / 0.5592 GB, free: 2.371 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002212/0.1489, allocations: 115.6 kB / 0.5593 GB, free: 2.258 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001075/0.149, allocations: 15.98 kB / 0.5593 GB, free: 2.242 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001213/0.1491, allocations: 51.78 kB / 0.5594 GB, free: 2.191 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001189/0.1492, allocations: 59.8 kB / 0.5594 GB, free: 2.133 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.758e-05/0.1492, allocations: 4 kB / 0.5594 GB, free: 2.129 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001189/0.1494, allocations: 43.98 kB / 0.5595 GB, free: 2.086 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.383e-05/0.1494, allocations: 31.84 kB / 0.5595 GB, free: 2.055 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.76e-05/0.1495, allocations: 39.69 kB / 0.5596 GB, free: 2.016 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000246/0.1497, allocations: 131.4 kB / 0.5597 GB, free: 1.887 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.1497, allocations: 0 / 0.5597 GB, free: 1.887 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.113e-06/0.1497, allocations: 0 / 0.5597 GB, free: 1.887 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.893e-06/0.1497, allocations: 0 / 0.5597 GB, free: 1.887 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000653/0.1504, allocations: 430.6 kB / 0.5601 GB, free: 1.418 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.1504, allocations: 12.03 kB / 0.5601 GB, free: 1.406 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.582e-05/0.1505, allocations: 192 / 0.5601 GB, free: 1.406 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.392e-05/0.1505, allocations: 30.75 kB / 0.5601 GB, free: 1.367 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.327e-05/0.1505, allocations: 12.84 kB / 0.5601 GB, free: 1.355 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003201/0.1508, allocations: 232 kB / 0.5604 GB, free: 1.09 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/0.1509, allocations: 384 / 0.5604 GB, free: 1.09 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.883e-05/0.1509, allocations: 4.375 kB / 0.5604 GB, free: 1.086 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001539/0.151, allocations: 61.61 kB / 0.5604 GB, free: 1.02 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.151, allocations: 0 / 0.5604 GB, free: 1.02 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.1511, allocations: 0 / 0.5604 GB, free: 1.02 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.1511, allocations: 0 / 0.5604 GB, free: 1.02 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.48e-05/0.1512, allocations: 19.98 kB / 0.5605 GB, free: 1 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004338/0.1516, allocations: 300.8 kB / 0.5607 GB, free: 0.6562 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001865/0.1518, allocations: 54.56 kB / 0.5608 GB, free: 0.5938 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.731e-05/0.1518, allocations: 20.84 kB / 0.5608 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.562e-05/0.1519, allocations: 0 / 0.5608 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001854/0.152, allocations: 71.39 kB / 0.5609 GB, free: 500 kB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.332e-06/0.152, allocations: 0 / 0.5609 GB, free: 500 kB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005699/0.1526, allocations: 185.3 kB / 0.5611 GB, free: 308 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.748e-05/0.1527, allocations: 55.41 kB / 0.5611 GB, free: 240 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002456/0.1529, allocations: 224 kB / 0.5613 GB, free: 0 / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.398e-05/0.153, allocations: 25.7 kB / 0.5613 GB, free: 15.97 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.803e-05/0.153, allocations: 108.1 kB / 0.5614 GB, free: 15.86 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.275e-05/0.1531, allocations: 23.8 kB / 0.5615 GB, free: 15.84 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.249e-05/0.1531, allocations: 29.64 kB / 0.5615 GB, free: 15.8 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001636/0.1533, allocations: 330.8 kB / 0.5618 GB, free: 15.47 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.46e-05/0.1534, allocations: 23.98 kB / 0.5618 GB, free: 15.45 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.254e-05/0.1534, allocations: 37.7 kB / 0.5619 GB, free: 15.4 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001171/0.1535, allocations: 49.72 kB / 0.5619 GB, free: 15.35 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.1535, allocations: 0 / 0.5619 GB, free: 15.35 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002137/0.1538, allocations: 113.5 kB / 0.562 GB, free: 15.23 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.1538, allocations: 5.875 kB / 0.562 GB, free: 15.23 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.1538, allocations: 0 / 0.562 GB, free: 15.23 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.1538, allocations: 0 / 0.562 GB, free: 15.23 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.76e-05/0.1539, allocations: 16 kB / 0.5621 GB, free: 15.21 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.1539, allocations: 4.125 kB / 0.5621 GB, free: 15.21 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.003e-05/0.1539, allocations: 7.984 kB / 0.5621 GB, free: 15.2 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.756e-06/0.1539, allocations: 7.875 kB / 0.5621 GB, free: 15.19 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001216/0.1541, allocations: 138.8 kB / 0.5622 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.853e-05/0.1541, allocations: 15.91 kB / 0.5622 GB, free: 15.03 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.517e-05/0.1541, allocations: 13.41 kB / 0.5622 GB, free: 15.01 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.1541, allocations: 0 / 0.5622 GB, free: 15.01 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.1541, allocations: 4.375 kB / 0.5622 GB, free: 15.01 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.287e-06/0.1542, allocations: 0 / 0.5622 GB, free: 15.01 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004948/0.1546, allocations: 403.2 kB / 0.5626 GB, free: 14.55 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.1547, allocations: 4 kB / 0.5626 GB, free: 14.55 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.364e-05/0.1547, allocations: 12.03 kB / 0.5626 GB, free: 14.54 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.1547, allocations: 0 / 0.5626 GB, free: 14.54 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.403e-05/0.1547, allocations: 15.86 kB / 0.5626 GB, free: 14.52 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.562e-06/0.1547, allocations: 0 / 0.5626 GB, free: 14.52 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1547, allocations: 0 / 0.5626 GB, free: 14.52 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002632/0.155, allocations: 208.2 kB / 0.5628 GB, free: 14.3 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.567e-05/0.155, allocations: 85.06 kB / 0.5629 GB, free: 14.2 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.667e-05/0.155, allocations: 11.94 kB / 0.5629 GB, free: 14.19 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.243e-05/0.1551, allocations: 3.984 kB / 0.5629 GB, free: 14.18 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.538e-05/0.1552, allocations: 8 kB / 0.563 GB, free: 14.18 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.64e-05/0.1552, allocations: 4 kB / 0.563 GB, free: 14.17 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001656/0.1553, allocations: 169.2 kB / 0.5631 GB, free: 14.01 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1553, allocations: 0 / 0.5631 GB, free: 14.01 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002639/0.1556, allocations: 19.94 kB / 0.5631 GB, free: 13.99 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002183/0.1578, allocations: 1.099 MB / 0.5642 GB, free: 13.03 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001893/0.158, allocations: 55.86 kB / 0.5643 GB, free: 12.97 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.158, allocations: 0 / 0.5643 GB, free: 12.97 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.979e-05/0.1581, allocations: 23.98 kB / 0.5643 GB, free: 12.95 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000356/0.1584, allocations: 31.73 kB / 0.5643 GB, free: 12.92 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002033/0.1604, allocations: 1.724 MB / 0.566 GB, free: 11.11 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003468/0.1608, allocations: 0.7119 MB / 0.5667 GB, free: 10.37 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.305e-05/0.1608, allocations: 17.17 kB / 0.5667 GB, free: 10.35 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.668e-05/0.1609, allocations: 43.36 kB / 0.5668 GB, free: 10.31 MB / 430.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1609, allocations: 0 / 0.5668 GB, free: 10.31 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01848/0.1794, allocations: 3.616 MB / 0.5703 GB, free: 6.754 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.001/8.18, allocations: 7.406 kB / 0.5703 GB, free: 6.75 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test9_fmu --startTime=0 --stopTime=3.5 --stepSize=0.000699161 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test9.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.257834191026632] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.359942139999475 8.388227038 8.233367069 Calling exit ...