Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test76.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.001754/0.001754, allocations: 122.7 kB / 18.5 MB, free: 4.578 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.002186/0.002186, allocations: 210.5 kB / 21.46 MB, free: 1.625 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.516/1.516, 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.2808/0.2808, allocations: 46.89 MB / 357.4 MB, free: 10.54 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.Test76,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test76",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test76,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test76",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.002242/0.002242, allocations: 79.88 kB / 0.4913 GB, free: 8.488 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.173/0.1752, allocations: 65.98 MB / 0.5557 GB, free: 6.375 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.004647/0.1799, allocations: 1.758 MB / 0.5575 GB, free: 4.602 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002704/0.1826, allocations: 1.032 MB / 0.5585 GB, free: 3.562 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001165/0.1827, allocations: 0 / 0.5585 GB, free: 3.562 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004148/0.1831, allocations: 55.73 kB / 0.5585 GB, free: 3.508 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004806/0.1836, allocations: 95.53 kB / 0.5586 GB, free: 3.414 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003261/0.1839, allocations: 87.66 kB / 0.5587 GB, free: 3.328 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002967/0.1842, allocations: 131.7 kB / 0.5588 GB, free: 3.199 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001574/0.1844, allocations: 11.98 kB / 0.5588 GB, free: 3.188 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001829/0.1845, allocations: 55.77 kB / 0.5589 GB, free: 3.133 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001632/0.1847, allocations: 51.77 kB / 0.5589 GB, free: 3.082 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.804e-05/0.1847, allocations: 8 kB / 0.5589 GB, free: 3.074 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00021/0.1849, allocations: 71.84 kB / 0.559 GB, free: 3.004 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.234e-05/0.185, allocations: 27.91 kB / 0.559 GB, free: 2.977 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001002/0.1851, allocations: 43.67 kB / 0.5591 GB, free: 2.934 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003894/0.1855, allocations: 147.4 kB / 0.5592 GB, free: 2.789 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.782e-06/0.1855, allocations: 4 kB / 0.5592 GB, free: 2.785 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.545e-06/0.1855, allocations: 0 / 0.5592 GB, free: 2.785 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.947e-06/0.1855, allocations: 0 / 0.5592 GB, free: 2.785 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.000937/0.1865, allocations: 442.5 kB / 0.5597 GB, free: 2.305 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.742e-05/0.1865, allocations: 8.031 kB / 0.5597 GB, free: 2.297 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.966e-05/0.1866, allocations: 42.73 kB / 0.5597 GB, free: 2.246 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.54e-05/0.1867, allocations: 12.84 kB / 0.5597 GB, free: 2.234 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005649/0.1873, allocations: 228.1 kB / 0.5599 GB, free: 1.973 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.892e-05/0.1873, allocations: 8.312 kB / 0.5599 GB, free: 1.965 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.062e-05/0.1873, allocations: 8.375 kB / 0.5599 GB, free: 1.957 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002771/0.1876, allocations: 77.72 kB / 0.56 GB, free: 1.875 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.376e-05/0.1876, allocations: 4 kB / 0.56 GB, free: 1.871 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.536e-05/0.1876, allocations: 0 / 0.56 GB, free: 1.871 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.1876, allocations: 0 / 0.56 GB, free: 1.871 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001556/0.1878, allocations: 39.97 kB / 0.5601 GB, free: 1.832 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007901/0.1886, allocations: 324.8 kB / 0.5604 GB, free: 1.465 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004264/0.189, allocations: 90.56 kB / 0.5605 GB, free: 1.367 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001059/0.1891, allocations: 28.84 kB / 0.5605 GB, free: 1.336 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.344e-05/0.1891, allocations: 0 / 0.5605 GB, free: 1.336 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002953/0.1894, allocations: 79.31 kB / 0.5606 GB, free: 1.246 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.843e-06/0.1894, allocations: 0 / 0.5606 GB, free: 1.246 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.00128/0.1907, allocations: 309.4 kB / 0.5609 GB, free: 0.9375 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.599e-05/0.1908, allocations: 55.41 kB / 0.5609 GB, free: 0.8711 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003066/0.1911, allocations: 194 kB / 0.5611 GB, free: 0.6719 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.391e-05/0.1911, allocations: 29.7 kB / 0.5611 GB, free: 0.6367 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001227/0.1912, allocations: 108.4 kB / 0.5612 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.955e-05/0.1913, allocations: 47.78 kB / 0.5613 GB, free: 492 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.099e-05/0.1914, allocations: 25.72 kB / 0.5613 GB, free: 460 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002948/0.1917, allocations: 338.8 kB / 0.5616 GB, free: 112 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001404/0.1918, allocations: 35.98 kB / 0.5617 GB, free: 76 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00015/0.192, allocations: 53.7 kB / 0.5617 GB, free: 16 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003064/0.1923, allocations: 97.08 kB / 0.5618 GB, free: 15.92 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.1923, allocations: 0 / 0.5618 GB, free: 15.92 MB / 430.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004784/0.1928, allocations: 161.5 kB / 0.5619 GB, free: 15.75 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.82e-05/0.1928, allocations: 8.031 kB / 0.562 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.1928, allocations: 0 / 0.562 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.433e-05/0.1928, allocations: 4 kB / 0.562 GB, free: 15.74 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001384/0.193, allocations: 23.98 kB / 0.562 GB, free: 15.72 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.025e-05/0.193, allocations: 0 / 0.562 GB, free: 15.72 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.619e-05/0.193, allocations: 11.88 kB / 0.562 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.004e-05/0.1931, allocations: 11.88 kB / 0.562 GB, free: 15.7 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 (15): * Single equations (assignments): 15 * 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.000214/0.1933, allocations: 131.8 kB / 0.5621 GB, free: 15.56 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.656e-05/0.1933, allocations: 15.91 kB / 0.5621 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.686e-05/0.1934, allocations: 21.53 kB / 0.5622 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.1934, allocations: 0 / 0.5622 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.227e-06/0.1934, allocations: 0 / 0.5622 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.629e-05/0.1934, allocations: 7.922 kB / 0.5622 GB, free: 15.51 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008862/0.1943, allocations: 484.1 kB / 0.5626 GB, free: 14.98 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.1943, allocations: 3.938 kB / 0.5626 GB, free: 14.97 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.732e-05/0.1944, allocations: 19.92 kB / 0.5627 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.566e-06/0.1944, allocations: 8.062 kB / 0.5627 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.201e-05/0.1944, allocations: 4 kB / 0.5627 GB, free: 14.94 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.1945, allocations: 0 / 0.5627 GB, free: 14.94 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/0.1945, allocations: 4.562 kB / 0.5627 GB, free: 14.94 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004216/0.1949, allocations: 249.1 kB / 0.5629 GB, free: 14.67 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.896e-05/0.195, allocations: 92.95 kB / 0.563 GB, free: 14.56 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.672e-05/0.195, allocations: 19.92 kB / 0.563 GB, free: 14.54 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000121/0.1951, allocations: 0 / 0.563 GB, free: 14.54 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.745e-05/0.1952, allocations: 11.98 kB / 0.563 GB, free: 14.53 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.818e-05/0.1952, allocations: 11.94 kB / 0.563 GB, free: 14.52 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002107/0.1954, allocations: 148.8 kB / 0.5632 GB, free: 14.38 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1954, allocations: 0 / 0.5632 GB, free: 14.38 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004982/0.1959, allocations: 27.94 kB / 0.5632 GB, free: 14.35 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 (13): * Single equations (assignments): 11 * 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.003507/0.1994, allocations: 1.202 MB / 0.5644 GB, free: 13.32 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003779/0.1998, allocations: 91.89 kB / 0.5645 GB, free: 13.23 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.1998, allocations: 0 / 0.5645 GB, free: 13.23 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001658/0.2, allocations: 51.98 kB / 0.5645 GB, free: 13.18 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000573/0.2005, allocations: 28.98 kB / 0.5646 GB, free: 13.15 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003396/0.2039, allocations: 1.874 MB / 0.5664 GB, free: 11.18 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005168/0.2045, allocations: 0.7123 MB / 0.5671 GB, free: 10.43 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000146/0.2046, allocations: 33.39 kB / 0.5671 GB, free: 10.4 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001322/0.2047, allocations: 51.36 kB / 0.5672 GB, free: 10.35 MB / 430.1 MB Notification: Performance of SimCode: time 9.72e-07/0.2047, allocations: 0 / 0.5672 GB, free: 10.35 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03027/0.235, allocations: 4.089 MB / 0.5712 GB, free: 6.332 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.149/8.384, allocations: 8.984 kB / 0.5712 GB, free: 6.328 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test76.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test76_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test76.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.48890763008967] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 't_new.y[2]', 't_new.y[3]', 'd_t_new.y', 'd2_t_new.y'] 8.508293651044369 8.534755494 8.344187592 Calling exit ...