Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test19.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.001441/0.001441, allocations: 121 kB / 18.5 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.002314/0.002314, allocations: 213.5 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.561/1.561, allocations: 230.6 MB / 254.8 MB, free: 15.25 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.2399/0.2399, allocations: 46.92 MB / 357.8 MB, free: 10.32 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.Test19,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test19",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test19,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test19",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002213/0.002213, allocations: 75.89 kB / 0.4917 GB, free: 7.863 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.159/0.1612, allocations: 65.98 MB / 0.5561 GB, free: 5.754 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test19): time 0.004237/0.1655, allocations: 1.733 MB / 0.5578 GB, free: 4.008 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002011/0.1675, allocations: 1.034 MB / 0.5588 GB, free: 2.969 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001138/0.1676, allocations: 4 kB / 0.5588 GB, free: 2.965 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003475/0.1679, allocations: 43.77 kB / 0.5589 GB, free: 2.922 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004166/0.1683, allocations: 95.53 kB / 0.559 GB, free: 2.828 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000283/0.1686, allocations: 75.73 kB / 0.5591 GB, free: 2.754 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002544/0.1689, allocations: 111.6 kB / 0.5592 GB, free: 2.645 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001464/0.169, allocations: 12 kB / 0.5592 GB, free: 2.633 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001452/0.1692, allocations: 47.78 kB / 0.5592 GB, free: 2.586 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.811e-05/0.1693, allocations: 27.84 kB / 0.5592 GB, free: 2.559 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.093e-05/0.1693, allocations: 4 kB / 0.5592 GB, free: 2.555 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001394/0.1694, allocations: 47.92 kB / 0.5593 GB, free: 2.508 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.814e-05/0.1695, allocations: 27.91 kB / 0.5593 GB, free: 2.48 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.106e-05/0.1696, allocations: 31.75 kB / 0.5594 GB, free: 2.449 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002956/0.1699, allocations: 119.4 kB / 0.5595 GB, free: 2.332 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.1699, allocations: 4 kB / 0.5595 GB, free: 2.328 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1699, allocations: 0 / 0.5595 GB, free: 2.328 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.324e-06/0.1699, allocations: 4 kB / 0.5595 GB, free: 2.324 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.0007205/0.1706, allocations: 422.6 kB / 0.5599 GB, free: 1.863 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.894e-05/0.1707, allocations: 12.03 kB / 0.5599 GB, free: 1.852 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.691e-05/0.1707, allocations: 192 / 0.5599 GB, free: 1.852 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.36e-05/0.1707, allocations: 38.69 kB / 0.5599 GB, free: 1.805 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.264e-05/0.1708, allocations: 8.891 kB / 0.5599 GB, free: 1.797 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003932/0.1712, allocations: 223.2 kB / 0.5601 GB, free: 1.543 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.931e-05/0.1712, allocations: 8.125 kB / 0.5602 GB, free: 1.535 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.421e-05/0.1712, allocations: 4 kB / 0.5602 GB, free: 1.531 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001795/0.1714, allocations: 53.67 kB / 0.5602 GB, free: 1.473 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.599e-05/0.1714, allocations: 0 / 0.5602 GB, free: 1.473 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.425e-05/0.1714, allocations: 4 kB / 0.5602 GB, free: 1.469 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.1714, allocations: 0 / 0.5602 GB, free: 1.469 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.693e-05/0.1715, allocations: 23.92 kB / 0.5602 GB, free: 1.445 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000473/0.172, allocations: 288.8 kB / 0.5605 GB, free: 1.113 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001923/0.1722, allocations: 58.67 kB / 0.5606 GB, free: 1.047 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.087e-05/0.1723, allocations: 16.84 kB / 0.5606 GB, free: 1.027 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.767e-05/0.1723, allocations: 8 kB / 0.5606 GB, free: 1.02 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001806/0.1725, allocations: 67.33 kB / 0.5607 GB, free: 0.9414 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 3.467e-06/0.1725, allocations: 4 kB / 0.5607 GB, free: 0.9375 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006642/0.1731, allocations: 177.3 kB / 0.5608 GB, free: 0.7578 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.374e-05/0.1732, allocations: 55.41 kB / 0.5609 GB, free: 0.6914 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002219/0.1734, allocations: 194.3 kB / 0.5611 GB, free: 0.4922 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.482e-05/0.1734, allocations: 33.7 kB / 0.5611 GB, free: 464 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.585e-05/0.1735, allocations: 96.14 kB / 0.5612 GB, free: 364 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.052e-05/0.1735, allocations: 27.78 kB / 0.5612 GB, free: 336 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.868e-05/0.1736, allocations: 21.72 kB / 0.5612 GB, free: 308 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001786/0.1738, allocations: 330.8 kB / 0.5616 GB, free: 15.97 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.169e-05/0.1738, allocations: 16 kB / 0.5616 GB, free: 15.95 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.332e-05/0.1739, allocations: 37.7 kB / 0.5616 GB, free: 15.91 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001283/0.174, allocations: 65.62 kB / 0.5617 GB, free: 15.84 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.174, allocations: 0 / 0.5617 GB, free: 15.84 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002138/0.1743, allocations: 97.67 kB / 0.5618 GB, free: 15.74 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.1743, allocations: 8.031 kB / 0.5618 GB, free: 15.73 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.1743, allocations: 80 / 0.5618 GB, free: 15.73 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.1743, allocations: 0 / 0.5618 GB, free: 15.73 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000101/0.1744, allocations: 27.92 kB / 0.5618 GB, free: 15.7 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.224e-05/0.1744, allocations: 8.109 kB / 0.5618 GB, free: 15.7 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.609e-05/0.1744, allocations: 0 / 0.5618 GB, free: 15.7 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.107e-06/0.1745, allocations: 7.938 kB / 0.5618 GB, free: 15.69 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.000123/0.1746, allocations: 128 kB / 0.5619 GB, free: 15.55 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.913e-05/0.1746, allocations: 15.91 kB / 0.5619 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.036e-05/0.1747, allocations: 21.39 kB / 0.562 GB, free: 15.51 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.1747, allocations: 0 / 0.562 GB, free: 15.51 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.1747, allocations: 3.938 kB / 0.562 GB, free: 15.51 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.1747, allocations: 4 kB / 0.562 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000497/0.1752, allocations: 387.3 kB / 0.5623 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.1752, allocations: 4 kB / 0.5623 GB, free: 15.06 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.661e-05/0.1752, allocations: 11.92 kB / 0.5624 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.632e-06/0.1752, allocations: 7.938 kB / 0.5624 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.817e-06/0.1752, allocations: 4.031 kB / 0.5624 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.1752, allocations: 3.938 kB / 0.5624 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.105e-06/0.1752, allocations: 4 kB / 0.5624 GB, free: 15.03 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002961/0.1755, allocations: 196.7 kB / 0.5626 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.946e-05/0.1756, allocations: 88.95 kB / 0.5626 GB, free: 14.71 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.681e-05/0.1756, allocations: 7.984 kB / 0.5627 GB, free: 14.71 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.496e-05/0.1757, allocations: 12 kB / 0.5627 GB, free: 14.7 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.583e-05/0.1757, allocations: 7.984 kB / 0.5627 GB, free: 14.69 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.567e-05/0.1757, allocations: 4 kB / 0.5627 GB, free: 14.68 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001425/0.1759, allocations: 148.2 kB / 0.5628 GB, free: 14.54 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1759, allocations: 0 / 0.5628 GB, free: 14.54 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002743/0.1762, allocations: 27.92 kB / 0.5628 GB, free: 14.51 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.002324/0.1785, allocations: 1.096 MB / 0.5639 GB, free: 13.58 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001991/0.1787, allocations: 63.84 kB / 0.564 GB, free: 13.52 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1787, allocations: 0 / 0.564 GB, free: 13.52 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.758e-05/0.1788, allocations: 32.08 kB / 0.564 GB, free: 13.48 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003665/0.1791, allocations: 31.06 kB / 0.564 GB, free: 13.46 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002139/0.1813, allocations: 1.67 MB / 0.5657 GB, free: 11.69 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003778/0.1816, allocations: 0.7002 MB / 0.5664 GB, free: 10.96 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.907e-05/0.1817, allocations: 16.88 kB / 0.5664 GB, free: 10.95 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.545e-05/0.1818, allocations: 35.42 kB / 0.5664 GB, free: 10.91 MB / 430.1 MB Notification: Performance of SimCode: time 7.42e-07/0.1818, allocations: 0 / 0.5664 GB, free: 10.91 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02133/0.2031, allocations: 3.517 MB / 0.5698 GB, free: 7.477 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.439/8.642, allocations: 8 kB / 0.5698 GB, free: 7.469 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test19.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test19_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test19.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.85363366396632] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.825990171986632 8.853629675 8.678863131 Calling exit ...