Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001294/0.001294, allocations: 120.1 kB / 18.49 MB, free: 4.562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00134/0.00134, allocations: 215 kB / 21.45 MB, free: 1.617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.498/1.498, allocations: 230.6 MB / 254.8 MB, free: 15.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.226/0.226, allocations: 46.92 MB / 357.8 MB, free: 10.35 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+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test64,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test64",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test64,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test64",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001982/0.001982, allocations: 59.91 kB / 0.4917 GB, free: 7.938 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1764/0.1783, allocations: 66 MB / 0.5561 GB, free: 5.809 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test64): time 0.005584/0.1839, allocations: 1.683 MB / 0.5578 GB, free: 4.113 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002819/0.1867, allocations: 1.023 MB / 0.5588 GB, free: 3.086 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001504/0.1869, allocations: 0 / 0.5588 GB, free: 3.086 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004516/0.1874, allocations: 55.75 kB / 0.5588 GB, free: 3.031 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005396/0.1879, allocations: 103.5 kB / 0.5589 GB, free: 2.93 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003106/0.1882, allocations: 75.69 kB / 0.559 GB, free: 2.855 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000321/0.1885, allocations: 95.75 kB / 0.5591 GB, free: 2.762 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.311e-05/0.1886, allocations: 8.172 kB / 0.5591 GB, free: 2.754 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001683/0.1888, allocations: 51.7 kB / 0.5592 GB, free: 2.703 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000138/0.1889, allocations: 31.8 kB / 0.5592 GB, free: 2.672 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.582e-05/0.1889, allocations: 0 / 0.5592 GB, free: 2.672 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000136/0.1891, allocations: 35.97 kB / 0.5592 GB, free: 2.637 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.726e-05/0.1891, allocations: 19.92 kB / 0.5592 GB, free: 2.617 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001009/0.1892, allocations: 39.69 kB / 0.5593 GB, free: 2.578 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003688/0.1896, allocations: 123.4 kB / 0.5594 GB, free: 2.457 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.1896, allocations: 0 / 0.5594 GB, free: 2.457 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1896, allocations: 7.938 kB / 0.5594 GB, free: 2.449 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.571e-05/0.1896, allocations: 0 / 0.5594 GB, free: 2.449 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0009552/0.1906, allocations: 446.5 kB / 0.5598 GB, free: 1.965 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.655e-05/0.1906, allocations: 8.031 kB / 0.5598 GB, free: 1.957 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.065e-05/0.1907, allocations: 192 / 0.5598 GB, free: 1.957 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.528e-05/0.1907, allocations: 38.75 kB / 0.5599 GB, free: 1.91 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.665e-05/0.1908, allocations: 8.891 kB / 0.5599 GB, free: 1.902 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000517/0.1913, allocations: 225 kB / 0.5601 GB, free: 1.641 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.275e-05/0.1913, allocations: 8.125 kB / 0.5601 GB, free: 1.633 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.306e-05/0.1913, allocations: 3.984 kB / 0.5601 GB, free: 1.629 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002085/0.1915, allocations: 57.61 kB / 0.5602 GB, free: 1.566 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.1916, allocations: 0 / 0.5602 GB, free: 1.566 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.993e-05/0.1916, allocations: 4 kB / 0.5602 GB, free: 1.562 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.169e-06/0.1916, allocations: 0 / 0.5602 GB, free: 1.562 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001037/0.1917, allocations: 15.98 kB / 0.5602 GB, free: 1.547 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003279/0.192, allocations: 189.7 kB / 0.5604 GB, free: 1.312 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002534/0.1923, allocations: 58.56 kB / 0.5604 GB, free: 1.246 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.844e-05/0.1924, allocations: 12.84 kB / 0.5604 GB, free: 1.23 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.423e-05/0.1924, allocations: 4 kB / 0.5604 GB, free: 1.227 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001781/0.1926, allocations: 67.33 kB / 0.5605 GB, free: 1.148 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.382e-06/0.1926, allocations: 0 / 0.5605 GB, free: 1.148 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004506/0.193, allocations: 101.6 kB / 0.5606 GB, free: 1.043 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.684e-05/0.1931, allocations: 51.41 kB / 0.5606 GB, free: 0.9805 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004517/0.1935, allocations: 270.8 kB / 0.5609 GB, free: 0.7031 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.63e-05/0.1935, allocations: 25.7 kB / 0.5609 GB, free: 0.6719 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001333/0.1937, allocations: 116.1 kB / 0.561 GB, free: 0.5547 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.525e-05/0.1937, allocations: 15.89 kB / 0.5611 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.977e-05/0.1938, allocations: 17.72 kB / 0.5611 GB, free: 0.5156 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001786/0.194, allocations: 334.8 kB / 0.5614 GB, free: 184 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.445e-05/0.194, allocations: 15.98 kB / 0.5614 GB, free: 168 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001063/0.1942, allocations: 41.61 kB / 0.5614 GB, free: 120 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000161/0.1943, allocations: 41.66 kB / 0.5615 GB, free: 72 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.1943, allocations: 0 / 0.5615 GB, free: 72 kB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000292/0.1946, allocations: 93.45 kB / 0.5616 GB, free: 15.97 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/0.1946, allocations: 8.031 kB / 0.5616 GB, free: 15.96 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.1946, allocations: 4 kB / 0.5616 GB, free: 15.96 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.003e-05/0.1947, allocations: 0 / 0.5616 GB, free: 15.96 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001254/0.1948, allocations: 8 kB / 0.5616 GB, free: 15.95 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.427e-06/0.1948, allocations: 0 / 0.5616 GB, free: 15.95 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.424e-05/0.1949, allocations: 19.88 kB / 0.5616 GB, free: 15.93 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.084e-06/0.1949, allocations: 0 / 0.5616 GB, free: 15.93 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 (7): * Single equations (assignments): 7 * 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.0001406/0.195, allocations: 139.9 kB / 0.5617 GB, free: 15.79 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.197e-05/0.1951, allocations: 15.91 kB / 0.5618 GB, free: 15.77 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.402e-05/0.1951, allocations: 21.31 kB / 0.5618 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.1951, allocations: 0 / 0.5618 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.1951, allocations: 0 / 0.5618 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.177e-06/0.1951, allocations: 7.984 kB / 0.5618 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000228/0.1953, allocations: 201.6 kB / 0.562 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.1953, allocations: 0 / 0.562 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.896e-05/0.1954, allocations: 0 / 0.562 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.786e-06/0.1954, allocations: 4 kB / 0.562 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-06/0.1954, allocations: 0 / 0.562 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.1954, allocations: 0 / 0.562 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.1954, allocations: 0 / 0.562 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003107/0.1957, allocations: 121 kB / 0.5621 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.599e-05/0.1958, allocations: 89.02 kB / 0.5622 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.298e-05/0.1958, allocations: 0 / 0.5622 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.754e-05/0.1959, allocations: 7.984 kB / 0.5622 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.767e-05/0.1959, allocations: 11.92 kB / 0.5622 GB, free: 15.23 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.688e-05/0.196, allocations: 0 / 0.5622 GB, free: 15.23 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002947/0.1962, allocations: 204.6 kB / 0.5624 GB, free: 15.04 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1962, allocations: 4 kB / 0.5624 GB, free: 15.03 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003617/0.1966, allocations: 16 kB / 0.5624 GB, free: 15.02 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.002622/0.1992, allocations: 0.9541 MB / 0.5633 GB, free: 14.19 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002314/0.1995, allocations: 39.92 kB / 0.5634 GB, free: 14.15 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.1995, allocations: 4.062 kB / 0.5634 GB, free: 14.15 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.828e-05/0.1996, allocations: 19.98 kB / 0.5634 GB, free: 14.13 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003946/0.1999, allocations: 29.8 kB / 0.5634 GB, free: 14.11 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002901/0.2028, allocations: 1.686 MB / 0.5651 GB, free: 12.33 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005112/0.2034, allocations: 0.7158 MB / 0.5658 GB, free: 11.59 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.776e-05/0.2034, allocations: 12.55 kB / 0.5658 GB, free: 11.57 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001017/0.2035, allocations: 39.42 kB / 0.5658 GB, free: 11.54 MB / 430.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2035, allocations: 0 / 0.5658 GB, free: 11.54 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02764/0.2312, allocations: 3.562 MB / 0.5693 GB, free: 8.051 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.358/8.589, allocations: 9 kB / 0.5693 GB, free: 8.043 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test64_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000499301 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test64.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.725768604956102] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]'] 8.774199967039749 8.798894635 8.60454933 Calling exit ...