Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test20.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.001226/0.001226, allocations: 109.2 kB / 19.8 MB, free: 2.516 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.001781/0.001781, allocations: 216.5 kB / 23 MB, free: 5.605 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.621/1.621, allocations: 230.2 MB / 256.2 MB, free: 8.754 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.2313/0.2313, allocations: 46.89 MB / 359.4 MB, free: 4.973 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.Test20,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test20,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test20",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.002457/0.002457, allocations: 87.86 kB / 0.4942 GB, free: 8.969 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3467/0.3492, allocations: 65.99 MB / 0.5587 GB, free: 5.16 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test20): time 0.003379/0.3526, allocations: 1.733 MB / 0.5604 GB, free: 3.414 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001778/0.3543, allocations: 1.053 MB / 0.5614 GB, free: 2.355 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.444e-05/0.3544, allocations: 0 / 0.5614 GB, free: 2.355 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002882/0.3547, allocations: 47.77 kB / 0.5614 GB, free: 2.309 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000291/0.355, allocations: 95.59 kB / 0.5615 GB, free: 2.215 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001959/0.3552, allocations: 75.67 kB / 0.5616 GB, free: 2.141 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001865/0.3554, allocations: 107.7 kB / 0.5617 GB, free: 2.035 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.203e-05/0.3555, allocations: 13.75 kB / 0.5617 GB, free: 2.023 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.91e-05/0.3555, allocations: 35.86 kB / 0.5617 GB, free: 1.988 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.163e-05/0.3556, allocations: 39.77 kB / 0.5618 GB, free: 1.949 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.869e-05/0.3556, allocations: 4 kB / 0.5618 GB, free: 1.945 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.55e-05/0.3557, allocations: 43.98 kB / 0.5618 GB, free: 1.902 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.447e-05/0.3558, allocations: 19.92 kB / 0.5618 GB, free: 1.883 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.884e-05/0.3558, allocations: 35.73 kB / 0.5619 GB, free: 1.848 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002142/0.3561, allocations: 123.4 kB / 0.562 GB, free: 1.727 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.3561, allocations: 0 / 0.562 GB, free: 1.727 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3561, allocations: 0 / 0.562 GB, free: 1.727 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.3561, allocations: 0 / 0.562 GB, free: 1.727 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.0005683/0.3566, allocations: 426.6 kB / 0.5624 GB, free: 1.262 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.3567, allocations: 8.031 kB / 0.5624 GB, free: 1.254 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.355e-05/0.3567, allocations: 42.73 kB / 0.5625 GB, free: 1.203 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.813e-05/0.3568, allocations: 12.89 kB / 0.5625 GB, free: 1.191 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002948/0.3571, allocations: 208.8 kB / 0.5627 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.337e-05/0.3571, allocations: 4.312 kB / 0.5627 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.079e-05/0.3571, allocations: 8.375 kB / 0.5627 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001457/0.3572, allocations: 57.73 kB / 0.5627 GB, free: 0.875 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.3573, allocations: 4 kB / 0.5627 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.576e-06/0.3573, allocations: 0 / 0.5627 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.3573, allocations: 0 / 0.5627 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.837e-05/0.3573, allocations: 23.98 kB / 0.5628 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00038/0.3577, allocations: 288.8 kB / 0.563 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001715/0.3579, allocations: 62.61 kB / 0.5631 GB, free: 456 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.126e-05/0.3579, allocations: 16.86 kB / 0.5631 GB, free: 436 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.101e-05/0.358, allocations: 3.984 kB / 0.5631 GB, free: 432 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001468/0.3581, allocations: 63.39 kB / 0.5632 GB, free: 356 kB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.202e-06/0.3581, allocations: 0 / 0.5632 GB, free: 356 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005189/0.3586, allocations: 177.4 kB / 0.5633 GB, free: 172 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.455e-05/0.3587, allocations: 55.39 kB / 0.5634 GB, free: 104 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002113/0.3589, allocations: 194.4 kB / 0.5636 GB, free: 15.9 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.263e-05/0.3589, allocations: 33.64 kB / 0.5636 GB, free: 15.86 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.484e-05/0.359, allocations: 100.1 kB / 0.5637 GB, free: 15.76 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.395e-05/0.359, allocations: 27.78 kB / 0.5637 GB, free: 15.73 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.983e-05/0.3591, allocations: 21.72 kB / 0.5638 GB, free: 15.71 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001402/0.3592, allocations: 330.8 kB / 0.5641 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.639e-05/0.3593, allocations: 15.98 kB / 0.5641 GB, free: 15.36 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.09e-05/0.3593, allocations: 41.64 kB / 0.5641 GB, free: 15.31 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001242/0.3595, allocations: 69.77 kB / 0.5642 GB, free: 15.24 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.3595, allocations: 0 / 0.5642 GB, free: 15.24 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001922/0.3597, allocations: 105.5 kB / 0.5643 GB, free: 15.13 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/0.3597, allocations: 4 kB / 0.5643 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.3597, allocations: 384 / 0.5643 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.3597, allocations: 0 / 0.5643 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.805e-05/0.3598, allocations: 23.98 kB / 0.5643 GB, free: 15.1 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.508e-06/0.3598, allocations: 0 / 0.5643 GB, free: 15.1 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.579e-05/0.3598, allocations: 8 kB / 0.5643 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.232e-06/0.3598, allocations: 4.031 kB / 0.5643 GB, free: 15.09 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.0001141/0.3599, allocations: 137.7 kB / 0.5645 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.243e-05/0.36, allocations: 11.91 kB / 0.5645 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002425/0.3602, allocations: 107.1 kB / 0.5646 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.3602, allocations: 4.188 kB / 0.5646 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.3602, allocations: 3.984 kB / 0.5646 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.3602, allocations: 3.938 kB / 0.5646 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004649/0.3607, allocations: 399.3 kB / 0.565 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.52e-06/0.3607, allocations: 3.984 kB / 0.565 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.276e-05/0.3607, allocations: 8 kB / 0.565 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.3607, allocations: 0 / 0.565 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.479e-05/0.3607, allocations: 4 kB / 0.565 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.238e-05/0.3608, allocations: 11.88 kB / 0.565 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.3608, allocations: 0 / 0.565 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002478/0.361, allocations: 200.3 kB / 0.5652 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.884e-05/0.3611, allocations: 93.05 kB / 0.5653 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.931e-05/0.3611, allocations: 0 / 0.5653 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.041e-05/0.3611, allocations: 11.88 kB / 0.5653 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.516e-05/0.3612, allocations: 3.984 kB / 0.5653 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.419e-05/0.3612, allocations: 4 kB / 0.5653 GB, free: 13.98 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000163/0.3614, allocations: 148.2 kB / 0.5654 GB, free: 13.84 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3614, allocations: 0 / 0.5654 GB, free: 13.84 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002572/0.3616, allocations: 31.94 kB / 0.5655 GB, free: 13.81 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.002198/0.3638, allocations: 1.095 MB / 0.5665 GB, free: 12.86 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002425/0.3641, allocations: 59.84 kB / 0.5666 GB, free: 12.8 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3641, allocations: 0 / 0.5666 GB, free: 12.8 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.04e-05/0.3641, allocations: 23.98 kB / 0.5666 GB, free: 12.78 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003964/0.3645, allocations: 31.48 kB / 0.5666 GB, free: 12.75 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002131/0.3667, allocations: 1.672 MB / 0.5683 GB, free: 10.99 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003351/0.367, allocations: 0.708 MB / 0.569 GB, free: 10.25 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.006e-05/0.3671, allocations: 25.17 kB / 0.569 GB, free: 10.23 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.441e-05/0.3671, allocations: 35.42 kB / 0.569 GB, free: 10.2 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3671, allocations: 0 / 0.569 GB, free: 10.2 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02588/0.393, allocations: 3.464 MB / 0.5724 GB, free: 6.754 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.094/8.487, allocations: 12.05 kB / 0.5724 GB, free: 6.746 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test20.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test20.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test20_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004995 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test20.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test20.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.495857157977298] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.613507208996452 8.64200986 8.280681997 Calling exit ...