Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67.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.001259/0.001259, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.001445/0.001445, allocations: 214.1 kB / 24.52 MB, free: 3.941 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.506/1.506, allocations: 230.6 MB / 258.3 MB, free: 7.785 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.2523/0.2523, allocations: 46.96 MB / 361.7 MB, free: 4.027 MB / 286.1 MB " [Timeout remaining time 179] 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.Test67,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test67",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test67,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test67",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001964/0.001964, allocations: 63.91 kB / 0.4969 GB, free: 7.652 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4193/0.4212, allocations: 66.03 MB / 0.5614 GB, free: 4.191 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.004154/0.4254, allocations: 2.242 MB / 0.5636 GB, free: 1.934 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002451/0.4278, allocations: 1.339 MB / 0.5649 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001337/0.428, allocations: 7.938 kB / 0.5649 GB, free: 0.582 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005688/0.4285, allocations: 287 kB / 0.5652 GB, free: 308 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007146/0.4293, allocations: 342.6 kB / 0.5655 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004767/0.4297, allocations: 227.5 kB / 0.5657 GB, free: 15.74 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006795/0.4304, allocations: 0.5685 MB / 0.5663 GB, free: 15.17 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000147/0.4306, allocations: 39.11 kB / 0.5663 GB, free: 15.13 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002801/0.4308, allocations: 239 kB / 0.5666 GB, free: 14.89 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003668/0.4312, allocations: 302.8 kB / 0.5668 GB, free: 14.6 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.978e-05/0.4313, allocations: 20 kB / 0.5669 GB, free: 14.58 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001371/0.4314, allocations: 55.98 kB / 0.5669 GB, free: 14.52 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001575/0.4316, allocations: 115.5 kB / 0.567 GB, free: 14.41 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001555/0.4317, allocations: 150.9 kB / 0.5672 GB, free: 14.26 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005036/0.4322, allocations: 437.8 kB / 0.5676 GB, free: 13.83 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.4322, allocations: 0 / 0.5676 GB, free: 13.83 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.4322, allocations: 0 / 0.5676 GB, free: 13.83 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.894e-06/0.4322, allocations: 0 / 0.5676 GB, free: 13.83 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001198/0.4334, allocations: 0.7339 MB / 0.5683 GB, free: 13.06 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/0.4335, allocations: 12.03 kB / 0.5683 GB, free: 13.05 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.95e-05/0.4335, allocations: 8.188 kB / 0.5683 GB, free: 13.04 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.49e-05/0.4336, allocations: 50.73 kB / 0.5684 GB, free: 12.98 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.857e-05/0.4337, allocations: 60.55 kB / 0.5684 GB, free: 12.93 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005783/0.4342, allocations: 353.1 kB / 0.5688 GB, free: 12.55 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.358e-05/0.4343, allocations: 12.12 kB / 0.5688 GB, free: 12.54 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.993e-05/0.4343, allocations: 15.98 kB / 0.5688 GB, free: 12.53 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004309/0.4347, allocations: 205.8 kB / 0.569 GB, free: 12.3 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.473e-05/0.4347, allocations: 0 / 0.569 GB, free: 12.3 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.167e-05/0.4348, allocations: 7.938 kB / 0.569 GB, free: 12.3 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.353e-06/0.4348, allocations: 8 kB / 0.569 GB, free: 12.29 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002874/0.4351, allocations: 111.8 kB / 0.5691 GB, free: 12.18 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009901/0.4361, allocations: 0.8206 MB / 0.5699 GB, free: 11.3 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006699/0.4367, allocations: 293.2 kB / 0.5702 GB, free: 10.97 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002202/0.4369, allocations: 100.2 kB / 0.5703 GB, free: 10.86 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.593e-05/0.437, allocations: 8 kB / 0.5703 GB, free: 10.85 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000459/0.4374, allocations: 231.5 kB / 0.5705 GB, free: 10.59 MB / 414.1 MB Notification: Performance of pre-optimization done (n=30): time 1.653e-06/0.4374, allocations: 0 / 0.5705 GB, free: 10.59 MB / 414.1 MB Notification: Performance of matching and sorting (n=40): time 0.002305/0.4397, allocations: 1.065 MB / 0.5716 GB, free: 9.52 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001239/0.4399, allocations: 166.2 kB / 0.5717 GB, free: 9.32 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008362/0.4407, allocations: 0.6787 MB / 0.5724 GB, free: 8.629 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.858e-05/0.4407, allocations: 37.7 kB / 0.5724 GB, free: 8.586 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001965/0.4409, allocations: 245 kB / 0.5726 GB, free: 8.344 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001178/0.441, allocations: 127 kB / 0.5728 GB, free: 8.219 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001126/0.4412, allocations: 70.14 kB / 0.5728 GB, free: 8.145 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001989/0.4414, allocations: 370.8 kB / 0.5732 GB, free: 7.773 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002539/0.4416, allocations: 108.8 kB / 0.5733 GB, free: 7.668 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003132/0.4419, allocations: 192.8 kB / 0.5735 GB, free: 7.453 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005612/0.4425, allocations: 308.8 kB / 0.5738 GB, free: 7.121 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.4425, allocations: 3.938 kB / 0.5738 GB, free: 7.117 MB / 414.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007878/0.4433, allocations: 421 kB / 0.5742 GB, free: 6.699 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.4433, allocations: 4 kB / 0.5742 GB, free: 6.695 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/0.4433, allocations: 4 kB / 0.5742 GB, free: 6.691 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.115e-05/0.4433, allocations: 4.375 kB / 0.5742 GB, free: 6.688 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000326/0.4437, allocations: 87.83 kB / 0.5743 GB, free: 6.602 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.042e-05/0.4437, allocations: 4 kB / 0.5743 GB, free: 6.598 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002066/0.4439, allocations: 27.98 kB / 0.5743 GB, free: 6.57 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.053e-05/0.4439, allocations: 16.16 kB / 0.5743 GB, free: 6.555 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($PRE.t_s.nextTimeEvent,$whenCondition5,t_s.nextTimeEventScaled,$PRE.t_s.nextTimeEventScaled,t_s.nextTimeEvent,$PRE.t_min.nextTimeEvent,$whenCondition4,t_min.nextTimeEventScaled,$PRE.t_min.nextTimeEventScaled,t_min.nextTimeEvent,$PRE.t_h.nextTimeEvent,$whenCondition3,t_h.nextTimeEventScaled,$PRE.t_h.nextTimeEventScaled,t_h.nextTimeEvent,$PRE.t_d.nextTimeEvent,$whenCondition2,t_d.nextTimeEventScaled,$PRE.t_d.nextTimeEventScaled,t_d.nextTimeEvent,$PRE.t_ms.nextTimeEvent,$whenCondition1,t_ms.nextTimeEventScaled,$PRE.t_ms.nextTimeEventScaled,t_ms.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 50 * 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.0002591/0.4442, allocations: 216.2 kB / 0.5745 GB, free: 6.336 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.804e-05/0.4443, allocations: 63.58 kB / 0.5746 GB, free: 6.273 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001048/0.4453, allocations: 498 kB / 0.5751 GB, free: 5.777 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.782e-06/0.4453, allocations: 4 kB / 0.5751 GB, free: 5.773 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.4453, allocations: 4 kB / 0.5751 GB, free: 5.77 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.4453, allocations: 0 / 0.5751 GB, free: 5.77 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001765/0.4471, allocations: 1.275 MB / 0.5763 GB, free: 4.426 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/0.4471, allocations: 0 / 0.5763 GB, free: 4.426 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001733/0.4473, allocations: 55.91 kB / 0.5764 GB, free: 4.371 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.398e-06/0.4473, allocations: 7.938 kB / 0.5764 GB, free: 4.363 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.281e-05/0.4473, allocations: 15.98 kB / 0.5764 GB, free: 4.348 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.524e-06/0.4473, allocations: 4 kB / 0.5764 GB, free: 4.344 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.982e-06/0.4473, allocations: 7.938 kB / 0.5764 GB, free: 4.336 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001055/0.4484, allocations: 0.864 MB / 0.5772 GB, free: 3.434 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.187e-05/0.4485, allocations: 59.55 kB / 0.5773 GB, free: 3.375 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.638e-05/0.4485, allocations: 19.88 kB / 0.5773 GB, free: 3.355 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003513/0.4489, allocations: 19.98 kB / 0.5773 GB, free: 3.336 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.797e-05/0.449, allocations: 39.88 kB / 0.5774 GB, free: 3.297 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.788e-05/0.449, allocations: 23.98 kB / 0.5774 GB, free: 3.273 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006023/0.4496, allocations: 0.4949 MB / 0.5779 GB, free: 2.781 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4496, allocations: 0 / 0.5779 GB, free: 2.781 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005683/0.4502, allocations: 84 kB / 0.578 GB, free: 2.699 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled,$whenCondition2,t_d.nextTimeEvent,t_d.nextTimeEventScaled,$whenCondition3,t_h.nextTimeEvent,t_h.nextTimeEventScaled,$whenCondition4,t_min.nextTimeEvent,t_min.nextTimeEventScaled,$whenCondition5,t_s.nextTimeEvent,t_s.nextTimeEventScaled) * Number of discrete states: 10 (t_s.nextTimeEvent,t_s.nextTimeEventScaled,t_min.nextTimeEvent,t_min.nextTimeEventScaled,t_h.nextTimeEvent,t_h.nextTimeEventScaled,t_d.nextTimeEvent,t_d.nextTimeEventScaled,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.003115/0.4533, allocations: 1.822 MB / 0.5797 GB, free: 1.051 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007747/0.4541, allocations: 303.3 kB / 0.58 GB, free: 0.7539 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.4541, allocations: 0 / 0.58 GB, free: 0.7539 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003504/0.4544, allocations: 157.3 kB / 0.5802 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001242/0.4557, allocations: 153.7 kB / 0.5803 GB, free: 476 kB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007244/0.4629, allocations: 4.589 MB / 0.5848 GB, free: 11.68 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003589/0.4633, allocations: 271.9 kB / 0.5851 GB, free: 11.39 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003142/0.4636, allocations: 75.41 kB / 0.5851 GB, free: 11.31 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002949/0.4639, allocations: 191.4 kB / 0.5853 GB, free: 11.12 MB / 430.1 MB Notification: Performance of SimCode: time 1.393e-06/0.4639, allocations: 0 / 0.5853 GB, free: 11.12 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0388/0.5027, allocations: 11.92 MB / 0.597 GB, free: 15.36 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.06/12.56, allocations: 15.91 kB / 0.597 GB, free: 15.34 MB / 446.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test67_fmu --startTime=0 --stopTime=4000 --stepSize=0.799361 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test67.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.76436809299048] Failed to read output from testmodel.py, exit status != 0: ['time', 't_s.y[1]', 'd_t_s.y', 't_min.y[1]', 'd_t_min.y', 't_h.y[1]', 'd_t_h.y', 't_d.y[1]', 'd_t_d.y', 't_ms.y[1]', 'd_t_ms.y'] 12.788887767936103 12.80440205 12.369056411 Calling exit ...