Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test50.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.001314/0.001314, allocations: 118.7 kB / 18.5 MB, free: 4.602 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.00132/0.00132, allocations: 210.5 kB / 21.46 MB, free: 1.648 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.538/1.538, allocations: 230.2 MB / 254.5 MB, free: 15.27 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.27/0.27, allocations: 46.88 MB / 357.4 MB, free: 10.62 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.Test50,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test50",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test50,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test50",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.002204/0.002204, allocations: 91.84 kB / 0.4913 GB, free: 8.52 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1591/0.1613, allocations: 65.97 MB / 0.5557 GB, free: 6.414 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.003291/0.1646, allocations: 1.739 MB / 0.5574 GB, free: 4.656 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002552/0.1672, allocations: 1.644 MB / 0.559 GB, free: 3.004 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.834e-05/0.1673, allocations: 0 / 0.559 GB, free: 3.004 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003159/0.1676, allocations: 35.77 kB / 0.5591 GB, free: 2.969 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003498/0.1679, allocations: 107.5 kB / 0.5592 GB, free: 2.863 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000215/0.1681, allocations: 79.66 kB / 0.5593 GB, free: 2.785 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001957/0.1683, allocations: 115.7 kB / 0.5594 GB, free: 2.672 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001002/0.1684, allocations: 8 kB / 0.5594 GB, free: 2.664 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.705e-05/0.1685, allocations: 51.77 kB / 0.5594 GB, free: 2.613 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001517/0.1687, allocations: 47.83 kB / 0.5595 GB, free: 2.566 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.022e-05/0.1687, allocations: 8 kB / 0.5595 GB, free: 2.559 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001846/0.1689, allocations: 111.9 kB / 0.5596 GB, free: 2.449 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.539e-05/0.169, allocations: 19.92 kB / 0.5596 GB, free: 2.43 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.384e-05/0.169, allocations: 35.73 kB / 0.5596 GB, free: 2.395 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003022/0.1693, allocations: 187.3 kB / 0.5598 GB, free: 2.211 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.1693, allocations: 0 / 0.5598 GB, free: 2.211 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1693, allocations: 0 / 0.5598 GB, free: 2.211 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.671e-06/0.1693, allocations: 0 / 0.5598 GB, free: 2.211 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006598/0.17, allocations: 446.5 kB / 0.5602 GB, free: 1.727 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.17, allocations: 8.031 kB / 0.5603 GB, free: 1.719 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.962e-05/0.1701, allocations: 38.75 kB / 0.5603 GB, free: 1.672 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.698e-05/0.1701, allocations: 12.88 kB / 0.5603 GB, free: 1.66 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003207/0.1704, allocations: 212.1 kB / 0.5605 GB, free: 1.414 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.441e-05/0.1705, allocations: 4.375 kB / 0.5605 GB, free: 1.41 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.804e-05/0.1705, allocations: 384 / 0.5605 GB, free: 1.41 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001882/0.1707, allocations: 83.5 kB / 0.5606 GB, free: 1.316 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/0.1707, allocations: 11.89 kB / 0.5606 GB, free: 1.305 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.1707, allocations: 0 / 0.5606 GB, free: 1.305 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.197e-06/0.1707, allocations: 0 / 0.5606 GB, free: 1.305 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.582e-05/0.1708, allocations: 35.95 kB / 0.5606 GB, free: 1.27 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004438/0.1712, allocations: 300.7 kB / 0.5609 GB, free: 0.9258 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001949/0.1714, allocations: 62.67 kB / 0.561 GB, free: 0.8555 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.187e-05/0.1715, allocations: 24.86 kB / 0.561 GB, free: 0.8281 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.643e-05/0.1715, allocations: 7.984 kB / 0.561 GB, free: 0.8203 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001692/0.1717, allocations: 67.39 kB / 0.5611 GB, free: 0.7422 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.302e-06/0.1717, allocations: 0 / 0.5611 GB, free: 0.7422 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006064/0.1723, allocations: 201.4 kB / 0.5613 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.834e-05/0.1724, allocations: 77.11 kB / 0.5613 GB, free: 456 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001856/0.1725, allocations: 174.2 kB / 0.5615 GB, free: 268 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.251e-05/0.1726, allocations: 29.7 kB / 0.5615 GB, free: 232 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.974e-05/0.1726, allocations: 100.1 kB / 0.5616 GB, free: 128 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.288e-05/0.1727, allocations: 27.8 kB / 0.5617 GB, free: 100 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.823e-05/0.1727, allocations: 29.81 kB / 0.5617 GB, free: 64 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001597/0.1729, allocations: 330.7 kB / 0.562 GB, free: 15.73 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.48e-05/0.1729, allocations: 23.98 kB / 0.562 GB, free: 15.71 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.127e-05/0.173, allocations: 46.56 kB / 0.5621 GB, free: 15.65 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001387/0.1732, allocations: 73.64 kB / 0.5621 GB, free: 15.57 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.123e-06/0.1732, allocations: 0 / 0.5621 GB, free: 15.57 MB / 430.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002103/0.1734, allocations: 117.5 kB / 0.5622 GB, free: 15.45 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.1734, allocations: 8 kB / 0.5623 GB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.1734, allocations: 0 / 0.5623 GB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.1734, allocations: 0 / 0.5623 GB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001005/0.1735, allocations: 24.05 kB / 0.5623 GB, free: 15.42 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.1735, allocations: 0 / 0.5623 GB, free: 15.42 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.131e-05/0.1736, allocations: 4 kB / 0.5623 GB, free: 15.42 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.684e-06/0.1736, allocations: 3.938 kB / 0.5623 GB, free: 15.41 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 (11): * Single equations (assignments): 11 * 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.0001216/0.1737, allocations: 134.7 kB / 0.5624 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.104e-05/0.1737, allocations: 15.95 kB / 0.5624 GB, free: 15.26 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.237e-05/0.1738, allocations: 12.72 kB / 0.5624 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.1738, allocations: 0 / 0.5624 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.1738, allocations: 0 / 0.5624 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.738e-06/0.1738, allocations: 4 kB / 0.5624 GB, free: 15.24 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005364/0.1743, allocations: 427.6 kB / 0.5629 GB, free: 14.77 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.1743, allocations: 0 / 0.5629 GB, free: 14.77 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.764e-05/0.1744, allocations: 12 kB / 0.5629 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.1744, allocations: 0 / 0.5629 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.1744, allocations: 0 / 0.5629 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.981e-06/0.1744, allocations: 7.938 kB / 0.5629 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.1744, allocations: 0 / 0.5629 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002778/0.1747, allocations: 228.4 kB / 0.5631 GB, free: 14.5 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.942e-05/0.1747, allocations: 81.06 kB / 0.5632 GB, free: 14.41 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.875e-05/0.1748, allocations: 4 kB / 0.5632 GB, free: 14.4 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.954e-05/0.1748, allocations: 7.938 kB / 0.5632 GB, free: 14.39 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.796e-05/0.1749, allocations: 7.984 kB / 0.5632 GB, free: 14.39 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.667e-05/0.1749, allocations: 4 kB / 0.5632 GB, free: 14.38 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001234/0.175, allocations: 140 kB / 0.5633 GB, free: 14.25 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.175, allocations: 3.938 kB / 0.5633 GB, free: 14.24 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003187/0.1753, allocations: 55.8 kB / 0.5634 GB, free: 14.19 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 (9): * Single equations (assignments): 7 * 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.002366/0.1777, allocations: 1.182 MB / 0.5645 GB, free: 13.18 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002146/0.1779, allocations: 71.84 kB / 0.5646 GB, free: 13.11 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.1779, allocations: 0 / 0.5646 GB, free: 13.11 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.246e-05/0.178, allocations: 31.97 kB / 0.5646 GB, free: 13.08 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003486/0.1784, allocations: 38.61 kB / 0.5647 GB, free: 13.05 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002017/0.1804, allocations: 1.664 MB / 0.5663 GB, free: 11.29 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003782/0.1808, allocations: 0.7044 MB / 0.567 GB, free: 10.55 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.97e-05/0.1808, allocations: 24.42 kB / 0.567 GB, free: 10.53 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.062e-05/0.1809, allocations: 35.42 kB / 0.567 GB, free: 10.49 MB / 430.1 MB Notification: Performance of SimCode: time 6.41e-07/0.1809, allocations: 0 / 0.567 GB, free: 10.49 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02839/0.2093, allocations: 4.225 MB / 0.5712 GB, free: 6.301 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.124/8.334, allocations: 6.109 kB / 0.5712 GB, free: 6.297 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test50.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test50_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test50.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.611147844232619] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 't_new.y[2]', 'd_t_new.y'] 8.458999280817807 8.48551723 8.311496645 Calling exit ...