Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test35.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.001556/0.001556, allocations: 118.6 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.001842/0.001842, 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.553/1.553, allocations: 230.2 MB / 254.5 MB, free: 15.25 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.2685/0.2685, allocations: 46.89 MB / 357.4 MB, free: 10.52 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.Test35,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test35",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test35,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test35",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.002267/0.002267, allocations: 83.86 kB / 0.4913 GB, free: 8.445 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1817/0.184, allocations: 65.98 MB / 0.5558 GB, free: 6.332 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.004433/0.1884, allocations: 1.758 MB / 0.5575 GB, free: 4.559 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002435/0.1908, allocations: 1.032 MB / 0.5585 GB, free: 3.52 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001075/0.1909, allocations: 7.938 kB / 0.5585 GB, free: 3.512 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004318/0.1914, allocations: 95.67 kB / 0.5586 GB, free: 3.418 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000432/0.1918, allocations: 115.6 kB / 0.5587 GB, free: 3.305 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002559/0.192, allocations: 79.67 kB / 0.5588 GB, free: 3.227 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002485/0.1923, allocations: 123.7 kB / 0.5589 GB, free: 3.105 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001312/0.1924, allocations: 15.98 kB / 0.5589 GB, free: 3.09 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001356/0.1926, allocations: 59.75 kB / 0.559 GB, free: 3.031 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001543/0.1927, allocations: 75.67 kB / 0.559 GB, free: 2.957 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.065e-05/0.1927, allocations: 4 kB / 0.559 GB, free: 2.953 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000167/0.1929, allocations: 63.98 kB / 0.5591 GB, free: 2.891 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.834e-05/0.193, allocations: 23.91 kB / 0.5591 GB, free: 2.867 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.432e-05/0.193, allocations: 51.61 kB / 0.5592 GB, free: 2.816 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003095/0.1934, allocations: 131.4 kB / 0.5593 GB, free: 2.688 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.239e-05/0.1934, allocations: 4 kB / 0.5593 GB, free: 2.684 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.1934, allocations: 0 / 0.5593 GB, free: 2.684 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.162e-05/0.1934, allocations: 0 / 0.5593 GB, free: 2.684 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000763/0.1941, allocations: 446.4 kB / 0.5597 GB, free: 2.199 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5e-05/0.1942, allocations: 8.031 kB / 0.5597 GB, free: 2.191 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.235e-05/0.1942, allocations: 46.73 kB / 0.5598 GB, free: 2.137 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.195e-05/0.1943, allocations: 20.78 kB / 0.5598 GB, free: 2.117 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004085/0.1947, allocations: 216.9 kB / 0.56 GB, free: 1.863 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.404e-05/0.1947, allocations: 8.375 kB / 0.56 GB, free: 1.855 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.768e-05/0.1948, allocations: 384 / 0.56 GB, free: 1.855 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002054/0.195, allocations: 65.73 kB / 0.5601 GB, free: 1.785 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.58e-05/0.195, allocations: 0 / 0.5601 GB, free: 1.785 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.374e-05/0.195, allocations: 0 / 0.5601 GB, free: 1.785 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.621e-05/0.195, allocations: 7.984 kB / 0.5601 GB, free: 1.777 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001029/0.1951, allocations: 27.98 kB / 0.5601 GB, free: 1.75 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005501/0.1957, allocations: 304.7 kB / 0.5604 GB, free: 1.402 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003238/0.196, allocations: 58.48 kB / 0.5605 GB, free: 1.336 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.451e-05/0.1961, allocations: 16.98 kB / 0.5605 GB, free: 1.316 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.076e-05/0.1961, allocations: 4 kB / 0.5605 GB, free: 1.312 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002131/0.1963, allocations: 71.38 kB / 0.5605 GB, free: 1.23 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.683e-06/0.1963, allocations: 4 kB / 0.5605 GB, free: 1.227 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0009896/0.1973, allocations: 237.3 kB / 0.5608 GB, free: 0.9883 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.742e-05/0.1974, allocations: 51.41 kB / 0.5608 GB, free: 0.9258 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003318/0.1977, allocations: 246 kB / 0.5611 GB, free: 0.6758 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.562e-05/0.1977, allocations: 25.7 kB / 0.5611 GB, free: 0.6445 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001125/0.1978, allocations: 120.1 kB / 0.5612 GB, free: 0.5234 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.834e-05/0.1979, allocations: 27.75 kB / 0.5612 GB, free: 0.4961 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.248e-05/0.1979, allocations: 33.64 kB / 0.5613 GB, free: 468 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002141/0.1982, allocations: 322.8 kB / 0.5616 GB, free: 136 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001086/0.1983, allocations: 35.92 kB / 0.5616 GB, free: 100 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001096/0.1984, allocations: 45.7 kB / 0.5616 GB, free: 48 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002114/0.1986, allocations: 77.75 kB / 0.5617 GB, free: 15.96 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.1986, allocations: 0 / 0.5617 GB, free: 15.96 MB / 430.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003099/0.1989, allocations: 133.5 kB / 0.5618 GB, free: 15.83 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/0.1989, allocations: 4 kB / 0.5618 GB, free: 15.82 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.1989, allocations: 0 / 0.5618 GB, free: 15.82 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.076e-05/0.1989, allocations: 0 / 0.5618 GB, free: 15.82 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001184/0.1991, allocations: 27.98 kB / 0.5619 GB, free: 15.8 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.214e-06/0.1991, allocations: 3.938 kB / 0.5619 GB, free: 15.79 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.946e-05/0.1991, allocations: 11.88 kB / 0.5619 GB, free: 15.78 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.033e-05/0.1991, allocations: 11.91 kB / 0.5619 GB, free: 15.77 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 (13): * Single equations (assignments): 13 * 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.000163/0.1993, allocations: 133.8 kB / 0.562 GB, free: 15.63 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.496e-05/0.1993, allocations: 11.91 kB / 0.562 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.472e-05/0.1994, allocations: 26.09 kB / 0.5621 GB, free: 15.59 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.1994, allocations: 4 kB / 0.5621 GB, free: 15.58 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.1994, allocations: 0 / 0.5621 GB, free: 15.58 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.032e-05/0.1994, allocations: 7.938 kB / 0.5621 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007269/0.2002, allocations: 456 kB / 0.5625 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.2002, allocations: 7.984 kB / 0.5625 GB, free: 15.06 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.582e-05/0.2002, allocations: 15.94 kB / 0.5625 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.2002, allocations: 0 / 0.5625 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.47e-05/0.2003, allocations: 4 kB / 0.5625 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.801e-06/0.2003, allocations: 3.984 kB / 0.5625 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.2003, allocations: 0 / 0.5625 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003858/0.2006, allocations: 237.1 kB / 0.5628 GB, free: 14.78 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.076e-05/0.2007, allocations: 92.95 kB / 0.5629 GB, free: 14.67 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.806e-05/0.2008, allocations: 7.984 kB / 0.5629 GB, free: 14.66 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00011/0.2009, allocations: 4 kB / 0.5629 GB, free: 14.66 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.622e-05/0.2009, allocations: 11.98 kB / 0.5629 GB, free: 14.65 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.127e-05/0.201, allocations: 4 kB / 0.5629 GB, free: 14.64 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002095/0.2012, allocations: 172.4 kB / 0.563 GB, free: 14.48 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2012, allocations: 0 / 0.563 GB, free: 14.48 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000437/0.2016, allocations: 35.92 kB / 0.5631 GB, free: 14.44 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 (11): * Single equations (assignments): 9 * 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.003064/0.2047, allocations: 1.175 MB / 0.5642 GB, free: 13.44 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000305/0.205, allocations: 75.91 kB / 0.5643 GB, free: 13.36 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.205, allocations: 0 / 0.5643 GB, free: 13.36 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001141/0.2051, allocations: 35.92 kB / 0.5643 GB, free: 13.33 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005299/0.2056, allocations: 30.41 kB / 0.5644 GB, free: 13.3 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002899/0.2085, allocations: 1.86 MB / 0.5662 GB, free: 11.34 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004404/0.209, allocations: 0.7199 MB / 0.5669 GB, free: 10.6 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 9.514e-05/0.2091, allocations: 20.64 kB / 0.5669 GB, free: 10.57 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001076/0.2092, allocations: 47.41 kB / 0.5669 GB, free: 10.53 MB / 430.1 MB Notification: Performance of SimCode: time 5.62e-07/0.2092, allocations: 0 / 0.5669 GB, free: 10.53 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03111/0.2403, allocations: 3.978 MB / 0.5708 GB, free: 6.617 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.086/8.327, allocations: 6.109 kB / 0.5708 GB, free: 6.613 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test35.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test35_fmu --startTime=0 --stopTime=3 --stepSize=0.00059976 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test35.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.525314409751445] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'd2_t_new.y'] 8.449101991951466 8.463788959 8.267460205 Calling exit ...