Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test44.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.001519/0.001519, allocations: 109.4 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.002158/0.002158, allocations: 219.5 kB / 23 MB, free: 5.609 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.468/1.468, allocations: 230.2 MB / 256.2 MB, free: 8.695 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.233/0.233, allocations: 46.88 MB / 359.4 MB, free: 5.012 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.Test44,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test44",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test44,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test44",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.002268/0.002268, allocations: 80.16 kB / 0.4942 GB, free: 8.934 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3393/0.3415, allocations: 65.99 MB / 0.5587 GB, free: 5.125 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test44): time 0.003302/0.3448, allocations: 1.741 MB / 0.5604 GB, free: 3.371 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001841/0.3467, allocations: 1.053 MB / 0.5614 GB, free: 2.312 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.967e-05/0.3467, allocations: 0 / 0.5614 GB, free: 2.312 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002878/0.347, allocations: 39.77 kB / 0.5614 GB, free: 2.273 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003451/0.3474, allocations: 91.61 kB / 0.5615 GB, free: 2.184 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002212/0.3476, allocations: 83.66 kB / 0.5616 GB, free: 2.102 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001774/0.3478, allocations: 103.8 kB / 0.5617 GB, free: 2 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.403e-05/0.3479, allocations: 13.75 kB / 0.5617 GB, free: 1.988 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.692e-05/0.348, allocations: 47.78 kB / 0.5618 GB, free: 1.941 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.253e-05/0.348, allocations: 31.8 kB / 0.5618 GB, free: 1.91 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.725e-05/0.3481, allocations: 4 kB / 0.5618 GB, free: 1.906 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.864e-05/0.3482, allocations: 43.97 kB / 0.5618 GB, free: 1.863 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.629e-05/0.3482, allocations: 19.92 kB / 0.5619 GB, free: 1.844 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.05e-05/0.3483, allocations: 35.73 kB / 0.5619 GB, free: 1.809 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002253/0.3485, allocations: 123.4 kB / 0.562 GB, free: 1.688 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.3485, allocations: 7.938 kB / 0.562 GB, free: 1.68 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.235e-06/0.3485, allocations: 0 / 0.562 GB, free: 1.68 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.203e-06/0.3485, allocations: 4 kB / 0.562 GB, free: 1.676 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.0006194/0.3491, allocations: 430.6 kB / 0.5624 GB, free: 1.207 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.3492, allocations: 8.031 kB / 0.5624 GB, free: 1.199 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.078e-05/0.3492, allocations: 30.75 kB / 0.5625 GB, free: 1.16 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.414e-05/0.3493, allocations: 16.88 kB / 0.5625 GB, free: 1.145 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003479/0.3496, allocations: 212.2 kB / 0.5627 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/0.3496, allocations: 12.23 kB / 0.5627 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.861e-05/0.3496, allocations: 4.375 kB / 0.5627 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001545/0.3498, allocations: 65.73 kB / 0.5628 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.3498, allocations: 0 / 0.5628 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.398e-06/0.3498, allocations: 0 / 0.5628 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.3498, allocations: 0 / 0.5628 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.831e-05/0.3499, allocations: 23.98 kB / 0.5628 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000391/0.3503, allocations: 288.8 kB / 0.5631 GB, free: 468 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001886/0.3505, allocations: 58.61 kB / 0.5631 GB, free: 400 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.608e-05/0.3505, allocations: 20.86 kB / 0.5631 GB, free: 376 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.019e-05/0.3506, allocations: 0 / 0.5631 GB, free: 376 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00016/0.3507, allocations: 71.38 kB / 0.5632 GB, free: 292 kB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.322e-06/0.3507, allocations: 0 / 0.5632 GB, free: 292 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005777/0.3513, allocations: 181.3 kB / 0.5634 GB, free: 104 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.126e-05/0.3513, allocations: 55.41 kB / 0.5634 GB, free: 36 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002391/0.3516, allocations: 214.1 kB / 0.5636 GB, free: 15.82 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.729e-05/0.3516, allocations: 25.7 kB / 0.5637 GB, free: 15.79 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.529e-05/0.3517, allocations: 104.1 kB / 0.5638 GB, free: 15.68 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.264e-05/0.3517, allocations: 19.86 kB / 0.5638 GB, free: 15.66 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.381e-05/0.3518, allocations: 25.7 kB / 0.5638 GB, free: 15.63 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001657/0.3519, allocations: 330.8 kB / 0.5641 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.916e-05/0.352, allocations: 20 kB / 0.5641 GB, free: 15.28 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.462e-05/0.3521, allocations: 37.64 kB / 0.5642 GB, free: 15.23 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001289/0.3522, allocations: 65.7 kB / 0.5642 GB, free: 15.16 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.3522, allocations: 0 / 0.5642 GB, free: 15.16 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001907/0.3524, allocations: 101.5 kB / 0.5643 GB, free: 15.06 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.3524, allocations: 11.98 kB / 0.5643 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.3524, allocations: 0 / 0.5643 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.3524, allocations: 4.031 kB / 0.5643 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.008e-05/0.3525, allocations: 16 kB / 0.5644 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.483e-05/0.3525, allocations: 4 kB / 0.5644 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.666e-05/0.3526, allocations: 3.984 kB / 0.5644 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.268e-06/0.3526, allocations: 4 kB / 0.5644 GB, free: 15.02 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.000118/0.3527, allocations: 137.6 kB / 0.5645 GB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.698e-05/0.3527, allocations: 15.91 kB / 0.5645 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002585/0.353, allocations: 107.1 kB / 0.5646 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.353, allocations: 8.125 kB / 0.5646 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.353, allocations: 4 kB / 0.5646 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.353, allocations: 7.922 kB / 0.5646 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004771/0.3535, allocations: 403.5 kB / 0.565 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.3535, allocations: 0 / 0.565 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.289e-05/0.3535, allocations: 8 kB / 0.565 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.3535, allocations: 0 / 0.565 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/0.3535, allocations: 4.359 kB / 0.565 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.407e-06/0.3535, allocations: 11.97 kB / 0.565 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.3535, allocations: 3.938 kB / 0.565 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002654/0.3538, allocations: 204.3 kB / 0.5652 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.624e-05/0.3538, allocations: 85.06 kB / 0.5653 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.067e-05/0.3539, allocations: 0 / 0.5653 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.172e-05/0.3539, allocations: 7.938 kB / 0.5653 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.477e-05/0.354, allocations: 11.98 kB / 0.5653 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.641e-05/0.354, allocations: 8 kB / 0.5654 GB, free: 13.89 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001504/0.3541, allocations: 156.8 kB / 0.5655 GB, free: 13.74 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3541, allocations: 0 / 0.5655 GB, free: 13.74 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002635/0.3544, allocations: 23.98 kB / 0.5655 GB, free: 13.71 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.002187/0.3566, allocations: 1.092 MB / 0.5666 GB, free: 12.77 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002061/0.3568, allocations: 63.84 kB / 0.5667 GB, free: 12.71 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.601e-06/0.3568, allocations: 4.062 kB / 0.5667 GB, free: 12.7 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.654e-05/0.3569, allocations: 23.98 kB / 0.5667 GB, free: 12.68 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000385/0.3573, allocations: 33.31 kB / 0.5667 GB, free: 12.66 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00201/0.3593, allocations: 1.7 MB / 0.5684 GB, free: 10.86 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003459/0.3596, allocations: 0.708 MB / 0.5691 GB, free: 10.12 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.08e-05/0.3597, allocations: 16.48 kB / 0.5691 GB, free: 10.11 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.009e-05/0.3597, allocations: 39.42 kB / 0.5691 GB, free: 10.07 MB / 414.1 MB Notification: Performance of SimCode: time 3.4e-07/0.3597, allocations: 4 kB / 0.5691 GB, free: 10.07 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02473/0.3845, allocations: 3.526 MB / 0.5726 GB, free: 6.562 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.119/8.504, allocations: 19.17 kB / 0.5726 GB, free: 6.547 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test44.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test44_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000498902 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test44.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.288333103002515] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.629086386994459 8.653920643 8.300849322 Calling exit ...