Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test3.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.001255/0.001255, allocations: 106.5 kB / 21.22 MB, free: 0.5117 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.00143/0.00143, allocations: 213.9 kB / 24.54 MB, free: 3.875 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.528/1.528, allocations: 230.5 MB / 258.2 MB, free: 7.969 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.231/0.231, allocations: 46.92 MB / 361.6 MB, free: 4.152 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.CombiTable2Dv.Test3,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test3,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test3",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.002261/0.002261, allocations: 80.14 kB / 0.497 GB, free: 7.695 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3463/0.3486, allocations: 66.08 MB / 0.5615 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test3): time 0.003323/0.3519, allocations: 1.692 MB / 0.5632 GB, free: 2.543 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001085/0.353, allocations: 0.6083 MB / 0.5638 GB, free: 1.934 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.286e-05/0.353, allocations: 4 kB / 0.5638 GB, free: 1.93 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005982/0.3536, allocations: 451.1 kB / 0.5642 GB, free: 1.488 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004564/0.3541, allocations: 295.3 kB / 0.5645 GB, free: 1.199 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004317/0.3545, allocations: 178.4 kB / 0.5647 GB, free: 1.031 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000267/0.3548, allocations: 187.6 kB / 0.5648 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001279/0.3549, allocations: 22.19 kB / 0.5649 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001512/0.3551, allocations: 111.7 kB / 0.565 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003313/0.3554, allocations: 263.4 kB / 0.5652 GB, free: 468 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.514e-05/0.3554, allocations: 4 kB / 0.5652 GB, free: 464 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001358/0.3556, allocations: 51.92 kB / 0.5653 GB, free: 412 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001235/0.3557, allocations: 83.69 kB / 0.5654 GB, free: 328 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00012/0.3558, allocations: 114.9 kB / 0.5655 GB, free: 212 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003889/0.3562, allocations: 286.5 kB / 0.5657 GB, free: 15.93 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.3562, allocations: 4 kB / 0.5657 GB, free: 15.92 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.3562, allocations: 7.875 kB / 0.5658 GB, free: 15.91 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.3562, allocations: 0 / 0.5658 GB, free: 15.91 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008241/0.357, allocations: 0.6048 MB / 0.5663 GB, free: 15.27 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.3571, allocations: 8.031 kB / 0.5664 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.904e-05/0.3571, allocations: 38.75 kB / 0.5664 GB, free: 15.22 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.194e-05/0.3572, allocations: 44.66 kB / 0.5664 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002917/0.3575, allocations: 250.8 kB / 0.5667 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.868e-06/0.3575, allocations: 4.375 kB / 0.5667 GB, free: 14.9 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.472e-05/0.3575, allocations: 12.33 kB / 0.5667 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001734/0.3577, allocations: 66.17 kB / 0.5667 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.3577, allocations: 3.938 kB / 0.5668 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.3577, allocations: 4 kB / 0.5668 GB, free: 14.81 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.3577, allocations: 4 kB / 0.5668 GB, free: 14.81 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001408/0.3579, allocations: 43.95 kB / 0.5668 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005643/0.3584, allocations: 391.7 kB / 0.5672 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002581/0.3587, allocations: 58.58 kB / 0.5672 GB, free: 14.27 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.781e-05/0.3588, allocations: 28.97 kB / 0.5673 GB, free: 14.24 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.122e-05/0.3588, allocations: 0 / 0.5673 GB, free: 14.24 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.991e-05/0.3588, allocations: 34.56 kB / 0.5673 GB, free: 14.2 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 8.02e-07/0.3588, allocations: 0 / 0.5673 GB, free: 14.2 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.001474/0.3603, allocations: 0.5002 MB / 0.5678 GB, free: 13.69 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.032e-05/0.3603, allocations: 59.34 kB / 0.5678 GB, free: 13.62 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000892/0.3612, allocations: 0.8815 MB / 0.5687 GB, free: 12.73 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.977e-05/0.3612, allocations: 29.7 kB / 0.5687 GB, free: 12.69 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001796/0.3614, allocations: 212.1 kB / 0.5689 GB, free: 12.48 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.646e-05/0.3615, allocations: 39.69 kB / 0.569 GB, free: 12.44 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.916e-05/0.3615, allocations: 25.7 kB / 0.569 GB, free: 12.41 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001738/0.3617, allocations: 358.8 kB / 0.5693 GB, free: 12.05 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001373/0.3618, allocations: 51.95 kB / 0.5694 GB, free: 12 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000132/0.362, allocations: 63.95 kB / 0.5694 GB, free: 11.94 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002618/0.3622, allocations: 125 kB / 0.5696 GB, free: 11.81 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.3622, allocations: 0 / 0.5696 GB, free: 11.81 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003849/0.3626, allocations: 205.2 kB / 0.5698 GB, free: 11.61 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.3626, allocations: 8 kB / 0.5698 GB, free: 11.6 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.3626, allocations: 0 / 0.5698 GB, free: 11.6 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.3626, allocations: 4 kB / 0.5698 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001148/0.3628, allocations: 31.92 kB / 0.5698 GB, free: 11.56 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.287e-06/0.3628, allocations: 4.5 kB / 0.5698 GB, free: 11.56 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.59e-05/0.3628, allocations: 7.984 kB / 0.5698 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.336e-06/0.3629, allocations: 4 kB / 0.5698 GB, free: 11.55 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 (11): * Single equations (assignments): 11 * 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.0002126/0.3631, allocations: 222.6 kB / 0.57 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.099e-05/0.3631, allocations: 51.67 kB / 0.5701 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005086/0.3636, allocations: 233.4 kB / 0.5703 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.3636, allocations: 0 / 0.5703 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.3637, allocations: 3.938 kB / 0.5703 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.735e-06/0.3637, allocations: 4 kB / 0.5703 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008716/0.3645, allocations: 0.5694 MB / 0.5709 GB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.3645, allocations: 3.938 kB / 0.5709 GB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000107/0.3646, allocations: 23.98 kB / 0.5709 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/0.3646, allocations: 4 kB / 0.5709 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.482e-05/0.3647, allocations: 7.984 kB / 0.5709 GB, free: 10.35 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.838e-06/0.3647, allocations: 4 kB / 0.5709 GB, free: 10.35 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.3647, allocations: 4.062 kB / 0.5709 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004108/0.3651, allocations: 304.7 kB / 0.5712 GB, free: 10.02 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.595e-05/0.3651, allocations: 39.66 kB / 0.5712 GB, free: 9.984 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.238e-05/0.3652, allocations: 8 kB / 0.5712 GB, free: 9.977 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001108/0.3653, allocations: 11.98 kB / 0.5713 GB, free: 9.965 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4e-05/0.3653, allocations: 7.984 kB / 0.5713 GB, free: 9.957 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.027e-06/0.3653, allocations: 4 kB / 0.5713 GB, free: 9.953 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006839/0.366, allocations: 0.6589 MB / 0.5719 GB, free: 9.297 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.366, allocations: 0 / 0.5719 GB, free: 9.297 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002975/0.3663, allocations: 35.94 kB / 0.5719 GB, free: 9.262 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.002375/0.3687, allocations: 1.199 MB / 0.5731 GB, free: 8.195 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003732/0.3691, allocations: 123.9 kB / 0.5732 GB, free: 8.074 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.3691, allocations: 0 / 0.5732 GB, free: 8.074 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001499/0.3692, allocations: 67.89 kB / 0.5733 GB, free: 8.008 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004327/0.3696, allocations: 26.3 kB / 0.5733 GB, free: 7.984 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00455/0.3742, allocations: 3.569 MB / 0.5768 GB, free: 4.312 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004985/0.3747, allocations: 0.8338 MB / 0.5776 GB, free: 3.449 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000106/0.3748, allocations: 32.47 kB / 0.5777 GB, free: 3.418 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001648/0.375, allocations: 127.4 kB / 0.5778 GB, free: 3.297 MB / 414.1 MB Notification: Performance of SimCode: time 8.32e-07/0.375, allocations: 0 / 0.5778 GB, free: 3.297 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03074/0.4057, allocations: 6.805 MB / 0.5844 GB, free: 12.5 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.772/9.178, allocations: 5.438 kB / 0.5844 GB, free: 12.49 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test3_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_CombiTable2Dv_Test3.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.37013506796211] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'clock1.y', 'clock2.y', 'd2_t_new.y'] 9.318260367959738 9.341596868 8.981048904 Calling exit ...