Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test77.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.001244/0.001244, 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.001339/0.001339, 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.586/1.586, 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.2392/0.2392, allocations: 46.89 MB / 357.4 MB, free: 10.53 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.Test77,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test77",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test77,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test77",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.002234/0.002234, allocations: 79.88 kB / 0.4913 GB, free: 8.469 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1709/0.1731, allocations: 65.97 MB / 0.5557 GB, free: 6.363 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.003798/0.1769, allocations: 1.939 MB / 0.5576 GB, free: 4.406 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002229/0.1791, allocations: 1.139 MB / 0.5588 GB, free: 3.262 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.727e-05/0.1792, allocations: 4 kB / 0.5588 GB, free: 3.258 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004763/0.1797, allocations: 163.5 kB / 0.5589 GB, free: 3.098 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004799/0.1802, allocations: 179.3 kB / 0.5591 GB, free: 2.922 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000301/0.1805, allocations: 115.6 kB / 0.5592 GB, free: 2.809 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003712/0.1809, allocations: 247.3 kB / 0.5594 GB, free: 2.566 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001387/0.181, allocations: 25.66 kB / 0.5595 GB, free: 2.539 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001743/0.1812, allocations: 111.6 kB / 0.5596 GB, free: 2.43 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002128/0.1814, allocations: 143.5 kB / 0.5597 GB, free: 2.289 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.724e-05/0.1814, allocations: 8 kB / 0.5597 GB, free: 2.281 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000139/0.1815, allocations: 63.92 kB / 0.5598 GB, free: 2.219 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.951e-05/0.1816, allocations: 55.77 kB / 0.5598 GB, free: 2.164 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001072/0.1817, allocations: 91.28 kB / 0.5599 GB, free: 2.074 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003581/0.1821, allocations: 223 kB / 0.5601 GB, free: 1.855 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.84e-06/0.1821, allocations: 0 / 0.5601 GB, free: 1.855 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1821, allocations: 4 kB / 0.5601 GB, free: 1.852 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.644e-06/0.1821, allocations: 0 / 0.5601 GB, free: 1.852 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008905/0.183, allocations: 0.5484 MB / 0.5607 GB, free: 1.254 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.696e-05/0.1831, allocations: 8.031 kB / 0.5607 GB, free: 1.246 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.128e-05/0.1831, allocations: 42.69 kB / 0.5607 GB, free: 1.195 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.331e-05/0.1832, allocations: 32.73 kB / 0.5607 GB, free: 1.164 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004708/0.1836, allocations: 267.8 kB / 0.561 GB, free: 0.8672 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/0.1837, allocations: 8.359 kB / 0.561 GB, free: 0.8594 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.353e-05/0.1837, allocations: 16.38 kB / 0.561 GB, free: 0.8438 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002798/0.184, allocations: 115.4 kB / 0.5611 GB, free: 0.7188 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.717e-05/0.184, allocations: 0 / 0.5611 GB, free: 0.7188 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/0.184, allocations: 0 / 0.5611 GB, free: 0.7188 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.184, allocations: 4 kB / 0.5611 GB, free: 0.7148 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001428/0.1842, allocations: 47.95 kB / 0.5612 GB, free: 0.668 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006869/0.1848, allocations: 472.6 kB / 0.5616 GB, free: 156 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004459/0.1853, allocations: 117.2 kB / 0.5617 GB, free: 20 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000137/0.1854, allocations: 41.83 kB / 0.5618 GB, free: 15.97 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.888e-05/0.1855, allocations: 4 kB / 0.5618 GB, free: 15.97 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002716/0.1857, allocations: 125.2 kB / 0.5619 GB, free: 15.83 MB / 430.1 MB Notification: Performance of pre-optimization done (n=14): time 4.147e-06/0.1857, allocations: 3.984 kB / 0.5619 GB, free: 15.82 MB / 430.1 MB Notification: Performance of matching and sorting (n=22): time 0.001463/0.1872, allocations: 0.4899 MB / 0.5624 GB, free: 15.33 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.381e-05/0.1873, allocations: 81.11 kB / 0.5625 GB, free: 15.23 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004887/0.1878, allocations: 367.3 kB / 0.5628 GB, free: 14.86 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.106e-05/0.1878, allocations: 33.7 kB / 0.5628 GB, free: 14.82 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000143/0.188, allocations: 152.4 kB / 0.563 GB, free: 14.66 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.812e-05/0.1881, allocations: 71.38 kB / 0.5631 GB, free: 14.59 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.281e-05/0.1881, allocations: 45.7 kB / 0.5631 GB, free: 14.54 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002183/0.1884, allocations: 342.8 kB / 0.5634 GB, free: 14.2 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000157/0.1885, allocations: 59.97 kB / 0.5635 GB, free: 14.14 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001839/0.1887, allocations: 91.34 kB / 0.5636 GB, free: 14.04 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003104/0.189, allocations: 159.5 kB / 0.5637 GB, free: 13.87 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.189, allocations: 4 kB / 0.5637 GB, free: 13.87 MB / 430.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004394/0.1895, allocations: 229.3 kB / 0.5639 GB, free: 13.64 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.159e-05/0.1895, allocations: 8 kB / 0.564 GB, free: 13.63 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.1895, allocations: 4.016 kB / 0.564 GB, free: 13.62 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.141e-05/0.1895, allocations: 4 kB / 0.564 GB, free: 13.62 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001516/0.1897, allocations: 39.97 kB / 0.564 GB, free: 13.58 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.57e-05/0.1897, allocations: 15.86 kB / 0.564 GB, free: 13.57 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.367e-05/0.1898, allocations: 8 kB / 0.564 GB, free: 13.56 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.415e-05/0.1898, allocations: 8.062 kB / 0.564 GB, free: 13.55 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.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001882/0.19, allocations: 157.8 kB / 0.5642 GB, free: 13.39 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.194e-05/0.19, allocations: 27.81 kB / 0.5642 GB, free: 13.36 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.604e-05/0.1901, allocations: 41.77 kB / 0.5642 GB, free: 13.32 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.1901, allocations: 0 / 0.5642 GB, free: 13.32 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.1901, allocations: 0 / 0.5642 GB, free: 13.32 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.1901, allocations: 7.984 kB / 0.5643 GB, free: 13.31 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001092/0.1912, allocations: 0.7272 MB / 0.565 GB, free: 12.52 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.9e-06/0.1912, allocations: 4 kB / 0.565 GB, free: 12.51 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001009/0.1913, allocations: 31.92 kB / 0.565 GB, free: 12.48 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.1913, allocations: 0 / 0.565 GB, free: 12.48 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.15e-05/0.1913, allocations: 8 kB / 0.565 GB, free: 12.47 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.151e-06/0.1913, allocations: 8 kB / 0.565 GB, free: 12.46 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.1913, allocations: 128 / 0.565 GB, free: 12.46 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005695/0.1919, allocations: 421.8 kB / 0.5654 GB, free: 12.02 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001137/0.192, allocations: 100.9 kB / 0.5655 GB, free: 11.91 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.264e-05/0.1921, allocations: 15.98 kB / 0.5655 GB, free: 11.89 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001367/0.1922, allocations: 8 kB / 0.5655 GB, free: 11.88 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.964e-05/0.1923, allocations: 19.92 kB / 0.5656 GB, free: 11.86 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.166e-05/0.1923, allocations: 15.98 kB / 0.5656 GB, free: 11.85 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003484/0.1927, allocations: 273.9 kB / 0.5658 GB, free: 11.58 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1927, allocations: 0 / 0.5658 GB, free: 11.58 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003802/0.1931, allocations: 51.92 kB / 0.5659 GB, free: 11.53 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * 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.003015/0.1961, allocations: 1.354 MB / 0.5672 GB, free: 10.33 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0004548/0.1965, allocations: 155.1 kB / 0.5674 GB, free: 10.18 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.1965, allocations: 0 / 0.5674 GB, free: 10.18 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001923/0.1967, allocations: 71.84 kB / 0.5674 GB, free: 10.11 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006481/0.1974, allocations: 71.39 kB / 0.5675 GB, free: 10.05 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004151/0.2015, allocations: 2.711 MB / 0.5701 GB, free: 7.211 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005561/0.2021, allocations: 0.7675 MB / 0.5709 GB, free: 6.418 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001398/0.2022, allocations: 41.89 kB / 0.5709 GB, free: 6.375 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001479/0.2024, allocations: 99.34 kB / 0.571 GB, free: 6.277 MB / 430.1 MB Notification: Performance of SimCode: time 8.61e-07/0.2024, allocations: 0 / 0.571 GB, free: 6.277 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03273/0.2351, allocations: 6.143 MB / 0.577 GB, free: 212 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.29/8.526, allocations: 12.05 kB / 0.577 GB, free: 200 kB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test77.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test77_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test77.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.744097769726068] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 't_new_2.y[1]', 'd_t_new_2.y', 'd2_t_new.y', 'd2_t_new_2.y'] 8.651457082014531 8.6791982 8.491685266 Calling exit ...