Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test80.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.001777/0.001777, allocations: 118.6 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.002212/0.002212, 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.566/1.566, 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 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.2513/0.2513, 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.Test80,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test80",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test80,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test80",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.002324/0.002324, allocations: 79.88 kB / 0.4913 GB, free: 8.473 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1454/0.1478, allocations: 65.99 MB / 0.5557 GB, free: 6.355 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.003334/0.1511, allocations: 1.826 MB / 0.5575 GB, free: 4.512 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002784/0.1539, allocations: 1.718 MB / 0.5592 GB, free: 2.785 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.232e-05/0.154, allocations: 0 / 0.5592 GB, free: 2.785 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003247/0.1543, allocations: 51.69 kB / 0.5592 GB, free: 2.734 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004137/0.1547, allocations: 135.3 kB / 0.5594 GB, free: 2.602 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002858/0.155, allocations: 115.6 kB / 0.5595 GB, free: 2.488 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003601/0.1554, allocations: 203.4 kB / 0.5597 GB, free: 2.289 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.897e-05/0.1554, allocations: 9.688 kB / 0.5597 GB, free: 2.277 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001908/0.1556, allocations: 91.56 kB / 0.5598 GB, free: 2.188 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003112/0.1559, allocations: 79.67 kB / 0.5598 GB, free: 2.109 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.582e-05/0.156, allocations: 8 kB / 0.5599 GB, free: 2.102 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003168/0.1563, allocations: 115.9 kB / 0.56 GB, free: 1.988 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001097/0.1564, allocations: 39.83 kB / 0.56 GB, free: 1.949 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001087/0.1565, allocations: 59.61 kB / 0.5601 GB, free: 1.891 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004667/0.157, allocations: 227 kB / 0.5603 GB, free: 1.668 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.157, allocations: 4 kB / 0.5603 GB, free: 1.664 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.157, allocations: 4 kB / 0.5603 GB, free: 1.66 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.143e-05/0.157, allocations: 0 / 0.5603 GB, free: 1.66 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.001013/0.158, allocations: 0.4941 MB / 0.5608 GB, free: 1.117 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.879e-05/0.1581, allocations: 8.031 kB / 0.5608 GB, free: 1.109 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.859e-05/0.1581, allocations: 38.75 kB / 0.5608 GB, free: 1.062 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.897e-05/0.1582, allocations: 16.84 kB / 0.5608 GB, free: 1.047 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005594/0.1588, allocations: 257 kB / 0.5611 GB, free: 0.7578 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.185e-05/0.1588, allocations: 24.25 kB / 0.5611 GB, free: 0.7344 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.397e-05/0.1588, allocations: 4.359 kB / 0.5611 GB, free: 0.7305 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003132/0.1591, allocations: 101.2 kB / 0.5612 GB, free: 0.6133 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.1591, allocations: 0 / 0.5612 GB, free: 0.6133 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.728e-05/0.1592, allocations: 3.938 kB / 0.5612 GB, free: 0.6094 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.181e-05/0.1592, allocations: 7.984 kB / 0.5612 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001671/0.1593, allocations: 27.98 kB / 0.5612 GB, free: 0.5742 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000358/0.1597, allocations: 214.5 kB / 0.5614 GB, free: 320 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004185/0.1601, allocations: 105.2 kB / 0.5615 GB, free: 196 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001512/0.1603, allocations: 37.7 kB / 0.5616 GB, free: 152 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.561e-05/0.1603, allocations: 4 kB / 0.5616 GB, free: 148 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000345/0.1606, allocations: 116.9 kB / 0.5617 GB, free: 12 kB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.663e-06/0.1606, allocations: 0 / 0.5617 GB, free: 12 kB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0007099/0.1614, allocations: 165.4 kB / 0.5618 GB, free: 15.84 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001229/0.1615, allocations: 136.5 kB / 0.562 GB, free: 15.68 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004263/0.1619, allocations: 237 kB / 0.5622 GB, free: 15.44 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.583e-05/0.1619, allocations: 33.7 kB / 0.5622 GB, free: 15.4 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001098/0.162, allocations: 112.1 kB / 0.5623 GB, free: 15.29 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.114e-05/0.1621, allocations: 35.73 kB / 0.5624 GB, free: 15.25 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.582e-05/0.1622, allocations: 25.72 kB / 0.5624 GB, free: 15.22 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002066/0.1624, allocations: 330.8 kB / 0.5627 GB, free: 14.89 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001328/0.1625, allocations: 31.98 kB / 0.5627 GB, free: 14.86 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001882/0.1627, allocations: 72.75 kB / 0.5628 GB, free: 14.77 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002904/0.163, allocations: 87.36 kB / 0.5629 GB, free: 14.67 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.163, allocations: 4.031 kB / 0.5629 GB, free: 14.67 MB / 430.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004658/0.1635, allocations: 142 kB / 0.563 GB, free: 14.52 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.385e-05/0.1635, allocations: 11.98 kB / 0.563 GB, free: 14.51 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.1635, allocations: 0 / 0.563 GB, free: 14.51 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/0.1635, allocations: 0 / 0.563 GB, free: 14.51 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001653/0.1637, allocations: 20 kB / 0.5631 GB, free: 14.49 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/0.1637, allocations: 0 / 0.5631 GB, free: 14.49 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000157/0.1639, allocations: 19.88 kB / 0.5631 GB, free: 14.47 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.539e-05/0.1639, allocations: 8.062 kB / 0.5631 GB, free: 14.46 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.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (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.0001855/0.1641, allocations: 133.8 kB / 0.5632 GB, free: 14.32 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.948e-05/0.1641, allocations: 19.84 kB / 0.5632 GB, free: 14.3 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.104e-05/0.1642, allocations: 21 kB / 0.5633 GB, free: 14.28 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/0.1642, allocations: 11.86 kB / 0.5633 GB, free: 14.27 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/0.1642, allocations: 4 kB / 0.5633 GB, free: 14.27 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/0.1642, allocations: 0 / 0.5633 GB, free: 14.27 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003103/0.1645, allocations: 221.5 kB / 0.5635 GB, free: 14 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/0.1645, allocations: 3.938 kB / 0.5635 GB, free: 14 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.868e-05/0.1646, allocations: 12 kB / 0.5635 GB, free: 13.98 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.1646, allocations: 0 / 0.5635 GB, free: 13.98 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.415e-05/0.1646, allocations: 11.98 kB / 0.5635 GB, free: 13.97 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.1646, allocations: 0 / 0.5635 GB, free: 13.97 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.1646, allocations: 0 / 0.5635 GB, free: 13.97 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004788/0.1651, allocations: 165.8 kB / 0.5637 GB, free: 13.79 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001077/0.1652, allocations: 96.94 kB / 0.5638 GB, free: 13.68 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.165e-05/0.1653, allocations: 8 kB / 0.5638 GB, free: 13.67 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000108/0.1654, allocations: 4 kB / 0.5638 GB, free: 13.66 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.532e-05/0.1654, allocations: 11.98 kB / 0.5638 GB, free: 13.65 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.725e-05/0.1655, allocations: 8 kB / 0.5638 GB, free: 13.64 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003065/0.1658, allocations: 177.6 kB / 0.564 GB, free: 13.47 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1658, allocations: 0 / 0.564 GB, free: 13.47 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000511/0.1663, allocations: 55.86 kB / 0.564 GB, free: 13.42 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,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.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.003328/0.1696, allocations: 1.115 MB / 0.5651 GB, free: 12.45 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0004043/0.17, allocations: 79.91 kB / 0.5652 GB, free: 12.37 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.17, allocations: 0 / 0.5652 GB, free: 12.37 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001612/0.1702, allocations: 35.92 kB / 0.5652 GB, free: 12.33 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005801/0.1708, allocations: 54.81 kB / 0.5653 GB, free: 12.28 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003299/0.1741, allocations: 1.882 MB / 0.5671 GB, free: 10.3 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003752/0.1744, allocations: 0.7164 MB / 0.5678 GB, free: 9.555 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001113/0.1745, allocations: 45.94 kB / 0.5678 GB, free: 9.512 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001084/0.1747, allocations: 63.41 kB / 0.5679 GB, free: 9.449 MB / 430.1 MB Notification: Performance of SimCode: time 1.001e-06/0.1747, allocations: 0 / 0.5679 GB, free: 9.449 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03081/0.2055, allocations: 5.329 MB / 0.5731 GB, free: 4.16 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.107/8.312, allocations: 8 kB / 0.5731 GB, free: 4.152 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test80.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test80_fmu --startTime=0 --stopTime=4 --stepSize=0.000799201 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test80.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.587994250003248] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 't_new_2.y[1]'] 8.448267101310194 8.467861305 8.307903799 Calling exit ...