Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test4.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.001303/0.001303, allocations: 104.5 kB / 19.8 MB, free: 2.5 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.001663/0.001663, allocations: 216.7 kB / 22.99 MB, free: 5.586 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.2 MB / 256.2 MB, free: 8.539 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.23/0.23, allocations: 46.89 MB / 359.4 MB, free: 4.906 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.Test4,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test4,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test4",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.002319/0.002319, allocations: 79.86 kB / 0.4942 GB, free: 8.988 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3534/0.3557, allocations: 65.99 MB / 0.5586 GB, free: 5.16 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.003442/0.3592, allocations: 1.676 MB / 0.5602 GB, free: 3.473 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001222/0.3604, allocations: 0.5888 MB / 0.5608 GB, free: 2.883 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.361e-05/0.3605, allocations: 0 / 0.5608 GB, free: 2.883 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006415/0.3611, allocations: 463.1 kB / 0.5613 GB, free: 2.43 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005599/0.3617, allocations: 291.3 kB / 0.5615 GB, free: 2.145 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005097/0.3622, allocations: 174.9 kB / 0.5617 GB, free: 1.977 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000273/0.3625, allocations: 175.7 kB / 0.5619 GB, free: 1.805 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001076/0.3626, allocations: 9.828 kB / 0.5619 GB, free: 1.797 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000162/0.3627, allocations: 119.6 kB / 0.562 GB, free: 1.68 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003/0.363, allocations: 243.5 kB / 0.5622 GB, free: 1.441 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.967e-05/0.363, allocations: 4 kB / 0.5622 GB, free: 1.438 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001053/0.3631, allocations: 47.91 kB / 0.5623 GB, free: 1.391 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001091/0.3633, allocations: 83.69 kB / 0.5623 GB, free: 1.309 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.554e-05/0.3634, allocations: 99 kB / 0.5624 GB, free: 1.211 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003815/0.3637, allocations: 278.5 kB / 0.5627 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.3637, allocations: 0 / 0.5627 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.3637, allocations: 0 / 0.5627 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.242e-05/0.3638, allocations: 0 / 0.5627 GB, free: 0.9375 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0008485/0.3646, allocations: 0.6607 MB / 0.5634 GB, free: 228 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/0.3646, allocations: 8.031 kB / 0.5634 GB, free: 220 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.918e-05/0.3647, allocations: 38.73 kB / 0.5634 GB, free: 172 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.22e-05/0.3647, allocations: 44.66 kB / 0.5634 GB, free: 128 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003415/0.3651, allocations: 308.6 kB / 0.5637 GB, free: 15.78 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.546e-06/0.3651, allocations: 4.375 kB / 0.5637 GB, free: 15.78 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.104e-05/0.3651, allocations: 384 / 0.5637 GB, free: 15.78 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001571/0.3653, allocations: 62.17 kB / 0.5638 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/0.3653, allocations: 7.875 kB / 0.5638 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.087e-06/0.3653, allocations: 0 / 0.5638 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.3653, allocations: 0 / 0.5638 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001071/0.3654, allocations: 31.97 kB / 0.5638 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000569/0.366, allocations: 408.6 kB / 0.5642 GB, free: 15.22 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00022/0.3662, allocations: 42.5 kB / 0.5643 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.717e-05/0.3663, allocations: 20.94 kB / 0.5643 GB, free: 15.15 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.934e-05/0.3663, allocations: 0 / 0.5643 GB, free: 15.15 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.13e-05/0.3663, allocations: 34.56 kB / 0.5643 GB, free: 15.11 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 9.71e-07/0.3663, allocations: 0 / 0.5643 GB, free: 15.11 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006789/0.367, allocations: 244.7 kB / 0.5646 GB, free: 14.86 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.025e-05/0.367, allocations: 51.41 kB / 0.5646 GB, free: 14.8 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009227/0.3679, allocations: 0.8777 MB / 0.5655 GB, free: 13.91 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.801e-05/0.368, allocations: 25.7 kB / 0.5655 GB, free: 13.88 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001916/0.3682, allocations: 228.1 kB / 0.5657 GB, free: 13.65 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.938e-05/0.3682, allocations: 19.8 kB / 0.5657 GB, free: 13.63 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.346e-05/0.3682, allocations: 21.7 kB / 0.5657 GB, free: 13.6 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001745/0.3684, allocations: 362.7 kB / 0.5661 GB, free: 13.24 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.896e-05/0.3685, allocations: 19.98 kB / 0.5661 GB, free: 13.22 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.276e-05/0.3686, allocations: 27.97 kB / 0.5661 GB, free: 13.19 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001465/0.3687, allocations: 60.77 kB / 0.5662 GB, free: 13.13 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.3687, allocations: 192 / 0.5662 GB, free: 13.13 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002322/0.3689, allocations: 121.4 kB / 0.5663 GB, free: 13 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.369, allocations: 4 kB / 0.5663 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.369, allocations: 4 kB / 0.5663 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.369, allocations: 0 / 0.5663 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.815e-05/0.369, allocations: 12 kB / 0.5663 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.369, allocations: 3.938 kB / 0.5663 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.146e-05/0.3691, allocations: 11.98 kB / 0.5663 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.066e-05/0.3691, allocations: 4 kB / 0.5663 GB, free: 12.96 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.0002021/0.3693, allocations: 221.6 kB / 0.5666 GB, free: 12.74 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.422e-05/0.3694, allocations: 47.67 kB / 0.5666 GB, free: 12.69 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000318/0.3697, allocations: 137.2 kB / 0.5667 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.3697, allocations: 288 / 0.5667 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.3697, allocations: 4 kB / 0.5667 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.3697, allocations: 7.938 kB / 0.5667 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005909/0.3703, allocations: 474.3 kB / 0.5672 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/0.3703, allocations: 0 / 0.5672 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.264e-05/0.3704, allocations: 15.98 kB / 0.5672 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.3704, allocations: 0 / 0.5672 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.3704, allocations: 0 / 0.5672 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.3704, allocations: 3.938 kB / 0.5672 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3704, allocations: 0 / 0.5672 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002809/0.3707, allocations: 227.4 kB / 0.5674 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.086e-05/0.3708, allocations: 116.8 kB / 0.5675 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.596e-05/0.3708, allocations: 4 kB / 0.5675 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.085e-05/0.3709, allocations: 7.938 kB / 0.5676 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.581e-05/0.3709, allocations: 7.984 kB / 0.5676 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.578e-06/0.3709, allocations: 4 kB / 0.5676 GB, free: 11.6 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006682/0.3716, allocations: 0.6628 MB / 0.5682 GB, free: 10.94 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3716, allocations: 0 / 0.5682 GB, free: 10.94 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002687/0.3718, allocations: 27.89 kB / 0.5682 GB, free: 10.91 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.001973/0.3738, allocations: 1.046 MB / 0.5693 GB, free: 9.992 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002218/0.374, allocations: 59.84 kB / 0.5693 GB, free: 9.934 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.374, allocations: 4 kB / 0.5693 GB, free: 9.93 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.124e-05/0.3741, allocations: 27.97 kB / 0.5693 GB, free: 9.902 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003533/0.3745, allocations: 24.44 kB / 0.5694 GB, free: 9.883 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003982/0.3785, allocations: 3.291 MB / 0.5726 GB, free: 6.5 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004666/0.3789, allocations: 0.826 MB / 0.5734 GB, free: 5.648 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.603e-05/0.379, allocations: 16.64 kB / 0.5734 GB, free: 5.629 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001451/0.3791, allocations: 119.5 kB / 0.5735 GB, free: 5.512 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3791, allocations: 3.938 kB / 0.5735 GB, free: 5.508 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0275/0.4066, allocations: 6.139 MB / 0.5795 GB, free: 15.38 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.713/9.119, allocations: 3.859 kB / 0.5795 GB, free: 15.38 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test4_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_Test4.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.958451847021934] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'clock.y', 'const.y'] 9.244976776011754 9.265566232 8.898773963 Calling exit ...