Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test31.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.001769/0.001769, allocations: 109.3 kB / 19.8 MB, free: 2.5 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.002276/0.002276, allocations: 219.4 kB / 22.99 MB, free: 5.582 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.443/1.443, allocations: 230.2 MB / 256.2 MB, free: 8.547 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.2704/0.2704, allocations: 46.89 MB / 359.4 MB, free: 4.918 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-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.Test31,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test31,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test31",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.002431/0.002431, allocations: 87.86 kB / 0.4942 GB, free: 8.922 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3452/0.3476, allocations: 65.99 MB / 0.5587 GB, free: 5.137 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test31): time 0.003447/0.351, allocations: 1.729 MB / 0.5604 GB, free: 3.395 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001856/0.3529, allocations: 1.053 MB / 0.5614 GB, free: 2.336 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.482e-05/0.353, allocations: 4 kB / 0.5614 GB, free: 2.332 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002943/0.3533, allocations: 39.77 kB / 0.5614 GB, free: 2.293 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003096/0.3536, allocations: 95.55 kB / 0.5615 GB, free: 2.199 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002132/0.3538, allocations: 79.66 kB / 0.5616 GB, free: 2.121 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001862/0.354, allocations: 103.7 kB / 0.5617 GB, free: 2.02 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001074/0.3541, allocations: 13.8 kB / 0.5617 GB, free: 2.008 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.482e-05/0.3542, allocations: 39.8 kB / 0.5617 GB, free: 1.969 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.415e-05/0.3543, allocations: 31.84 kB / 0.5618 GB, free: 1.938 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.399e-05/0.3543, allocations: 4 kB / 0.5618 GB, free: 1.934 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001034/0.3544, allocations: 47.97 kB / 0.5618 GB, free: 1.887 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.55e-05/0.3544, allocations: 19.92 kB / 0.5618 GB, free: 1.867 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.643e-05/0.3545, allocations: 35.69 kB / 0.5619 GB, free: 1.832 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002347/0.3547, allocations: 123.5 kB / 0.562 GB, free: 1.711 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.3547, allocations: 0 / 0.562 GB, free: 1.711 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.3547, allocations: 0 / 0.562 GB, free: 1.711 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.042e-06/0.3547, allocations: 3.938 kB / 0.562 GB, free: 1.707 MB / 398.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.0006818/0.3554, allocations: 425.1 kB / 0.5624 GB, free: 1.246 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.3555, allocations: 8.031 kB / 0.5624 GB, free: 1.238 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.498e-05/0.3555, allocations: 42.73 kB / 0.5625 GB, free: 1.188 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.393e-05/0.3556, allocations: 12.89 kB / 0.5625 GB, free: 1.176 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002971/0.3559, allocations: 208.8 kB / 0.5627 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.765e-05/0.3559, allocations: 8.312 kB / 0.5627 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.21e-05/0.3559, allocations: 384 / 0.5627 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001686/0.3561, allocations: 65.8 kB / 0.5627 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.3561, allocations: 0 / 0.5627 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.808e-06/0.3561, allocations: 3.938 kB / 0.5627 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.3561, allocations: 0 / 0.5627 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.053e-05/0.3562, allocations: 23.98 kB / 0.5628 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004321/0.3566, allocations: 284.8 kB / 0.563 GB, free: 0.5 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001978/0.3568, allocations: 62.61 kB / 0.5631 GB, free: 440 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.839e-05/0.3569, allocations: 16.86 kB / 0.5631 GB, free: 420 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.615e-05/0.3569, allocations: 0 / 0.5631 GB, free: 420 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001865/0.3571, allocations: 67.39 kB / 0.5632 GB, free: 340 kB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.282e-06/0.3571, allocations: 0 / 0.5632 GB, free: 340 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006123/0.3577, allocations: 181.3 kB / 0.5633 GB, free: 152 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.679e-05/0.3577, allocations: 51.41 kB / 0.5634 GB, free: 88 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000292/0.358, allocations: 198.3 kB / 0.5636 GB, free: 15.88 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.056e-05/0.3581, allocations: 29.7 kB / 0.5636 GB, free: 15.85 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001061/0.3582, allocations: 104.1 kB / 0.5637 GB, free: 15.74 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.495e-05/0.3582, allocations: 27.78 kB / 0.5637 GB, free: 15.71 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.934e-05/0.3583, allocations: 25.72 kB / 0.5638 GB, free: 15.68 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001817/0.3585, allocations: 322.8 kB / 0.5641 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.105e-05/0.3585, allocations: 27.92 kB / 0.5641 GB, free: 15.33 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.122e-05/0.3586, allocations: 37.7 kB / 0.5641 GB, free: 15.29 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001256/0.3587, allocations: 57.72 kB / 0.5642 GB, free: 15.23 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.3587, allocations: 0 / 0.5642 GB, free: 15.23 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000219/0.3589, allocations: 117.6 kB / 0.5643 GB, free: 15.11 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.359, allocations: 4 kB / 0.5643 GB, free: 15.1 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.359, allocations: 80 / 0.5643 GB, free: 15.1 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.359, allocations: 0 / 0.5643 GB, free: 15.1 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001065/0.3591, allocations: 19.98 kB / 0.5643 GB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.083e-05/0.3591, allocations: 3.984 kB / 0.5643 GB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.374e-05/0.3591, allocations: 0 / 0.5643 GB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.886e-06/0.3592, allocations: 11.97 kB / 0.5643 GB, free: 15.07 MB / 414.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.0001352/0.3593, allocations: 132.3 kB / 0.5645 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.817e-05/0.3593, allocations: 15.91 kB / 0.5645 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002769/0.3596, allocations: 107.1 kB / 0.5646 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.3596, allocations: 0 / 0.5646 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.3596, allocations: 0 / 0.5646 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.3596, allocations: 4 kB / 0.5646 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005198/0.3601, allocations: 399.6 kB / 0.565 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.3601, allocations: 4.188 kB / 0.565 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.901e-05/0.3602, allocations: 15.92 kB / 0.565 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.614e-06/0.3602, allocations: 7.938 kB / 0.565 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.107e-05/0.3602, allocations: 0 / 0.565 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.3602, allocations: 3.938 kB / 0.565 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-06/0.3602, allocations: 4 kB / 0.565 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000282/0.3605, allocations: 204.3 kB / 0.5652 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.357e-05/0.3605, allocations: 81.06 kB / 0.5653 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.389e-05/0.3606, allocations: 11.92 kB / 0.5653 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.916e-05/0.3606, allocations: 3.938 kB / 0.5653 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.999e-05/0.3607, allocations: 4 kB / 0.5653 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.435e-05/0.3607, allocations: 11.98 kB / 0.5653 GB, free: 13.96 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001614/0.3609, allocations: 148.2 kB / 0.5654 GB, free: 13.82 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3609, allocations: 0 / 0.5654 GB, free: 13.82 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002655/0.3611, allocations: 27.92 kB / 0.5655 GB, free: 13.79 MB / 414.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.002193/0.3633, allocations: 1.091 MB / 0.5665 GB, free: 12.84 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002001/0.3635, allocations: 59.84 kB / 0.5666 GB, free: 12.79 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.3635, allocations: 0 / 0.5666 GB, free: 12.79 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.586e-05/0.3636, allocations: 27.92 kB / 0.5666 GB, free: 12.76 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003774/0.364, allocations: 26.94 kB / 0.5666 GB, free: 12.73 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002285/0.3663, allocations: 1.666 MB / 0.5683 GB, free: 10.97 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004024/0.3667, allocations: 0.708 MB / 0.569 GB, free: 10.24 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.15e-05/0.3667, allocations: 21.17 kB / 0.569 GB, free: 10.22 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.634e-05/0.3668, allocations: 35.42 kB / 0.569 GB, free: 10.18 MB / 414.1 MB Notification: Performance of SimCode: time 6.11e-07/0.3668, allocations: 0 / 0.569 GB, free: 10.18 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02669/0.3935, allocations: 3.465 MB / 0.5724 GB, free: 6.738 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.093/8.486, allocations: 12.2 kB / 0.5724 GB, free: 6.73 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test31.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test31.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test31_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004996 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test31.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test31.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.35977856599493] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.61188098200364 8.641405937 8.281077579 Calling exit ...