Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.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.001429/0.001429, 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.001718/0.001718, 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.504/1.504, 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.2305/0.2305, allocations: 46.92 MB / 357.8 MB, free: 10.28 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.Test5,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test5",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test5,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test5",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002076/0.002076, allocations: 79.88 kB / 0.4917 GB, free: 7.805 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.14/0.1421, allocations: 65.98 MB / 0.5562 GB, free: 5.695 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.003575/0.1456, allocations: 1.774 MB / 0.5579 GB, free: 3.91 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001855/0.1475, allocations: 1.044 MB / 0.5589 GB, free: 2.859 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.719e-05/0.1476, allocations: 0 / 0.5589 GB, free: 2.859 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003983/0.148, allocations: 111.6 kB / 0.559 GB, free: 2.75 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003701/0.1483, allocations: 127.5 kB / 0.5591 GB, free: 2.625 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000249/0.1486, allocations: 79.67 kB / 0.5592 GB, free: 2.547 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00023/0.1488, allocations: 143.6 kB / 0.5593 GB, free: 2.406 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001327/0.149, allocations: 13.39 kB / 0.5594 GB, free: 2.391 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001326/0.1491, allocations: 63.77 kB / 0.5594 GB, free: 2.328 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001351/0.1492, allocations: 79.72 kB / 0.5595 GB, free: 2.25 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.115e-05/0.1492, allocations: 8 kB / 0.5595 GB, free: 2.242 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000134/0.1494, allocations: 55.98 kB / 0.5596 GB, free: 2.188 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.095e-05/0.1495, allocations: 43.77 kB / 0.5596 GB, free: 2.145 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.653e-05/0.1495, allocations: 47.56 kB / 0.5596 GB, free: 2.098 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003126/0.1498, allocations: 171.3 kB / 0.5598 GB, free: 1.93 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/0.1499, allocations: 0 / 0.5598 GB, free: 1.93 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1499, allocations: 0 / 0.5598 GB, free: 1.93 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.792e-06/0.1499, allocations: 0 / 0.5598 GB, free: 1.93 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.000779/0.1506, allocations: 470.3 kB / 0.5603 GB, free: 1.422 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.667e-05/0.1507, allocations: 12.03 kB / 0.5603 GB, free: 1.41 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.172e-05/0.1507, allocations: 192 / 0.5603 GB, free: 1.41 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.792e-05/0.1508, allocations: 30.75 kB / 0.5603 GB, free: 1.371 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.125e-05/0.1508, allocations: 20.84 kB / 0.5603 GB, free: 1.352 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004791/0.1513, allocations: 237 kB / 0.5605 GB, free: 1.078 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.732e-05/0.1513, allocations: 8.125 kB / 0.5606 GB, free: 1.07 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.778e-05/0.1513, allocations: 4 kB / 0.5606 GB, free: 1.066 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001961/0.1515, allocations: 73.59 kB / 0.5606 GB, free: 0.9883 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.399e-05/0.1516, allocations: 3.953 kB / 0.5606 GB, free: 0.9844 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.512e-05/0.1516, allocations: 4 kB / 0.5606 GB, free: 0.9805 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.1516, allocations: 0 / 0.5606 GB, free: 0.9805 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001085/0.1517, allocations: 35.97 kB / 0.5607 GB, free: 0.9453 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005077/0.1522, allocations: 336.7 kB / 0.561 GB, free: 0.5664 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002882/0.1525, allocations: 70.55 kB / 0.5611 GB, free: 500 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.423e-05/0.1525, allocations: 20.84 kB / 0.5611 GB, free: 476 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/0.1526, allocations: 4 kB / 0.5611 GB, free: 472 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001809/0.1527, allocations: 83.31 kB / 0.5612 GB, free: 376 kB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.472e-06/0.1527, allocations: 0 / 0.5612 GB, free: 376 kB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.0008961/0.1536, allocations: 305.9 kB / 0.5615 GB, free: 64 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.637e-05/0.1537, allocations: 51.5 kB / 0.5615 GB, free: 0 / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002739/0.154, allocations: 259.8 kB / 0.5617 GB, free: 15.73 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.742e-05/0.154, allocations: 37.64 kB / 0.5618 GB, free: 15.69 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.927e-05/0.1541, allocations: 116.1 kB / 0.5619 GB, free: 15.57 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.951e-05/0.1541, allocations: 51.64 kB / 0.5619 GB, free: 15.52 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.301e-05/0.1542, allocations: 29.72 kB / 0.562 GB, free: 15.48 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001554/0.1543, allocations: 330.8 kB / 0.5623 GB, free: 15.15 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.542e-05/0.1544, allocations: 35.98 kB / 0.5623 GB, free: 15.12 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001074/0.1545, allocations: 57.64 kB / 0.5624 GB, free: 15.05 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001838/0.1547, allocations: 113.6 kB / 0.5625 GB, free: 14.94 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.1547, allocations: 0 / 0.5625 GB, free: 14.94 MB / 430.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002863/0.155, allocations: 156.7 kB / 0.5626 GB, free: 14.78 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.155, allocations: 5.875 kB / 0.5626 GB, free: 14.78 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.155, allocations: 8.031 kB / 0.5626 GB, free: 14.77 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.1551, allocations: 7.938 kB / 0.5627 GB, free: 14.76 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.901e-05/0.1552, allocations: 23.94 kB / 0.5627 GB, free: 14.74 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.207e-06/0.1552, allocations: 3.984 kB / 0.5627 GB, free: 14.73 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.225e-05/0.1552, allocations: 12 kB / 0.5627 GB, free: 14.72 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.228e-05/0.1552, allocations: 4 kB / 0.5627 GB, free: 14.72 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 (16): * Single equations (assignments): 16 * 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.0001436/0.1554, allocations: 141.9 kB / 0.5628 GB, free: 14.57 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.411e-05/0.1554, allocations: 19.86 kB / 0.5629 GB, free: 14.55 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.917e-05/0.1555, allocations: 29.45 kB / 0.5629 GB, free: 14.52 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.1555, allocations: 4 kB / 0.5629 GB, free: 14.52 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.1555, allocations: 0 / 0.5629 GB, free: 14.52 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.1555, allocations: 3.938 kB / 0.5629 GB, free: 14.51 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006981/0.1562, allocations: 0.4961 MB / 0.5634 GB, free: 13.95 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.1562, allocations: 3.984 kB / 0.5634 GB, free: 13.95 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.932e-05/0.1563, allocations: 16 kB / 0.5634 GB, free: 13.93 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.409e-06/0.1563, allocations: 4 kB / 0.5634 GB, free: 13.93 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.232e-05/0.1563, allocations: 3.938 kB / 0.5634 GB, free: 13.93 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.428e-06/0.1563, allocations: 7.984 kB / 0.5634 GB, free: 13.92 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.1563, allocations: 0 / 0.5634 GB, free: 13.92 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003447/0.1566, allocations: 269.1 kB / 0.5637 GB, free: 13.63 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.356e-05/0.1567, allocations: 93.02 kB / 0.5638 GB, free: 13.52 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.589e-05/0.1567, allocations: 0 / 0.5638 GB, free: 13.52 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.6e-05/0.1568, allocations: 8 kB / 0.5638 GB, free: 13.52 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.503e-05/0.1568, allocations: 11.98 kB / 0.5638 GB, free: 13.5 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.92e-05/0.1569, allocations: 4 kB / 0.5638 GB, free: 13.5 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001957/0.157, allocations: 205.4 kB / 0.564 GB, free: 13.3 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.157, allocations: 4 kB / 0.564 GB, free: 13.3 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002969/0.1573, allocations: 35.88 kB / 0.564 GB, free: 13.26 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (14): * Single equations (assignments): 12 * 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.002503/0.1598, allocations: 1.213 MB / 0.5652 GB, free: 12.23 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002578/0.1601, allocations: 95.84 kB / 0.5653 GB, free: 12.14 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1601, allocations: 0 / 0.5653 GB, free: 12.14 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001083/0.1602, allocations: 47.92 kB / 0.5653 GB, free: 12.09 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000356/0.1606, allocations: 41.94 kB / 0.5654 GB, free: 12.05 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002481/0.1631, allocations: 2.011 MB / 0.5673 GB, free: 9.949 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000472/0.1635, allocations: 0.72 MB / 0.568 GB, free: 9.203 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.123e-05/0.1636, allocations: 41.31 kB / 0.5681 GB, free: 9.16 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001023/0.1637, allocations: 51.42 kB / 0.5681 GB, free: 9.109 MB / 430.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1637, allocations: 0 / 0.5681 GB, free: 9.109 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02096/0.1847, allocations: 4.409 MB / 0.5724 GB, free: 4.773 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.562/8.747, allocations: 16.8 kB / 0.5724 GB, free: 4.758 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test5_fmu --startTime=0 --stopTime=1 --stepSize=0.00019984 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test5.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.894126736966427] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 't_new.y[2]', 'd_t_new.y', 'd_t_new2.y', 'd2_t_new.y'] 8.931263670965564 8.9529423 8.798860772 Calling exit ...