Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test43.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.001557/0.001557, allocations: 105.1 kB / 21.22 MB, free: 0.6797 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.002008/0.002008, allocations: 209.9 kB / 24.54 MB, free: 4.055 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.444/1.444, allocations: 230.5 MB / 258.2 MB, free: 8.043 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.2211/0.2211, allocations: 46.93 MB / 361.6 MB, free: 4.215 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.Test43,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test43",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test43,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test43",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.002518/0.002518, allocations: 83.86 kB / 0.497 GB, free: 7.719 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3611/0.3636, allocations: 66.08 MB / 0.5616 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test43): time 0.003547/0.3671, allocations: 1.745 MB / 0.5633 GB, free: 2.523 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001872/0.369, allocations: 1.049 MB / 0.5643 GB, free: 1.469 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.946e-05/0.3691, allocations: 7.875 kB / 0.5643 GB, free: 1.461 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003087/0.3694, allocations: 39.83 kB / 0.5643 GB, free: 1.422 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003237/0.3697, allocations: 99.53 kB / 0.5644 GB, free: 1.324 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002162/0.3699, allocations: 79.67 kB / 0.5645 GB, free: 1.246 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002015/0.3701, allocations: 99.75 kB / 0.5646 GB, free: 1.148 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001035/0.3702, allocations: 13.95 kB / 0.5646 GB, free: 1.137 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001062/0.3703, allocations: 47.73 kB / 0.5647 GB, free: 1.09 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.912e-05/0.3704, allocations: 39.77 kB / 0.5647 GB, free: 1.051 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.662e-05/0.3705, allocations: 4 kB / 0.5647 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000103/0.3706, allocations: 39.98 kB / 0.5648 GB, free: 1.008 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.575e-05/0.3706, allocations: 23.92 kB / 0.5648 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.01e-05/0.3707, allocations: 35.73 kB / 0.5648 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002235/0.3709, allocations: 127.4 kB / 0.5649 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.3709, allocations: 0 / 0.5649 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.3709, allocations: 0 / 0.5649 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.51e-06/0.3709, allocations: 0 / 0.5649 GB, free: 0.8242 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.0005855/0.3715, allocations: 357.5 kB / 0.5653 GB, free: 456 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.3715, allocations: 8.031 kB / 0.5653 GB, free: 448 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.883e-05/0.3716, allocations: 38.73 kB / 0.5653 GB, free: 400 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.881e-05/0.3716, allocations: 8.891 kB / 0.5653 GB, free: 392 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003212/0.372, allocations: 166.2 kB / 0.5655 GB, free: 200 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.369e-05/0.372, allocations: 384 / 0.5655 GB, free: 200 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.707e-05/0.372, allocations: 4.375 kB / 0.5655 GB, free: 196 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001611/0.3721, allocations: 57.8 kB / 0.5655 GB, free: 132 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/0.3722, allocations: 7.922 kB / 0.5656 GB, free: 124 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.3722, allocations: 4 kB / 0.5656 GB, free: 120 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.3722, allocations: 4 kB / 0.5656 GB, free: 116 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.288e-05/0.3723, allocations: 15.98 kB / 0.5656 GB, free: 100 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004445/0.3727, allocations: 264 kB / 0.5658 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002016/0.3729, allocations: 50.67 kB / 0.5659 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.457e-05/0.373, allocations: 28.78 kB / 0.5659 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3e-05/0.373, allocations: 4 kB / 0.5659 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002088/0.3732, allocations: 63.39 kB / 0.566 GB, free: 15.62 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.383e-06/0.3732, allocations: 0 / 0.566 GB, free: 15.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006275/0.3738, allocations: 177.3 kB / 0.5661 GB, free: 15.45 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.886e-05/0.3739, allocations: 59.41 kB / 0.5662 GB, free: 15.38 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002611/0.3741, allocations: 214.2 kB / 0.5664 GB, free: 15.15 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.56e-05/0.3742, allocations: 29.7 kB / 0.5664 GB, free: 15.12 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.137e-05/0.3743, allocations: 112.1 kB / 0.5665 GB, free: 15 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.169e-05/0.3743, allocations: 23.8 kB / 0.5666 GB, free: 14.98 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.931e-05/0.3744, allocations: 25.7 kB / 0.5666 GB, free: 14.95 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000183/0.3745, allocations: 326.8 kB / 0.5669 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.232e-05/0.3746, allocations: 19.98 kB / 0.5669 GB, free: 14.6 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.234e-05/0.3747, allocations: 45.61 kB / 0.567 GB, free: 14.55 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001399/0.3748, allocations: 61.72 kB / 0.567 GB, free: 14.49 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.3748, allocations: 384 / 0.567 GB, free: 14.49 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002019/0.375, allocations: 105.5 kB / 0.5671 GB, free: 14.38 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.375, allocations: 4 kB / 0.5671 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.3751, allocations: 0 / 0.5671 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/0.3751, allocations: 0 / 0.5671 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001038/0.3752, allocations: 23.98 kB / 0.5671 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.3752, allocations: 4.031 kB / 0.5671 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.492e-05/0.3752, allocations: 4 kB / 0.5671 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-06/0.3752, allocations: 4 kB / 0.5672 GB, free: 14.34 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.000154/0.3754, allocations: 141.4 kB / 0.5673 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.491e-05/0.3754, allocations: 11.91 kB / 0.5673 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002682/0.3757, allocations: 115 kB / 0.5674 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.3757, allocations: 0 / 0.5674 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.3757, allocations: 0 / 0.5674 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.3757, allocations: 4 kB / 0.5674 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005027/0.3762, allocations: 366.3 kB / 0.5678 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.3762, allocations: 0 / 0.5678 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.211e-05/0.3762, allocations: 8 kB / 0.5678 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.662e-06/0.3762, allocations: 7.984 kB / 0.5678 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.341e-05/0.3762, allocations: 4 kB / 0.5678 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.3762, allocations: 3.938 kB / 0.5678 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3763, allocations: 0 / 0.5678 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002753/0.3765, allocations: 212.2 kB / 0.568 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.811e-05/0.3765, allocations: 7.953 kB / 0.568 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.246e-05/0.3766, allocations: 4 kB / 0.568 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.033e-05/0.3766, allocations: 7.922 kB / 0.568 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.35e-05/0.3767, allocations: 4 kB / 0.568 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.91e-05/0.3767, allocations: 8 kB / 0.568 GB, free: 13.36 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001565/0.3768, allocations: 164.3 kB / 0.5682 GB, free: 13.2 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3768, allocations: 192 / 0.5682 GB, free: 13.2 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002543/0.3771, allocations: 23.94 kB / 0.5682 GB, free: 13.18 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.00221/0.3793, allocations: 1.079 MB / 0.5692 GB, free: 12.23 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002265/0.3795, allocations: 59.84 kB / 0.5693 GB, free: 12.18 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.3795, allocations: 0 / 0.5693 GB, free: 12.18 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.691e-05/0.3796, allocations: 35.91 kB / 0.5693 GB, free: 12.14 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003534/0.38, allocations: 28.09 kB / 0.5694 GB, free: 12.11 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002379/0.3823, allocations: 1.689 MB / 0.571 GB, free: 10.33 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004902/0.3828, allocations: 0.708 MB / 0.5717 GB, free: 9.598 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.497e-05/0.3829, allocations: 24.83 kB / 0.5717 GB, free: 9.574 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001027/0.383, allocations: 43.41 kB / 0.5718 GB, free: 9.531 MB / 414.1 MB Notification: Performance of SimCode: time 3.21e-07/0.383, allocations: 0 / 0.5718 GB, free: 9.531 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02698/0.41, allocations: 3.581 MB / 0.5753 GB, free: 5.965 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.982/8.392, allocations: 19.61 kB / 0.5753 GB, free: 5.949 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test43.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test43.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test43_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000498703 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test43.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test43.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.412508767098188] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.533567978069186 8.559654258 8.183759616 Calling exit ...