Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test7.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.001667/0.001667, 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.001849/0.001849, 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.531/1.531, 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.2549/0.2549, allocations: 46.9 MB / 357.4 MB, free: 10.48 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.Test7,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test7,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test7",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.002301/0.002301, allocations: 79.88 kB / 0.4913 GB, free: 8.258 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1491/0.1514, allocations: 65.99 MB / 0.5558 GB, free: 6.141 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.003686/0.1551, allocations: 1.749 MB / 0.5575 GB, free: 4.375 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00195/0.157, allocations: 1.044 MB / 0.5585 GB, free: 3.324 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.603e-05/0.1571, allocations: 0 / 0.5585 GB, free: 3.324 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004048/0.1575, allocations: 107.7 kB / 0.5586 GB, free: 3.219 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003887/0.1579, allocations: 127.5 kB / 0.5587 GB, free: 3.094 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002378/0.1581, allocations: 79.72 kB / 0.5588 GB, free: 3.016 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002398/0.1584, allocations: 123.6 kB / 0.5589 GB, free: 2.895 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001135/0.1585, allocations: 19.97 kB / 0.5589 GB, free: 2.875 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00011/0.1586, allocations: 55.77 kB / 0.559 GB, free: 2.82 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001254/0.1587, allocations: 67.73 kB / 0.559 GB, free: 2.754 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.678e-05/0.1587, allocations: 4 kB / 0.559 GB, free: 2.75 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001342/0.1589, allocations: 63.92 kB / 0.5591 GB, free: 2.688 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.734e-05/0.1589, allocations: 39.89 kB / 0.5591 GB, free: 2.648 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.191e-05/0.159, allocations: 35.69 kB / 0.5592 GB, free: 2.613 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002613/0.1593, allocations: 151.3 kB / 0.5593 GB, free: 2.465 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.935e-06/0.1593, allocations: 7.984 kB / 0.5593 GB, free: 2.457 MB / 414.1 MB Notification: Performance of FrontEnd: time 9.61e-07/0.1593, allocations: 0 / 0.5593 GB, free: 2.457 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.602e-06/0.1593, allocations: 0 / 0.5593 GB, free: 2.457 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.0006374/0.1599, allocations: 450.4 kB / 0.5598 GB, free: 1.969 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.16, allocations: 8.031 kB / 0.5598 GB, free: 1.961 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.697e-05/0.16, allocations: 34.75 kB / 0.5598 GB, free: 1.918 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.77e-05/0.16, allocations: 24.83 kB / 0.5598 GB, free: 1.895 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003405/0.1604, allocations: 219.9 kB / 0.56 GB, free: 1.641 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.225e-06/0.1604, allocations: 4.312 kB / 0.56 GB, free: 1.637 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.737e-05/0.1604, allocations: 12.33 kB / 0.56 GB, free: 1.625 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001457/0.1605, allocations: 61.8 kB / 0.5601 GB, free: 1.559 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.1606, allocations: 0 / 0.5601 GB, free: 1.559 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.515e-06/0.1606, allocations: 0 / 0.5601 GB, free: 1.559 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.928e-06/0.1606, allocations: 0 / 0.5601 GB, free: 1.559 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.486e-05/0.1606, allocations: 19.98 kB / 0.5601 GB, free: 1.539 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004136/0.1611, allocations: 312.8 kB / 0.5604 GB, free: 1.184 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002266/0.1613, allocations: 62.42 kB / 0.5605 GB, free: 1.113 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.113e-05/0.1613, allocations: 16.98 kB / 0.5605 GB, free: 1.094 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.272e-05/0.1613, allocations: 4 kB / 0.5605 GB, free: 1.09 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001475/0.1615, allocations: 75.38 kB / 0.5606 GB, free: 1.004 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.232e-06/0.1615, allocations: 0 / 0.5606 GB, free: 1.004 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007245/0.1622, allocations: 257.6 kB / 0.5608 GB, free: 0.7461 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.476e-05/0.1623, allocations: 51.41 kB / 0.5609 GB, free: 0.6836 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000262/0.1625, allocations: 255.1 kB / 0.5611 GB, free: 432 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.831e-05/0.1625, allocations: 29.7 kB / 0.5611 GB, free: 396 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.559e-05/0.1626, allocations: 108.1 kB / 0.5612 GB, free: 284 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.059e-05/0.1627, allocations: 47.69 kB / 0.5613 GB, free: 236 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.349e-05/0.1627, allocations: 21.72 kB / 0.5613 GB, free: 208 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002095/0.1629, allocations: 330.8 kB / 0.5616 GB, free: 15.87 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.253e-05/0.163, allocations: 27.98 kB / 0.5617 GB, free: 15.84 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.312e-05/0.1631, allocations: 45.7 kB / 0.5617 GB, free: 15.79 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001406/0.1632, allocations: 81.64 kB / 0.5618 GB, free: 15.71 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.1632, allocations: 3.938 kB / 0.5618 GB, free: 15.7 MB / 430.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002982/0.1635, allocations: 133.6 kB / 0.5619 GB, free: 15.57 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.065e-05/0.1635, allocations: 4 kB / 0.5619 GB, free: 15.56 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.1635, allocations: 0 / 0.5619 GB, free: 15.56 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/0.1635, allocations: 3.984 kB / 0.5619 GB, free: 15.56 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.855e-05/0.1636, allocations: 23.94 kB / 0.5619 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.725e-06/0.1636, allocations: 3.938 kB / 0.5619 GB, free: 15.53 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.023e-05/0.1637, allocations: 15.92 kB / 0.562 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.971e-06/0.1637, allocations: 32 / 0.562 GB, free: 15.52 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 (13): * Single equations (assignments): 13 * 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.0001256/0.1638, allocations: 137.8 kB / 0.5621 GB, free: 15.37 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.046e-05/0.1638, allocations: 15.91 kB / 0.5621 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.03e-05/0.1639, allocations: 21.41 kB / 0.5621 GB, free: 15.33 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.1639, allocations: 0 / 0.5621 GB, free: 15.33 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.014e-06/0.1639, allocations: 0 / 0.5621 GB, free: 15.33 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.1639, allocations: 7.922 kB / 0.5621 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005714/0.1645, allocations: 460 kB / 0.5626 GB, free: 14.81 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.1645, allocations: 0 / 0.5626 GB, free: 14.81 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.061e-05/0.1645, allocations: 23.88 kB / 0.5626 GB, free: 14.79 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.1645, allocations: 3.938 kB / 0.5626 GB, free: 14.78 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.897e-06/0.1645, allocations: 4 kB / 0.5626 GB, free: 14.78 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.1645, allocations: 0 / 0.5626 GB, free: 14.78 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.1645, allocations: 0 / 0.5626 GB, free: 14.78 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002723/0.1648, allocations: 233.2 kB / 0.5628 GB, free: 14.53 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.024e-05/0.1649, allocations: 92.95 kB / 0.5629 GB, free: 14.42 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.523e-05/0.1649, allocations: 8 kB / 0.5629 GB, free: 14.41 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.561e-05/0.165, allocations: 7.984 kB / 0.5629 GB, free: 14.4 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.602e-05/0.165, allocations: 7.938 kB / 0.5629 GB, free: 14.39 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.638e-05/0.165, allocations: 11.98 kB / 0.5629 GB, free: 14.38 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001735/0.1652, allocations: 184.5 kB / 0.5631 GB, free: 14.2 MB / 430.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1652, allocations: 4 kB / 0.5631 GB, free: 14.2 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002586/0.1654, allocations: 31.94 kB / 0.5632 GB, free: 14.17 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 (11): * Single equations (assignments): 9 * 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.0023/0.1677, allocations: 1.175 MB / 0.5643 GB, free: 13.16 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001916/0.1679, allocations: 75.91 kB / 0.5644 GB, free: 13.09 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.1679, allocations: 0 / 0.5644 GB, free: 13.09 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.941e-05/0.168, allocations: 35.92 kB / 0.5644 GB, free: 13.05 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003166/0.1683, allocations: 38.56 kB / 0.5644 GB, free: 13.02 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002154/0.1705, allocations: 1.889 MB / 0.5663 GB, free: 11.03 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003732/0.1709, allocations: 0.7197 MB / 0.567 GB, free: 10.28 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.73e-05/0.1709, allocations: 24.62 kB / 0.567 GB, free: 10.26 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.065e-05/0.171, allocations: 43.42 kB / 0.5671 GB, free: 10.21 MB / 430.1 MB Notification: Performance of SimCode: time 2.9e-07/0.171, allocations: 0 / 0.5671 GB, free: 10.21 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02596/0.197, allocations: 4.078 MB / 0.571 GB, free: 6.207 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.895/8.092, allocations: 5.734 kB / 0.571 GB, free: 6.207 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test7_fmu --startTime=0 --stopTime=1 --stepSize=0.00019984 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test7.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.407215566840023] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'd2_t_new.y'] 8.215731287840754 8.237525998 8.07409003 Calling exit ...