Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test1.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.001449/0.001449, 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.001528/0.001528, allocations: 213.2 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.514/1.514, allocations: 230.5 MB / 258.2 MB, free: 8.023 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.2338/0.2338, allocations: 46.94 MB / 361.6 MB, free: 4.195 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.CombiTable1Ds.Test1,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test1,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test1",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.002305/0.002305, allocations: 75.88 kB / 0.497 GB, free: 7.758 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3915/0.3938, allocations: 66.09 MB / 0.5615 GB, free: 4.32 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test1): time 0.004634/0.3984, allocations: 1.607 MB / 0.5631 GB, free: 2.707 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001397/0.3998, allocations: 0.5537 MB / 0.5636 GB, free: 2.152 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.746e-05/0.3999, allocations: 0 / 0.5636 GB, free: 2.152 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002649/0.4002, allocations: 27.8 kB / 0.5637 GB, free: 2.125 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003343/0.4005, allocations: 71.69 kB / 0.5637 GB, free: 2.055 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003051/0.4008, allocations: 87.7 kB / 0.5638 GB, free: 1.969 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000193/0.401, allocations: 71.75 kB / 0.5639 GB, free: 1.898 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001265/0.4011, allocations: 8 kB / 0.5639 GB, free: 1.891 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.502e-05/0.4012, allocations: 23.92 kB / 0.5639 GB, free: 1.867 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.204e-05/0.4013, allocations: 23.86 kB / 0.5639 GB, free: 1.844 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.601e-05/0.4013, allocations: 4 kB / 0.5639 GB, free: 1.84 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001003/0.4014, allocations: 39.92 kB / 0.564 GB, free: 1.801 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.652e-05/0.4014, allocations: 15.92 kB / 0.564 GB, free: 1.785 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.211e-05/0.4015, allocations: 23.75 kB / 0.564 GB, free: 1.762 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002111/0.4017, allocations: 79.66 kB / 0.5641 GB, free: 1.684 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.4017, allocations: 0 / 0.5641 GB, free: 1.684 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.295e-06/0.4017, allocations: 0 / 0.5641 GB, free: 1.684 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.388e-06/0.4017, allocations: 4 kB / 0.5641 GB, free: 1.68 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006191/0.4023, allocations: 309.9 kB / 0.5644 GB, free: 1.344 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.4024, allocations: 8.031 kB / 0.5644 GB, free: 1.336 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.474e-05/0.4024, allocations: 38.75 kB / 0.5644 GB, free: 1.289 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.486e-05/0.4025, allocations: 8.875 kB / 0.5644 GB, free: 1.281 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002162/0.4027, allocations: 134.4 kB / 0.5646 GB, free: 1.125 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.003e-06/0.4027, allocations: 384 / 0.5646 GB, free: 1.125 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.353e-05/0.4027, allocations: 4.312 kB / 0.5646 GB, free: 1.121 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001462/0.4029, allocations: 50.25 kB / 0.5646 GB, free: 1.066 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.712e-05/0.4029, allocations: 7.922 kB / 0.5646 GB, free: 1.059 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.919e-06/0.4029, allocations: 0 / 0.5646 GB, free: 1.059 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.4029, allocations: 4 kB / 0.5646 GB, free: 1.055 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001042/0.403, allocations: 27.97 kB / 0.5647 GB, free: 1.027 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004167/0.4034, allocations: 247.9 kB / 0.5649 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002283/0.4036, allocations: 38.56 kB / 0.5649 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.534e-05/0.4037, allocations: 16.86 kB / 0.5649 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.958e-05/0.4037, allocations: 4 kB / 0.565 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.947e-05/0.4037, allocations: 34.64 kB / 0.565 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 9.32e-07/0.4037, allocations: 0 / 0.565 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005917/0.4043, allocations: 141.4 kB / 0.5651 GB, free: 496 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.606e-05/0.4044, allocations: 55.41 kB / 0.5652 GB, free: 428 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001761/0.4046, allocations: 156.5 kB / 0.5653 GB, free: 260 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.81e-05/0.4046, allocations: 25.7 kB / 0.5653 GB, free: 228 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.721e-05/0.4046, allocations: 96.08 kB / 0.5654 GB, free: 128 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.59e-05/0.4047, allocations: 19.86 kB / 0.5655 GB, free: 108 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.443e-05/0.4047, allocations: 17.7 kB / 0.5655 GB, free: 84 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001694/0.4049, allocations: 318.8 kB / 0.5658 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.213e-05/0.405, allocations: 23.98 kB / 0.5658 GB, free: 15.74 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.155e-05/0.405, allocations: 31.97 kB / 0.5658 GB, free: 15.71 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001198/0.4051, allocations: 36.84 kB / 0.5659 GB, free: 15.67 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.22e-07/0.4051, allocations: 0 / 0.5659 GB, free: 15.67 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001838/0.4053, allocations: 85.61 kB / 0.5659 GB, free: 15.58 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.4053, allocations: 6.188 kB / 0.566 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.4053, allocations: 4 kB / 0.566 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.4054, allocations: 0 / 0.566 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.249e-05/0.4054, allocations: 11.98 kB / 0.566 GB, free: 15.56 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.4054, allocations: 7.938 kB / 0.566 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.889e-05/0.4055, allocations: 4 kB / 0.566 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.621e-06/0.4055, allocations: 3.938 kB / 0.566 GB, free: 15.54 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.0001035/0.4056, allocations: 122.7 kB / 0.5661 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.137e-05/0.4056, allocations: 7.953 kB / 0.5661 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000259/0.4059, allocations: 90.05 kB / 0.5662 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.4059, allocations: 11.94 kB / 0.5662 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.4059, allocations: 0 / 0.5662 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.4059, allocations: 0 / 0.5662 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004277/0.4063, allocations: 313.5 kB / 0.5665 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.4063, allocations: 320 / 0.5665 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.252e-05/0.4064, allocations: 11.98 kB / 0.5665 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.555e-06/0.4064, allocations: 8 kB / 0.5665 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.718e-06/0.4064, allocations: 4 kB / 0.5665 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.4064, allocations: 0 / 0.5665 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.4064, allocations: 7.938 kB / 0.5665 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002359/0.4066, allocations: 179.4 kB / 0.5667 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.575e-05/0.4066, allocations: 7.953 kB / 0.5667 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.685e-05/0.4067, allocations: 0 / 0.5667 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.401e-05/0.4067, allocations: 7.984 kB / 0.5667 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.77e-05/0.4068, allocations: 3.938 kB / 0.5667 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.782e-06/0.4068, allocations: 8 kB / 0.5667 GB, free: 14.68 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001146/0.4069, allocations: 115.2 kB / 0.5668 GB, free: 14.57 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4069, allocations: 0 / 0.5668 GB, free: 14.57 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002476/0.4071, allocations: 19.94 kB / 0.5669 GB, free: 14.55 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.002111/0.4093, allocations: 1.021 MB / 0.5679 GB, free: 13.64 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002082/0.4095, allocations: 43.97 kB / 0.5679 GB, free: 13.6 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.4095, allocations: 0 / 0.5679 GB, free: 13.6 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.38e-05/0.4095, allocations: 23.98 kB / 0.5679 GB, free: 13.58 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003732/0.4099, allocations: 19.3 kB / 0.5679 GB, free: 13.56 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001779/0.4117, allocations: 1.438 MB / 0.5693 GB, free: 12.04 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003746/0.4121, allocations: 0.6885 MB / 0.57 GB, free: 11.32 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.751e-05/0.4121, allocations: 23.77 kB / 0.57 GB, free: 11.3 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.248e-05/0.4122, allocations: 23.44 kB / 0.5701 GB, free: 11.28 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.4122, allocations: 0 / 0.5701 GB, free: 11.28 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02582/0.438, allocations: 2.601 MB / 0.5726 GB, free: 8.684 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.096/8.534, allocations: 10.2 kB / 0.5726 GB, free: 8.68 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test1.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test1_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004998 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test1.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.681450467091054] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'clock.y'] 8.67618139507249 8.703273028 8.297110286 Calling exit ...