Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test25.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.00172/0.00172, 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.002077/0.002077, 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.569/1.569, allocations: 230.2 MB / 254.5 MB, free: 15.25 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.271/0.271, allocations: 46.89 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.Test25,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test25",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test25,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test25",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.003844/0.003844, allocations: 83.88 kB / 0.4913 GB, free: 8.465 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1506/0.1545, allocations: 65.98 MB / 0.5557 GB, free: 6.352 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test25): time 0.004153/0.1586, allocations: 1.732 MB / 0.5574 GB, free: 4.602 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00206/0.1607, allocations: 1.042 MB / 0.5585 GB, free: 3.555 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001198/0.1608, allocations: 0 / 0.5585 GB, free: 3.555 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003976/0.1612, allocations: 43.75 kB / 0.5585 GB, free: 3.512 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004401/0.1616, allocations: 95.61 kB / 0.5586 GB, free: 3.418 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003026/0.1619, allocations: 75.67 kB / 0.5587 GB, free: 3.344 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000218/0.1622, allocations: 103.7 kB / 0.5588 GB, free: 3.242 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001241/0.1623, allocations: 23.91 kB / 0.5588 GB, free: 3.219 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001132/0.1624, allocations: 43.8 kB / 0.5588 GB, free: 3.176 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.827e-05/0.1625, allocations: 31.84 kB / 0.5589 GB, free: 3.145 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.163e-05/0.1625, allocations: 4 kB / 0.5589 GB, free: 3.141 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001368/0.1626, allocations: 47.97 kB / 0.5589 GB, free: 3.094 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.293e-05/0.1627, allocations: 19.92 kB / 0.5589 GB, free: 3.074 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.164e-05/0.1628, allocations: 39.69 kB / 0.559 GB, free: 3.035 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002559/0.163, allocations: 119.4 kB / 0.5591 GB, free: 2.918 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.163, allocations: 0 / 0.5591 GB, free: 2.918 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.163, allocations: 0 / 0.5591 GB, free: 2.918 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.163, allocations: 0 / 0.5591 GB, free: 2.918 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.0006586/0.1637, allocations: 434.6 kB / 0.5595 GB, free: 2.445 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.1637, allocations: 8.031 kB / 0.5595 GB, free: 2.438 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.614e-05/0.1638, allocations: 38.67 kB / 0.5595 GB, free: 2.391 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.066e-05/0.1638, allocations: 12.89 kB / 0.5595 GB, free: 2.379 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003415/0.1642, allocations: 212.1 kB / 0.5597 GB, free: 2.133 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.427e-05/0.1642, allocations: 384 / 0.5597 GB, free: 2.133 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.5e-05/0.1642, allocations: 4.375 kB / 0.5598 GB, free: 2.129 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001763/0.1644, allocations: 61.73 kB / 0.5598 GB, free: 2.062 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.1644, allocations: 8 kB / 0.5598 GB, free: 2.055 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.1644, allocations: 0 / 0.5598 GB, free: 2.055 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.1644, allocations: 3.938 kB / 0.5598 GB, free: 2.051 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.68e-05/0.1645, allocations: 23.98 kB / 0.5598 GB, free: 2.027 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000434/0.1649, allocations: 288.8 kB / 0.5601 GB, free: 1.695 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001769/0.1651, allocations: 58.61 kB / 0.5602 GB, free: 1.629 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.569e-05/0.1652, allocations: 16.86 kB / 0.5602 GB, free: 1.609 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.569e-05/0.1652, allocations: 3.984 kB / 0.5602 GB, free: 1.605 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000163/0.1654, allocations: 71.38 kB / 0.5603 GB, free: 1.523 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.313e-06/0.1654, allocations: 0 / 0.5603 GB, free: 1.523 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005792/0.1659, allocations: 173.4 kB / 0.5604 GB, free: 1.348 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.318e-05/0.166, allocations: 59.39 kB / 0.5605 GB, free: 1.277 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002104/0.1662, allocations: 210.1 kB / 0.5607 GB, free: 1.062 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.948e-05/0.1662, allocations: 25.7 kB / 0.5607 GB, free: 1.031 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.352e-05/0.1663, allocations: 108.1 kB / 0.5608 GB, free: 0.9219 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.427e-05/0.1663, allocations: 23.8 kB / 0.5608 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.324e-05/0.1664, allocations: 21.7 kB / 0.5609 GB, free: 0.8711 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001445/0.1665, allocations: 330.8 kB / 0.5612 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.286e-05/0.1666, allocations: 19.98 kB / 0.5612 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.724e-05/0.1666, allocations: 37.66 kB / 0.5612 GB, free: 488 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001181/0.1668, allocations: 61.7 kB / 0.5613 GB, free: 420 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.1668, allocations: 0 / 0.5613 GB, free: 420 kB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002029/0.167, allocations: 113.5 kB / 0.5614 GB, free: 300 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.167, allocations: 8 kB / 0.5614 GB, free: 292 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.167, allocations: 0 / 0.5614 GB, free: 292 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.167, allocations: 0 / 0.5614 GB, free: 292 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.873e-05/0.1671, allocations: 20.03 kB / 0.5614 GB, free: 272 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.1671, allocations: 4 kB / 0.5614 GB, free: 268 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.731e-05/0.1672, allocations: 7.922 kB / 0.5614 GB, free: 260 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.027e-06/0.1672, allocations: 4 kB / 0.5614 GB, free: 256 kB / 414.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.0001188/0.1673, allocations: 135.3 kB / 0.5616 GB, free: 112 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.037e-05/0.1673, allocations: 15.89 kB / 0.5616 GB, free: 96 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.163e-05/0.1674, allocations: 13.41 kB / 0.5616 GB, free: 76 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.1674, allocations: 4 kB / 0.5616 GB, free: 72 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.7e-06/0.1674, allocations: 4 kB / 0.5616 GB, free: 68 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.1674, allocations: 0 / 0.5616 GB, free: 68 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005263/0.1679, allocations: 399.6 kB / 0.562 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.1679, allocations: 0 / 0.562 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.73e-05/0.1679, allocations: 12.19 kB / 0.562 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.1679, allocations: 0 / 0.562 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.497e-05/0.168, allocations: 7.938 kB / 0.562 GB, free: 15.6 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.646e-06/0.168, allocations: 3.938 kB / 0.562 GB, free: 15.59 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.168, allocations: 3.984 kB / 0.562 GB, free: 15.59 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002553/0.1682, allocations: 208.3 kB / 0.5622 GB, free: 15.37 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.705e-05/0.1683, allocations: 85.06 kB / 0.5623 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.508e-05/0.1683, allocations: 4 kB / 0.5623 GB, free: 15.26 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.988e-05/0.1684, allocations: 7.938 kB / 0.5623 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.124e-05/0.1685, allocations: 7.984 kB / 0.5623 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.782e-05/0.1685, allocations: 4 kB / 0.5623 GB, free: 15.24 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001601/0.1686, allocations: 164.8 kB / 0.5625 GB, free: 15.08 MB / 430.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1686, allocations: 0 / 0.5625 GB, free: 15.08 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002728/0.1689, allocations: 27.92 kB / 0.5625 GB, free: 15.05 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.002207/0.1711, allocations: 1.088 MB / 0.5636 GB, free: 14.11 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002053/0.1713, allocations: 63.88 kB / 0.5636 GB, free: 14.05 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.1713, allocations: 0 / 0.5636 GB, free: 14.05 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.47e-05/0.1714, allocations: 24.06 kB / 0.5636 GB, free: 14.03 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003608/0.1718, allocations: 38.7 kB / 0.5637 GB, free: 14 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002031/0.1738, allocations: 1.686 MB / 0.5653 GB, free: 12.21 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003495/0.1741, allocations: 0.7119 MB / 0.566 GB, free: 11.48 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.531e-05/0.1742, allocations: 16.48 kB / 0.566 GB, free: 11.46 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.903e-05/0.1743, allocations: 35.42 kB / 0.5661 GB, free: 11.43 MB / 430.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1743, allocations: 0 / 0.5661 GB, free: 11.43 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02534/0.1996, allocations: 3.545 MB / 0.5695 GB, free: 7.941 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.952/8.152, allocations: 6.172 kB / 0.5695 GB, free: 7.938 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test25.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test25.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test25_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test25.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test25.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.418789855670184] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.27838316373527 8.299169392 8.131802021 Calling exit ...