Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test5.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.001328/0.001328, 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.001493/0.001493, allocations: 213.9 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.499/1.499, allocations: 230.5 MB / 258.2 MB, free: 8.004 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.93 MB / 361.6 MB, free: 4.207 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.CombiTable2Ds.Test5,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test5,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test5",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.003241/0.003241, allocations: 71.88 kB / 0.497 GB, free: 7.762 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4494/0.4526, allocations: 66.09 MB / 0.5615 GB, free: 4.305 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test5): time 0.003047/0.4557, allocations: 1.659 MB / 0.5631 GB, free: 2.641 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001016/0.4567, allocations: 0.5654 MB / 0.5637 GB, free: 2.074 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.823e-05/0.4568, allocations: 0 / 0.5637 GB, free: 2.074 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005658/0.4573, allocations: 463.1 kB / 0.5641 GB, free: 1.621 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004443/0.4578, allocations: 287.3 kB / 0.5644 GB, free: 1.34 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003361/0.4581, allocations: 139 kB / 0.5645 GB, free: 1.207 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000239/0.4583, allocations: 167.7 kB / 0.5647 GB, free: 1.043 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.4584, allocations: 17.95 kB / 0.5647 GB, free: 1.027 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001338/0.4586, allocations: 111.7 kB / 0.5648 GB, free: 0.918 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002915/0.4589, allocations: 247.5 kB / 0.5651 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.772e-05/0.4589, allocations: 4 kB / 0.5651 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.786e-05/0.459, allocations: 39.86 kB / 0.5651 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000112/0.4591, allocations: 87.67 kB / 0.5652 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.726e-05/0.4592, allocations: 103 kB / 0.5653 GB, free: 456 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003417/0.4595, allocations: 266.6 kB / 0.5655 GB, free: 188 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.4595, allocations: 0 / 0.5655 GB, free: 188 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.4595, allocations: 0 / 0.5655 GB, free: 188 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.172e-06/0.4595, allocations: 0 / 0.5655 GB, free: 188 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0008065/0.4603, allocations: 0.5856 MB / 0.5661 GB, free: 15.56 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.4604, allocations: 11.97 kB / 0.5661 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.897e-05/0.4604, allocations: 38.75 kB / 0.5662 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.65e-05/0.4605, allocations: 44.61 kB / 0.5662 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003049/0.4608, allocations: 250.8 kB / 0.5664 GB, free: 15.19 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.275e-05/0.4608, allocations: 4.375 kB / 0.5665 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.013e-05/0.4608, allocations: 4.359 kB / 0.5665 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001534/0.461, allocations: 54.23 kB / 0.5665 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.534e-05/0.461, allocations: 3.938 kB / 0.5665 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.546e-06/0.461, allocations: 4 kB / 0.5665 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.461, allocations: 4 kB / 0.5665 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.488e-05/0.4611, allocations: 23.92 kB / 0.5665 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005097/0.4616, allocations: 367.7 kB / 0.5669 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002113/0.4618, allocations: 38.56 kB / 0.5669 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.566e-05/0.4619, allocations: 24.94 kB / 0.567 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.312e-05/0.4619, allocations: 3.938 kB / 0.567 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.841e-05/0.462, allocations: 38.5 kB / 0.567 GB, free: 14.56 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.462, allocations: 0 / 0.567 GB, free: 14.56 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.000619/0.4626, allocations: 232.7 kB / 0.5672 GB, free: 14.32 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.326e-05/0.4626, allocations: 59.41 kB / 0.5673 GB, free: 14.25 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008865/0.4635, allocations: 0.8699 MB / 0.5681 GB, free: 13.37 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.537e-05/0.4635, allocations: 25.7 kB / 0.5681 GB, free: 13.34 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001852/0.4637, allocations: 228.1 kB / 0.5684 GB, free: 13.11 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.38e-05/0.4637, allocations: 15.84 kB / 0.5684 GB, free: 13.1 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.498e-05/0.4638, allocations: 21.7 kB / 0.5684 GB, free: 13.07 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000176/0.464, allocations: 362.7 kB / 0.5687 GB, free: 12.71 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.698e-05/0.464, allocations: 15.98 kB / 0.5688 GB, free: 12.69 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.487e-05/0.4641, allocations: 23.98 kB / 0.5688 GB, free: 12.67 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001207/0.4642, allocations: 44.83 kB / 0.5688 GB, free: 12.62 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.4642, allocations: 0 / 0.5688 GB, free: 12.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002383/0.4644, allocations: 125.3 kB / 0.5689 GB, free: 12.49 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.4645, allocations: 4 kB / 0.569 GB, free: 12.49 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.4645, allocations: 0 / 0.569 GB, free: 12.49 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.4645, allocations: 0 / 0.569 GB, free: 12.49 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.25e-05/0.4645, allocations: 19.98 kB / 0.569 GB, free: 12.47 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.4645, allocations: 3.938 kB / 0.569 GB, free: 12.46 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.82e-05/0.4646, allocations: 7.984 kB / 0.569 GB, free: 12.46 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.721e-06/0.4646, allocations: 0 / 0.569 GB, free: 12.46 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.0002065/0.4648, allocations: 214.6 kB / 0.5692 GB, free: 12.24 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.072e-05/0.4649, allocations: 43.72 kB / 0.5692 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002908/0.4652, allocations: 145.2 kB / 0.5694 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.4652, allocations: 0 / 0.5694 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.4652, allocations: 0 / 0.5694 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-06/0.4652, allocations: 0 / 0.5694 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005574/0.4657, allocations: 433.8 kB / 0.5698 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.4657, allocations: 4 kB / 0.5698 GB, free: 11.56 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.436e-05/0.4658, allocations: 11.98 kB / 0.5698 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.4658, allocations: 0 / 0.5698 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.152e-06/0.4658, allocations: 4 kB / 0.5698 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.568e-06/0.4658, allocations: 7.875 kB / 0.5698 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.4658, allocations: 4 kB / 0.5698 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002603/0.4661, allocations: 219.1 kB / 0.57 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.162e-05/0.4661, allocations: 35.7 kB / 0.5701 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.372e-05/0.4661, allocations: 288 / 0.5701 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.903e-05/0.4662, allocations: 11.94 kB / 0.5701 GB, free: 11.26 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.033e-05/0.4662, allocations: 7.984 kB / 0.5701 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.051e-06/0.4663, allocations: 4 kB / 0.5701 GB, free: 11.25 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000661/0.4669, allocations: 0.6589 MB / 0.5707 GB, free: 10.59 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4669, allocations: 0 / 0.5707 GB, free: 10.59 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002608/0.4672, allocations: 23.94 kB / 0.5707 GB, free: 10.57 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.001893/0.4691, allocations: 1.041 MB / 0.5718 GB, free: 9.633 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001912/0.4693, allocations: 43.97 kB / 0.5718 GB, free: 9.59 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.4693, allocations: 0 / 0.5718 GB, free: 9.59 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.093e-05/0.4693, allocations: 27.92 kB / 0.5718 GB, free: 9.562 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004054/0.4697, allocations: 30.23 kB / 0.5719 GB, free: 9.531 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003788/0.4735, allocations: 3.252 MB / 0.575 GB, free: 6.188 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004753/0.474, allocations: 0.8221 MB / 0.5758 GB, free: 5.336 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.671e-05/0.4741, allocations: 11.98 kB / 0.5758 GB, free: 5.324 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001285/0.4742, allocations: 107.4 kB / 0.5759 GB, free: 5.223 MB / 414.1 MB Notification: Performance of SimCode: time 5.31e-07/0.4742, allocations: 4 kB / 0.576 GB, free: 5.219 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02941/0.5036, allocations: 6.123 MB / 0.5819 GB, free: 15.09 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.57/9.074, allocations: 8.328 kB / 0.5819 GB, free: 15.09 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test5.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test5_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0119952 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test5.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.178366888780147] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y', 'd_t_new.y', 'const.y', 'clock.y'] 9.216981378383934 9.240643356 8.775928023 Calling exit ...