Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test54.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.001279/0.001279, allocations: 120 kB / 18.5 MB, free: 4.52 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.001374/0.001374, allocations: 213.6 kB / 21.46 MB, free: 1.566 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.496/1.496, allocations: 230.4 MB / 254.7 MB, free: 15.2 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.2726/0.2726, allocations: 46.92 MB / 357.7 MB, free: 10.24 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.Test54,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test54",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test54,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test54",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.002766/0.002766, allocations: 79.86 kB / 0.4918 GB, free: 7.695 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.18/0.1827, allocations: 66.05 MB / 0.5562 GB, free: 5.516 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test54): time 0.003503/0.1862, allocations: 1.725 MB / 0.5579 GB, free: 3.773 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001769/0.188, allocations: 1.034 MB / 0.5589 GB, free: 2.734 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.853e-05/0.1881, allocations: 4 kB / 0.5589 GB, free: 2.73 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003115/0.1884, allocations: 51.75 kB / 0.559 GB, free: 2.68 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003191/0.1887, allocations: 103.5 kB / 0.5591 GB, free: 2.578 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002309/0.1889, allocations: 75.72 kB / 0.5592 GB, free: 2.504 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001871/0.1891, allocations: 107.6 kB / 0.5593 GB, free: 2.398 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.1892, allocations: 12 kB / 0.5593 GB, free: 2.387 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.397e-05/0.1893, allocations: 47.77 kB / 0.5593 GB, free: 2.34 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.249e-05/0.1894, allocations: 31.86 kB / 0.5594 GB, free: 2.309 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.659e-05/0.1894, allocations: 4 kB / 0.5594 GB, free: 2.305 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.813e-05/0.1895, allocations: 43.98 kB / 0.5594 GB, free: 2.262 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.274e-05/0.1896, allocations: 35.78 kB / 0.5594 GB, free: 2.227 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.383e-05/0.1897, allocations: 35.75 kB / 0.5595 GB, free: 2.191 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002262/0.1899, allocations: 123.4 kB / 0.5596 GB, free: 2.07 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.1899, allocations: 0 / 0.5596 GB, free: 2.07 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1899, allocations: 4 kB / 0.5596 GB, free: 2.066 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.7e-06/0.1899, allocations: 0 / 0.5596 GB, free: 2.066 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005795/0.1905, allocations: 438.5 kB / 0.56 GB, free: 1.59 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.1905, allocations: 11.97 kB / 0.56 GB, free: 1.578 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.346e-05/0.1905, allocations: 42.73 kB / 0.5601 GB, free: 1.527 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.667e-05/0.1906, allocations: 12.89 kB / 0.5601 GB, free: 1.516 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003364/0.1909, allocations: 225.4 kB / 0.5603 GB, free: 1.254 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.432e-05/0.1909, allocations: 4.375 kB / 0.5603 GB, free: 1.25 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.95e-05/0.191, allocations: 4.375 kB / 0.5603 GB, free: 1.246 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001542/0.1911, allocations: 57.8 kB / 0.5604 GB, free: 1.184 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.1911, allocations: 0 / 0.5604 GB, free: 1.184 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/0.1911, allocations: 0 / 0.5604 GB, free: 1.184 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-06/0.1911, allocations: 0 / 0.5604 GB, free: 1.184 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.492e-05/0.1912, allocations: 19.98 kB / 0.5604 GB, free: 1.164 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004144/0.1916, allocations: 300.8 kB / 0.5607 GB, free: 0.8203 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000174/0.1918, allocations: 50.67 kB / 0.5607 GB, free: 0.7617 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.749e-05/0.1919, allocations: 20.84 kB / 0.5607 GB, free: 0.7383 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.958e-05/0.1919, allocations: 3.984 kB / 0.5607 GB, free: 0.7344 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001689/0.1921, allocations: 71.39 kB / 0.5608 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.332e-06/0.1921, allocations: 0 / 0.5608 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.000624/0.1927, allocations: 185.6 kB / 0.561 GB, free: 476 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.182e-05/0.1927, allocations: 55.41 kB / 0.561 GB, free: 408 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002537/0.193, allocations: 238 kB / 0.5613 GB, free: 160 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.11e-05/0.193, allocations: 29.7 kB / 0.5613 GB, free: 124 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.638e-05/0.1931, allocations: 112.1 kB / 0.5614 GB, free: 8 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.096e-05/0.1931, allocations: 24.05 kB / 0.5614 GB, free: 15.98 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.769e-05/0.1932, allocations: 25.7 kB / 0.5614 GB, free: 15.95 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.1933, allocations: 330.6 kB / 0.5618 GB, free: 15.62 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.889e-05/0.1934, allocations: 16.05 kB / 0.5618 GB, free: 15.61 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.202e-05/0.1935, allocations: 41.7 kB / 0.5618 GB, free: 15.56 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001241/0.1936, allocations: 53.72 kB / 0.5619 GB, free: 15.5 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.1936, allocations: 4 kB / 0.5619 GB, free: 15.5 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001942/0.1938, allocations: 109.5 kB / 0.562 GB, free: 15.38 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.1938, allocations: 4 kB / 0.562 GB, free: 15.38 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.1938, allocations: 4 kB / 0.562 GB, free: 15.38 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.1938, allocations: 0 / 0.562 GB, free: 15.38 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.021e-05/0.1939, allocations: 19.88 kB / 0.562 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.585e-06/0.1939, allocations: 3.984 kB / 0.562 GB, free: 15.35 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.531e-05/0.194, allocations: 4 kB / 0.562 GB, free: 15.35 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.12e-05/0.194, allocations: 8.125 kB / 0.562 GB, free: 15.34 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 (10): * Single equations (assignments): 10 * 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.0001223/0.1941, allocations: 139.2 kB / 0.5621 GB, free: 15.2 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.41e-05/0.1941, allocations: 15.84 kB / 0.5622 GB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.774e-05/0.1942, allocations: 17.41 kB / 0.5622 GB, free: 15.16 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.1942, allocations: 0 / 0.5622 GB, free: 15.16 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.1942, allocations: 0 / 0.5622 GB, free: 15.16 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.1942, allocations: 3.984 kB / 0.5622 GB, free: 15.15 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004903/0.1947, allocations: 403.3 kB / 0.5626 GB, free: 14.7 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1947, allocations: 4.031 kB / 0.5626 GB, free: 14.7 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.387e-05/0.1947, allocations: 11.98 kB / 0.5626 GB, free: 14.68 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.1947, allocations: 0 / 0.5626 GB, free: 14.68 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.421e-05/0.1947, allocations: 7.938 kB / 0.5626 GB, free: 14.68 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.1947, allocations: 0 / 0.5626 GB, free: 14.68 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.1947, allocations: 0 / 0.5626 GB, free: 14.68 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002554/0.195, allocations: 208.2 kB / 0.5628 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.512e-05/0.195, allocations: 93.02 kB / 0.5629 GB, free: 14.34 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.673e-05/0.1951, allocations: 11.92 kB / 0.5629 GB, free: 14.33 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.721e-05/0.1951, allocations: 0 / 0.5629 GB, free: 14.33 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.663e-05/0.1952, allocations: 8 kB / 0.5629 GB, free: 14.32 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.538e-05/0.1952, allocations: 4 kB / 0.5629 GB, free: 14.32 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000156/0.1953, allocations: 172.4 kB / 0.5631 GB, free: 14.15 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1953, allocations: 0 / 0.5631 GB, free: 14.15 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002699/0.1956, allocations: 31.92 kB / 0.5631 GB, free: 14.12 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 (8): * Single equations (assignments): 6 * 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.002183/0.1978, allocations: 1.107 MB / 0.5642 GB, free: 13.15 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001819/0.198, allocations: 55.91 kB / 0.5642 GB, free: 13.1 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.198, allocations: 0 / 0.5642 GB, free: 13.1 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.248e-05/0.198, allocations: 20 kB / 0.5642 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.0003538/0.1984, allocations: 31.72 kB / 0.5643 GB, free: 13.05 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002008/0.2004, allocations: 1.754 MB / 0.566 GB, free: 11.2 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003359/0.2007, allocations: 0.7119 MB / 0.5667 GB, free: 10.46 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.312e-05/0.2008, allocations: 13.2 kB / 0.5667 GB, free: 10.45 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.323e-05/0.2009, allocations: 43.41 kB / 0.5667 GB, free: 10.4 MB / 430.1 MB Notification: Performance of SimCode: time 4.51e-07/0.2009, allocations: 4 kB / 0.5667 GB, free: 10.4 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02509/0.226, allocations: 3.645 MB / 0.5703 GB, free: 6.82 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.02/8.246, allocations: 14.03 kB / 0.5703 GB, free: 6.809 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test54.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test54_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000499301 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test54.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.479110730811954] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.372143258806318 8.397344719 8.202483198 Calling exit ...