Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test88.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.001602/0.001602, allocations: 117.3 kB / 18.5 MB, free: 4.434 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.002047/0.002047, allocations: 218.6 kB / 21.47 MB, free: 1.473 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.542/1.542, allocations: 230.2 MB / 254.5 MB, free: 15.24 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2437/0.2437, allocations: 46.88 MB / 357.4 MB, free: 10.51 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-beta.om/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.Test88,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test88",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test88,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test88",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.003036/0.003036, allocations: 79.8 kB / 0.4913 GB, free: 8.434 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1291/0.1321, allocations: 65.98 MB / 0.5558 GB, free: 6.32 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test88): time 0.00367/0.1358, allocations: 2.295 MB / 0.558 GB, free: 4.008 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002275/0.1381, allocations: 1.33 MB / 0.5593 GB, free: 2.672 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001301/0.1382, allocations: 4 kB / 0.5593 GB, free: 2.668 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004041/0.1386, allocations: 123.3 kB / 0.5594 GB, free: 2.547 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005107/0.1391, allocations: 246.9 kB / 0.5597 GB, free: 2.305 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003981/0.1395, allocations: 191.5 kB / 0.5598 GB, free: 2.117 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005105/0.14, allocations: 454.6 kB / 0.5603 GB, free: 1.672 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001422/0.1402, allocations: 49.06 kB / 0.5603 GB, free: 1.621 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003727/0.1406, allocations: 307 kB / 0.5606 GB, free: 1.32 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001947/0.1408, allocations: 163.2 kB / 0.5608 GB, free: 1.16 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.156e-05/0.1408, allocations: 16 kB / 0.5608 GB, free: 1.145 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001461/0.1409, allocations: 71.98 kB / 0.5608 GB, free: 1.074 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001495/0.1411, allocations: 139.4 kB / 0.561 GB, free: 0.9375 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001731/0.1413, allocations: 182.5 kB / 0.5612 GB, free: 0.7578 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005175/0.1418, allocations: 445.7 kB / 0.5616 GB, free: 328 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.1418, allocations: 3.938 kB / 0.5616 GB, free: 324 kB / 414.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1418, allocations: 0 / 0.5616 GB, free: 324 kB / 414.1 MB Notification: Performance of Transformations before backend: time 7.534e-06/0.1418, allocations: 0 / 0.5616 GB, free: 324 kB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001205/0.143, allocations: 0.8399 MB / 0.5624 GB, free: 15.42 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.143, allocations: 15.97 kB / 0.5624 GB, free: 15.4 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.779e-05/0.1431, allocations: 46.73 kB / 0.5625 GB, free: 15.35 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.467e-05/0.1432, allocations: 64.52 kB / 0.5625 GB, free: 15.29 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006373/0.1438, allocations: 425 kB / 0.5629 GB, free: 14.83 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.259e-05/0.1438, allocations: 12.38 kB / 0.5629 GB, free: 14.82 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.743e-05/0.1439, allocations: 20.31 kB / 0.563 GB, free: 14.8 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003596/0.1442, allocations: 197.1 kB / 0.5631 GB, free: 14.59 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.745e-05/0.1443, allocations: 4 kB / 0.5632 GB, free: 14.58 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.05e-05/0.1443, allocations: 11.98 kB / 0.5632 GB, free: 14.57 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.186e-06/0.1443, allocations: 4 kB / 0.5632 GB, free: 14.57 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002282/0.1445, allocations: 87.88 kB / 0.5633 GB, free: 14.48 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009097/0.1454, allocations: 0.8017 MB / 0.564 GB, free: 13.62 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006246/0.1461, allocations: 238.4 kB / 0.5643 GB, free: 13.35 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001859/0.1462, allocations: 83.52 kB / 0.5643 GB, free: 13.25 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.716e-05/0.1463, allocations: 4 kB / 0.5643 GB, free: 13.25 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003669/0.1466, allocations: 208.2 kB / 0.5645 GB, free: 13.02 MB / 430.1 MB Notification: Performance of pre-optimization done (n=28): time 1.413e-06/0.1466, allocations: 0 / 0.5645 GB, free: 13.02 MB / 430.1 MB Notification: Performance of matching and sorting (n=44): time 0.002442/0.1491, allocations: 1.144 MB / 0.5657 GB, free: 11.87 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.461e-05/0.1492, allocations: 136.5 kB / 0.5658 GB, free: 11.71 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008914/0.1501, allocations: 0.7931 MB / 0.5666 GB, free: 10.9 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.169e-05/0.1501, allocations: 37.7 kB / 0.5666 GB, free: 10.86 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002093/0.1503, allocations: 241 kB / 0.5668 GB, free: 10.62 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001281/0.1505, allocations: 142.8 kB / 0.567 GB, free: 10.48 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001202/0.1506, allocations: 82.08 kB / 0.567 GB, free: 10.39 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002042/0.1508, allocations: 382.7 kB / 0.5674 GB, free: 10.01 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002334/0.151, allocations: 116.8 kB / 0.5675 GB, free: 9.895 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002786/0.1513, allocations: 179.2 kB / 0.5677 GB, free: 9.695 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005328/0.1518, allocations: 323 kB / 0.568 GB, free: 9.355 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.1518, allocations: 0 / 0.568 GB, free: 9.355 MB / 430.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007477/0.1526, allocations: 445 kB / 0.5684 GB, free: 8.914 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/0.1526, allocations: 5.719 kB / 0.5684 GB, free: 8.91 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.1526, allocations: 3.938 kB / 0.5684 GB, free: 8.906 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/0.1526, allocations: 4 kB / 0.5684 GB, free: 8.902 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002766/0.1529, allocations: 95.83 kB / 0.5685 GB, free: 8.809 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.793e-05/0.1529, allocations: 4 kB / 0.5685 GB, free: 8.805 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002023/0.1531, allocations: 15.98 kB / 0.5685 GB, free: 8.789 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.178e-05/0.1531, allocations: 20.06 kB / 0.5686 GB, free: 8.77 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.t_new.nextTimeEvent,$whenCondition4,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition3,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new_3.nextTimeEvent,$whenCondition2,t_new_3.nextTimeEventScaled,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEvent,$PRE.t_new_4.nextTimeEvent,$whenCondition1,t_new_4.nextTimeEventScaled,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.000267/0.1534, allocations: 228 kB / 0.5688 GB, free: 8.539 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.458e-05/0.1535, allocations: 71.53 kB / 0.5689 GB, free: 8.469 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001426/0.1536, allocations: 88.84 kB / 0.5689 GB, free: 8.375 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.1537, allocations: 4 kB / 0.5689 GB, free: 8.371 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.053e-05/0.1537, allocations: 4 kB / 0.5689 GB, free: 8.367 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.1537, allocations: 0 / 0.5689 GB, free: 8.367 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001814/0.1555, allocations: 1.314 MB / 0.5702 GB, free: 6.969 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-06/0.1555, allocations: 4.25 kB / 0.5702 GB, free: 6.965 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001593/0.1557, allocations: 59.91 kB / 0.5703 GB, free: 6.906 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.796e-06/0.1557, allocations: 8 kB / 0.5703 GB, free: 6.898 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.602e-05/0.1557, allocations: 16 kB / 0.5703 GB, free: 6.883 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.175e-06/0.1557, allocations: 7.984 kB / 0.5703 GB, free: 6.875 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.043e-06/0.1557, allocations: 8.312 kB / 0.5703 GB, free: 6.867 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001066/0.1568, allocations: 0.8016 MB / 0.5711 GB, free: 6.02 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002291/0.157, allocations: 172.6 kB / 0.5713 GB, free: 5.832 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.186e-05/0.1571, allocations: 16 kB / 0.5713 GB, free: 5.816 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002629/0.1573, allocations: 15.98 kB / 0.5713 GB, free: 5.801 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001412/0.1575, allocations: 43.89 kB / 0.5713 GB, free: 5.758 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.104e-05/0.1575, allocations: 23.98 kB / 0.5714 GB, free: 5.734 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0007635/0.1583, allocations: 0.5888 MB / 0.5719 GB, free: 5.152 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1583, allocations: 0 / 0.5719 GB, free: 5.152 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005588/0.1588, allocations: 87.92 kB / 0.572 GB, free: 5.066 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.003614/0.1625, allocations: 1.741 MB / 0.5737 GB, free: 3.477 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0008504/0.1633, allocations: 299.5 kB / 0.574 GB, free: 3.184 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.1633, allocations: 0 / 0.574 GB, free: 3.184 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002898/0.1636, allocations: 148.4 kB / 0.5742 GB, free: 3.039 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001085/0.1647, allocations: 129.3 kB / 0.5743 GB, free: 2.918 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006941/0.1716, allocations: 4.764 MB / 0.5789 GB, free: 13.97 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006148/0.1722, allocations: 0.8821 MB / 0.5798 GB, free: 13.06 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002439/0.1725, allocations: 83.28 kB / 0.5799 GB, free: 12.98 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002723/0.1728, allocations: 191.4 kB / 0.5801 GB, free: 12.79 MB / 446.1 MB Notification: Performance of SimCode: time 1.302e-06/0.1728, allocations: 0 / 0.5801 GB, free: 12.79 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03726/0.21, allocations: 10.91 MB / 0.5907 GB, free: 1.961 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.708/8.918, allocations: 7.234 kB / 0.5907 GB, free: 1.957 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test88.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test88.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test88_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test88_fmu --startTime=0 --stopTime=9 --stepSize=0.00179784 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test88.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test88.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.41628076415509] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'd2_t_new.y', 't_new_2.y[1]', 'd_t_new_2.y', 'd2_t_new_2.y', 't_new_3.y[1]', 'd_t_new_3.y', 'd2_t_new_3.y', 't_new_4.y[1]', 'd_t_new_4.y', 'd2_t_new_4.y'] 9.048357004765421 9.368090068 9.223317173 Calling exit ...