Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test56.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.001329/0.001329, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.001454/0.001454, allocations: 212.6 kB / 24.54 MB, free: 4.02 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.431/1.431, allocations: 230.5 MB / 258.2 MB, free: 7.977 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.2314/0.2314, allocations: 46.93 MB / 361.6 MB, free: 4.238 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.Test56,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test56",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test56,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test56",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.0023/0.0023, allocations: 83.84 kB / 0.497 GB, free: 7.684 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.373/0.3753, allocations: 66.08 MB / 0.5616 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.003266/0.3786, allocations: 1.757 MB / 0.5633 GB, free: 2.488 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002719/0.3813, allocations: 1.745 MB / 0.565 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.309e-05/0.3814, allocations: 0 / 0.565 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003181/0.3817, allocations: 31.78 kB / 0.565 GB, free: 0.707 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004042/0.3821, allocations: 95.55 kB / 0.5651 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002221/0.3823, allocations: 87.66 kB / 0.5652 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002074/0.3825, allocations: 115.6 kB / 0.5653 GB, free: 424 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.3826, allocations: 9.969 kB / 0.5653 GB, free: 416 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001165/0.3828, allocations: 51.78 kB / 0.5654 GB, free: 364 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001683/0.3829, allocations: 43.83 kB / 0.5654 GB, free: 320 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.906e-05/0.3829, allocations: 7.938 kB / 0.5654 GB, free: 312 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001941/0.3831, allocations: 107.9 kB / 0.5655 GB, free: 204 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.554e-05/0.3832, allocations: 19.92 kB / 0.5655 GB, free: 184 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.856e-05/0.3833, allocations: 31.8 kB / 0.5656 GB, free: 152 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000316/0.3836, allocations: 175.4 kB / 0.5657 GB, free: 15.97 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.3836, allocations: 0 / 0.5657 GB, free: 15.97 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3836, allocations: 4 kB / 0.5657 GB, free: 15.97 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.092e-06/0.3836, allocations: 0 / 0.5657 GB, free: 15.97 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.0006126/0.3842, allocations: 345.5 kB / 0.5661 GB, free: 15.6 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/0.3843, allocations: 8.031 kB / 0.5661 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.523e-05/0.3843, allocations: 42.73 kB / 0.5661 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.609e-05/0.3844, allocations: 12.84 kB / 0.5661 GB, free: 15.53 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003206/0.3847, allocations: 150.9 kB / 0.5663 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.365e-05/0.3847, allocations: 384 / 0.5663 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.106e-05/0.3847, allocations: 15.88 kB / 0.5663 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001705/0.3849, allocations: 67.38 kB / 0.5663 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.378e-05/0.3849, allocations: 4 kB / 0.5663 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.3849, allocations: 0 / 0.5663 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.3849, allocations: 4 kB / 0.5664 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.489e-05/0.385, allocations: 15.98 kB / 0.5664 GB, free: 15.24 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000397/0.3854, allocations: 263.8 kB / 0.5666 GB, free: 14.94 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001724/0.3856, allocations: 58.67 kB / 0.5667 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.066e-05/0.3856, allocations: 16.86 kB / 0.5667 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.194e-05/0.3856, allocations: 3.984 kB / 0.5667 GB, free: 14.85 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001646/0.3858, allocations: 75.38 kB / 0.5668 GB, free: 14.77 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.312e-06/0.3858, allocations: 7.938 kB / 0.5668 GB, free: 14.76 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005569/0.3864, allocations: 161.5 kB / 0.5669 GB, free: 14.59 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.344e-05/0.3864, allocations: 77.11 kB / 0.567 GB, free: 14.5 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002035/0.3866, allocations: 170.4 kB / 0.5672 GB, free: 14.32 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.758e-05/0.3867, allocations: 33.69 kB / 0.5672 GB, free: 14.28 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.527e-05/0.3867, allocations: 92.14 kB / 0.5673 GB, free: 14.19 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.901e-05/0.3868, allocations: 31.73 kB / 0.5673 GB, free: 14.16 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.059e-05/0.3868, allocations: 21.72 kB / 0.5673 GB, free: 14.13 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001812/0.387, allocations: 326.8 kB / 0.5676 GB, free: 13.8 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.729e-05/0.3871, allocations: 23.98 kB / 0.5677 GB, free: 13.78 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.553e-05/0.3872, allocations: 42.5 kB / 0.5677 GB, free: 13.73 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001177/0.3873, allocations: 57.66 kB / 0.5678 GB, free: 13.66 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.3873, allocations: 0 / 0.5678 GB, free: 13.66 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002/0.3875, allocations: 105.6 kB / 0.5679 GB, free: 13.55 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.3875, allocations: 8 kB / 0.5679 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.3875, allocations: 0 / 0.5679 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.3875, allocations: 0 / 0.5679 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.941e-05/0.3876, allocations: 19.92 kB / 0.5679 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.3876, allocations: 4 kB / 0.5679 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.157e-05/0.3877, allocations: 3.938 kB / 0.5679 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.445e-06/0.3877, allocations: 4 kB / 0.5679 GB, free: 13.52 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.0001193/0.3878, allocations: 122.7 kB / 0.568 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.62e-05/0.3878, allocations: 15.97 kB / 0.568 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002482/0.3881, allocations: 110.5 kB / 0.5681 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.3881, allocations: 0 / 0.5681 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.3881, allocations: 3.938 kB / 0.5681 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.955e-06/0.3881, allocations: 7.922 kB / 0.5682 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004756/0.3886, allocations: 370.4 kB / 0.5685 GB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.099e-06/0.3886, allocations: 7.969 kB / 0.5685 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.111e-05/0.3886, allocations: 8 kB / 0.5685 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.3886, allocations: 7.969 kB / 0.5685 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/0.3886, allocations: 0 / 0.5685 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.929e-06/0.3886, allocations: 4 kB / 0.5685 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.3886, allocations: 0 / 0.5685 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002384/0.3889, allocations: 196.7 kB / 0.5687 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.056e-05/0.3889, allocations: 11.94 kB / 0.5687 GB, free: 12.58 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.704e-05/0.3889, allocations: 11.88 kB / 0.5687 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.896e-05/0.389, allocations: 12 kB / 0.5688 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.352e-05/0.389, allocations: 3.984 kB / 0.5688 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.401e-05/0.389, allocations: 4 kB / 0.5688 GB, free: 12.55 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001207/0.3892, allocations: 131.9 kB / 0.5689 GB, free: 12.42 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3892, allocations: 0 / 0.5689 GB, free: 12.42 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003498/0.3895, allocations: 43.86 kB / 0.5689 GB, free: 12.38 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.00246/0.392, allocations: 1.19 MB / 0.5701 GB, free: 11.35 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002187/0.3922, allocations: 59.97 kB / 0.5702 GB, free: 11.29 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.3922, allocations: 0 / 0.5702 GB, free: 11.29 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.353e-05/0.3923, allocations: 27.92 kB / 0.5702 GB, free: 11.26 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003474/0.3926, allocations: 27.98 kB / 0.5702 GB, free: 11.23 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001972/0.3946, allocations: 1.585 MB / 0.5718 GB, free: 9.555 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003626/0.395, allocations: 0.7041 MB / 0.5724 GB, free: 8.824 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.979e-05/0.395, allocations: 25.27 kB / 0.5725 GB, free: 8.801 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.831e-05/0.3951, allocations: 35.42 kB / 0.5725 GB, free: 8.766 MB / 414.1 MB Notification: Performance of SimCode: time 6.91e-07/0.3951, allocations: 0 / 0.5725 GB, free: 8.766 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0315/0.4266, allocations: 4.106 MB / 0.5765 GB, free: 4.645 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.051/8.477, allocations: 18.12 kB / 0.5765 GB, free: 4.633 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test56.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test56_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0198452 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test56.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.422744465060532] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.619115601759404 8.635375354 8.248644401 Calling exit ...