Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test67.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.001823/0.001823, 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.002266/0.002266, 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.608/1.608, 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.2704/0.2704, allocations: 46.9 MB / 357.4 MB, free: 10.5 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.Test67,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test67",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test67,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test67",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.002191/0.002191, allocations: 83.88 kB / 0.4913 GB, free: 8.457 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1558/0.158, allocations: 65.98 MB / 0.5557 GB, free: 6.348 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.006019/0.164, allocations: 2.377 MB / 0.558 GB, free: 3.953 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003719/0.1677, allocations: 1.408 MB / 0.5594 GB, free: 2.539 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002286/0.168, allocations: 7.938 kB / 0.5594 GB, free: 2.531 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008138/0.1688, allocations: 295 kB / 0.5597 GB, free: 2.242 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00101/0.1698, allocations: 334.6 kB / 0.56 GB, free: 1.914 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000865/0.1706, allocations: 219.4 kB / 0.5602 GB, free: 1.699 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009535/0.1716, allocations: 0.557 MB / 0.5608 GB, free: 1.141 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001861/0.1718, allocations: 33.08 kB / 0.5608 GB, free: 1.105 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000423/0.1722, allocations: 247 kB / 0.561 GB, free: 0.8633 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004701/0.1727, allocations: 298.9 kB / 0.5613 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.194e-05/0.1727, allocations: 20 kB / 0.5613 GB, free: 0.5508 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001903/0.1729, allocations: 51.98 kB / 0.5614 GB, free: 0.5 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001853/0.1731, allocations: 115.5 kB / 0.5615 GB, free: 396 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002314/0.1733, allocations: 186.6 kB / 0.5617 GB, free: 208 kB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007377/0.1741, allocations: 422 kB / 0.5621 GB, free: 15.79 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.1741, allocations: 0 / 0.5621 GB, free: 15.79 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1741, allocations: 0 / 0.5621 GB, free: 15.79 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.34e-05/0.1741, allocations: 0 / 0.5621 GB, free: 15.79 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001694/0.1758, allocations: 0.8168 MB / 0.5629 GB, free: 14.91 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.647e-05/0.1759, allocations: 16.02 kB / 0.5629 GB, free: 14.9 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.958e-05/0.1759, allocations: 46.73 kB / 0.5629 GB, free: 14.84 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001451/0.1761, allocations: 56.56 kB / 0.563 GB, free: 14.79 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009514/0.177, allocations: 432.2 kB / 0.5634 GB, free: 14.33 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.164e-05/0.1771, allocations: 12.36 kB / 0.5634 GB, free: 14.32 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.529e-05/0.1771, allocations: 16.38 kB / 0.5634 GB, free: 14.3 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005888/0.1777, allocations: 205.9 kB / 0.5636 GB, free: 14.08 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.584e-05/0.1778, allocations: 0 / 0.5636 GB, free: 14.08 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.652e-05/0.1778, allocations: 8 kB / 0.5636 GB, free: 14.07 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.348e-06/0.1778, allocations: 8 kB / 0.5637 GB, free: 14.06 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003719/0.1782, allocations: 95.86 kB / 0.5637 GB, free: 13.97 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001463/0.1796, allocations: 0.8644 MB / 0.5646 GB, free: 13.04 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001075/0.1807, allocations: 285.2 kB / 0.5649 GB, free: 12.71 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003562/0.1811, allocations: 88.25 kB / 0.5649 GB, free: 12.61 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.063e-05/0.1811, allocations: 11.98 kB / 0.565 GB, free: 12.6 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006922/0.1818, allocations: 227.5 kB / 0.5652 GB, free: 12.35 MB / 430.1 MB Notification: Performance of pre-optimization done (n=30): time 3.086e-06/0.1818, allocations: 3.938 kB / 0.5652 GB, free: 12.35 MB / 430.1 MB Notification: Performance of matching and sorting (n=40): time 0.003707/0.1855, allocations: 1.034 MB / 0.5662 GB, free: 11.3 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001543/0.1857, allocations: 166.2 kB / 0.5663 GB, free: 11.11 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001329/0.187, allocations: 0.6553 MB / 0.567 GB, free: 10.44 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.375e-05/0.1871, allocations: 41.7 kB / 0.567 GB, free: 10.39 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002976/0.1874, allocations: 233 kB / 0.5672 GB, free: 10.16 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001863/0.1875, allocations: 131 kB / 0.5674 GB, free: 10.03 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001735/0.1877, allocations: 70.12 kB / 0.5674 GB, free: 9.957 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002892/0.188, allocations: 374.8 kB / 0.5678 GB, free: 9.582 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004379/0.1884, allocations: 100.8 kB / 0.5679 GB, free: 9.484 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005398/0.189, allocations: 184.9 kB / 0.5681 GB, free: 9.273 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001041/0.19, allocations: 304.6 kB / 0.5684 GB, free: 8.945 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/0.19, allocations: 0 / 0.5684 GB, free: 8.945 MB / 430.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001432/0.1915, allocations: 405 kB / 0.5687 GB, free: 8.543 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.038e-05/0.1915, allocations: 8 kB / 0.5688 GB, free: 8.535 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/0.1915, allocations: 0 / 0.5688 GB, free: 8.535 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.037e-05/0.1915, allocations: 7.938 kB / 0.5688 GB, free: 8.527 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005948/0.1921, allocations: 91.83 kB / 0.5688 GB, free: 8.438 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.912e-05/0.1921, allocations: 4.375 kB / 0.5689 GB, free: 8.434 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003916/0.1925, allocations: 19.92 kB / 0.5689 GB, free: 8.414 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.917e-05/0.1926, allocations: 16 kB / 0.5689 GB, free: 8.398 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($PRE.t_s.nextTimeEvent,$whenCondition5,t_s.nextTimeEventScaled,$PRE.t_s.nextTimeEventScaled,t_s.nextTimeEvent,$PRE.t_min.nextTimeEvent,$whenCondition4,t_min.nextTimeEventScaled,$PRE.t_min.nextTimeEventScaled,t_min.nextTimeEvent,$PRE.t_h.nextTimeEvent,$whenCondition3,t_h.nextTimeEventScaled,$PRE.t_h.nextTimeEventScaled,t_h.nextTimeEvent,$PRE.t_d.nextTimeEvent,$whenCondition2,t_d.nextTimeEventScaled,$PRE.t_d.nextTimeEventScaled,t_d.nextTimeEvent,$PRE.t_ms.nextTimeEvent,$whenCondition1,t_ms.nextTimeEventScaled,$PRE.t_ms.nextTimeEventScaled,t_ms.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 50 * 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.0004995/0.1931, allocations: 208.4 kB / 0.5691 GB, free: 8.184 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001728/0.1933, allocations: 71.52 kB / 0.5692 GB, free: 8.113 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002168/0.1935, allocations: 68.8 kB / 0.5692 GB, free: 8.043 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.524e-05/0.1935, allocations: 8 kB / 0.5692 GB, free: 8.035 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-05/0.1935, allocations: 0 / 0.5692 GB, free: 8.035 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.321e-05/0.1935, allocations: 3.984 kB / 0.5692 GB, free: 8.031 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003009/0.1965, allocations: 1.28 MB / 0.5705 GB, free: 6.676 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.419e-05/0.1965, allocations: 4 kB / 0.5705 GB, free: 6.672 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002681/0.1968, allocations: 47.92 kB / 0.5705 GB, free: 6.625 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.276e-05/0.1968, allocations: 4 kB / 0.5705 GB, free: 6.621 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.172e-05/0.1969, allocations: 15.98 kB / 0.5705 GB, free: 6.605 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.269e-05/0.1969, allocations: 12.09 kB / 0.5706 GB, free: 6.594 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.197e-06/0.1969, allocations: 7.938 kB / 0.5706 GB, free: 6.586 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001595/0.1985, allocations: 0.8127 MB / 0.5714 GB, free: 5.738 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001886/0.1987, allocations: 132.7 kB / 0.5715 GB, free: 5.59 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001084/0.1988, allocations: 12 kB / 0.5715 GB, free: 5.578 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006248/0.1994, allocations: 27.84 kB / 0.5715 GB, free: 5.551 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001354/0.1995, allocations: 43.89 kB / 0.5716 GB, free: 5.508 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.355e-05/0.1996, allocations: 19.98 kB / 0.5716 GB, free: 5.488 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0009463/0.2006, allocations: 486.8 kB / 0.5721 GB, free: 5.016 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.2006, allocations: 3.938 kB / 0.5721 GB, free: 5.012 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00104/0.2016, allocations: 83.94 kB / 0.5721 GB, free: 4.93 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled,$whenCondition2,t_d.nextTimeEvent,t_d.nextTimeEventScaled,$whenCondition3,t_h.nextTimeEvent,t_h.nextTimeEventScaled,$whenCondition4,t_min.nextTimeEvent,t_min.nextTimeEventScaled,$whenCondition5,t_s.nextTimeEvent,t_s.nextTimeEventScaled) * Number of discrete states: 10 (t_s.nextTimeEvent,t_s.nextTimeEventScaled,t_min.nextTimeEvent,t_min.nextTimeEventScaled,t_h.nextTimeEvent,t_h.nextTimeEventScaled,t_d.nextTimeEvent,t_d.nextTimeEventScaled,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.004592/0.2062, allocations: 1.727 MB / 0.5738 GB, free: 3.336 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001142/0.2073, allocations: 279.6 kB / 0.5741 GB, free: 3.062 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.2073, allocations: 0 / 0.5741 GB, free: 3.062 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005503/0.2079, allocations: 135.7 kB / 0.5742 GB, free: 2.93 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001818/0.2097, allocations: 158.5 kB / 0.5744 GB, free: 2.793 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01068/0.2204, allocations: 4.533 MB / 0.5788 GB, free: 14.06 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008632/0.2212, allocations: 0.8629 MB / 0.5796 GB, free: 13.17 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004668/0.2217, allocations: 80.12 kB / 0.5797 GB, free: 13.09 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004113/0.2221, allocations: 187.4 kB / 0.5799 GB, free: 12.91 MB / 446.1 MB Notification: Performance of SimCode: time 1.062e-06/0.2221, allocations: 0 / 0.5799 GB, free: 12.91 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05265/0.2748, allocations: 10.98 MB / 0.5906 GB, free: 2.008 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.676/8.95, allocations: 3.984 kB / 0.5906 GB, free: 2.004 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test67.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test67.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test67_fmu --startTime=0 --stopTime=4000 --stepSize=0.799361 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test67.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test67.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.60842735413462] Failed to read output from testmodel.py, exit status != 0: ['time', 't_s.y[1]', 'd_t_s.y', 't_min.y[1]', 'd_t_min.y', 't_h.y[1]', 'd_t_h.y', 't_d.y[1]', 'd_t_d.y', 't_ms.y[1]', 'd_t_ms.y'] 9.084124356042594 9.383439679 9.206641415 Calling exit ...