Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test2.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.001423/0.001423, allocations: 109.4 kB / 19.8 MB, free: 2.516 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.00198/0.00198, allocations: 224.9 kB / 23.01 MB, free: 5.609 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.543/1.543, allocations: 230.2 MB / 256.2 MB, free: 8.738 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.2307/0.2307, allocations: 46.89 MB / 359.4 MB, free: 4.945 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.Test2,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test2,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test2",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.002553/0.002553, allocations: 84.19 kB / 0.4942 GB, free: 8.988 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3485/0.3511, allocations: 65.99 MB / 0.5586 GB, free: 5.18 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.003201/0.3543, allocations: 1.676 MB / 0.5603 GB, free: 3.492 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001164/0.3554, allocations: 0.6044 MB / 0.5608 GB, free: 2.887 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.421e-05/0.3555, allocations: 0 / 0.5608 GB, free: 2.887 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005979/0.3561, allocations: 451.1 kB / 0.5613 GB, free: 2.445 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004665/0.3566, allocations: 299.3 kB / 0.5616 GB, free: 2.152 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004385/0.357, allocations: 171 kB / 0.5617 GB, free: 1.988 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002404/0.3572, allocations: 179.6 kB / 0.5619 GB, free: 1.812 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.3573, allocations: 22.03 kB / 0.5619 GB, free: 1.789 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001239/0.3575, allocations: 115.7 kB / 0.562 GB, free: 1.676 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002717/0.3577, allocations: 251.5 kB / 0.5623 GB, free: 1.43 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.786e-05/0.3578, allocations: 4 kB / 0.5623 GB, free: 1.426 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001115/0.3579, allocations: 47.98 kB / 0.5623 GB, free: 1.379 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001063/0.358, allocations: 87.62 kB / 0.5624 GB, free: 1.293 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.377e-05/0.3581, allocations: 111 kB / 0.5625 GB, free: 1.184 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003654/0.3584, allocations: 290.5 kB / 0.5628 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.3584, allocations: 0 / 0.5628 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.3584, allocations: 0 / 0.5628 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.104e-05/0.3585, allocations: 0 / 0.5628 GB, free: 0.8984 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000784/0.3592, allocations: 0.6723 MB / 0.5634 GB, free: 176 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.3593, allocations: 8.031 kB / 0.5634 GB, free: 168 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.94e-05/0.3593, allocations: 38.73 kB / 0.5635 GB, free: 120 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.998e-05/0.3594, allocations: 44.66 kB / 0.5635 GB, free: 76 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003269/0.3597, allocations: 308.6 kB / 0.5638 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.216e-05/0.3597, allocations: 8.312 kB / 0.5638 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.923e-05/0.3597, allocations: 4.375 kB / 0.5638 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001615/0.3599, allocations: 62.17 kB / 0.5639 GB, free: 15.65 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.605e-05/0.3599, allocations: 11.92 kB / 0.5639 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.935e-06/0.3599, allocations: 3.938 kB / 0.5639 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.3599, allocations: 0 / 0.5639 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001123/0.36, allocations: 35.97 kB / 0.5639 GB, free: 15.6 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005614/0.3606, allocations: 412.6 kB / 0.5643 GB, free: 15.15 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000123/0.3607, allocations: 46.55 kB / 0.5644 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.273e-05/0.3608, allocations: 16.86 kB / 0.5644 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.41e-05/0.3608, allocations: 4 kB / 0.5644 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.194e-05/0.3608, allocations: 34.64 kB / 0.5644 GB, free: 15.03 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.3608, allocations: 4 kB / 0.5644 GB, free: 15.02 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.001013/0.3619, allocations: 332.5 kB / 0.5648 GB, free: 14.69 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.86e-05/0.3619, allocations: 51.41 kB / 0.5648 GB, free: 14.63 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009055/0.3628, allocations: 0.8776 MB / 0.5657 GB, free: 13.74 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.027e-05/0.3628, allocations: 29.7 kB / 0.5657 GB, free: 13.7 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001846/0.363, allocations: 228.1 kB / 0.5659 GB, free: 13.48 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.491e-05/0.3631, allocations: 27.75 kB / 0.5659 GB, free: 13.45 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.54e-05/0.3631, allocations: 25.7 kB / 0.566 GB, free: 13.42 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001764/0.3633, allocations: 358.8 kB / 0.5663 GB, free: 13.06 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.882e-05/0.3634, allocations: 31.97 kB / 0.5663 GB, free: 13.03 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.473e-05/0.3634, allocations: 27.98 kB / 0.5664 GB, free: 13 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001777/0.3636, allocations: 85.03 kB / 0.5664 GB, free: 12.91 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.3636, allocations: 0 / 0.5664 GB, free: 12.91 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000274/0.3639, allocations: 153.3 kB / 0.5666 GB, free: 12.76 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.3639, allocations: 4 kB / 0.5666 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.3639, allocations: 0 / 0.5666 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.3639, allocations: 0 / 0.5666 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001058/0.364, allocations: 19.98 kB / 0.5666 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.364, allocations: 0 / 0.5666 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.609e-05/0.3641, allocations: 15.92 kB / 0.5666 GB, free: 12.72 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.214e-06/0.3641, allocations: 0 / 0.5666 GB, free: 12.72 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 (8): * Single equations (assignments): 8 * 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.0002019/0.3643, allocations: 213.8 kB / 0.5668 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.321e-05/0.3644, allocations: 43.72 kB / 0.5669 GB, free: 12.46 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000377/0.3648, allocations: 189.3 kB / 0.567 GB, free: 12.26 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.3648, allocations: 7.984 kB / 0.5671 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.3648, allocations: 0 / 0.5671 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/0.3648, allocations: 7.938 kB / 0.5671 GB, free: 12.24 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006785/0.3655, allocations: 0.5187 MB / 0.5676 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.3655, allocations: 0 / 0.5676 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.162e-05/0.3655, allocations: 16 kB / 0.5676 GB, free: 11.65 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.3655, allocations: 3.938 kB / 0.5676 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.3655, allocations: 8.016 kB / 0.5676 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.959e-06/0.3655, allocations: 4 kB / 0.5676 GB, free: 11.63 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3655, allocations: 3.938 kB / 0.5676 GB, free: 11.63 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003205/0.3659, allocations: 244 kB / 0.5678 GB, free: 11.37 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000108/0.366, allocations: 125.1 kB / 0.568 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.635e-05/0.366, allocations: 4 kB / 0.568 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.211e-05/0.3661, allocations: 8 kB / 0.568 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.706e-05/0.3661, allocations: 3.984 kB / 0.568 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.149e-06/0.3661, allocations: 4 kB / 0.568 GB, free: 11.21 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007073/0.3668, allocations: 0.6628 MB / 0.5686 GB, free: 10.55 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3668, allocations: 4 kB / 0.5686 GB, free: 10.55 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002753/0.3671, allocations: 20 kB / 0.5686 GB, free: 10.53 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.00239/0.3695, allocations: 1.152 MB / 0.5698 GB, free: 9.523 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002693/0.3698, allocations: 75.94 kB / 0.5698 GB, free: 9.449 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.3698, allocations: 0 / 0.5698 GB, free: 9.449 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001085/0.3699, allocations: 43.91 kB / 0.5699 GB, free: 9.406 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004571/0.3703, allocations: 24.98 kB / 0.5699 GB, free: 9.387 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004275/0.3746, allocations: 3.403 MB / 0.5732 GB, free: 5.895 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005727/0.3752, allocations: 0.8338 MB / 0.574 GB, free: 5.035 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.442e-05/0.3753, allocations: 24.72 kB / 0.5741 GB, free: 5.012 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001819/0.3755, allocations: 123.4 kB / 0.5742 GB, free: 4.891 MB / 414.1 MB Notification: Performance of SimCode: time 8.61e-07/0.3755, allocations: 0 / 0.5742 GB, free: 4.891 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02952/0.405, allocations: 6.478 MB / 0.5805 GB, free: 14.42 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.715/9.12, allocations: 7.484 kB / 0.5805 GB, free: 14.42 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test2_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_Test2.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.008265601005405] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'clock.y', 'const.y', 'd2_t_new.y'] 9.248567992006429 9.263839474 8.902403818 Calling exit ...