Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.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.00134/0.00134, 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.00145/0.00145, 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.483/1.483, allocations: 230.5 MB / 258.2 MB, free: 8.008 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.2417/0.2417, allocations: 46.93 MB / 361.6 MB, free: 4.195 MB / 286.1 MB " [Timeout remaining time 179] 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.CombiTable1Dv.Test2,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test2,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_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.002337/0.002337, allocations: 79.88 kB / 0.497 GB, free: 7.75 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3548/0.3571, allocations: 66.08 MB / 0.5615 GB, free: 4.305 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test2): time 0.003341/0.3605, allocations: 1.622 MB / 0.5631 GB, free: 2.68 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00111/0.3616, allocations: 0.5499 MB / 0.5636 GB, free: 2.129 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.518e-05/0.3616, allocations: 0 / 0.5636 GB, free: 2.129 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002339/0.3619, allocations: 35.77 kB / 0.5637 GB, free: 2.094 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003157/0.3622, allocations: 71.7 kB / 0.5637 GB, free: 2.023 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003505/0.3625, allocations: 107.7 kB / 0.5638 GB, free: 1.918 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000171/0.3627, allocations: 71.83 kB / 0.5639 GB, free: 1.848 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001161/0.3628, allocations: 15.92 kB / 0.5639 GB, free: 1.832 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.304e-05/0.3629, allocations: 19.94 kB / 0.564 GB, free: 1.812 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.575e-05/0.363, allocations: 23.84 kB / 0.564 GB, free: 1.789 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.569e-05/0.363, allocations: 4 kB / 0.564 GB, free: 1.785 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.07e-05/0.3631, allocations: 39.92 kB / 0.564 GB, free: 1.746 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.831e-05/0.3631, allocations: 15.92 kB / 0.564 GB, free: 1.73 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.273e-05/0.3632, allocations: 19.81 kB / 0.564 GB, free: 1.711 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002029/0.3634, allocations: 79.66 kB / 0.5641 GB, free: 1.633 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.3634, allocations: 0 / 0.5641 GB, free: 1.633 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.3634, allocations: 0 / 0.5641 GB, free: 1.633 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.342e-06/0.3634, allocations: 8 kB / 0.5641 GB, free: 1.625 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.0005254/0.3639, allocations: 305.9 kB / 0.5644 GB, free: 1.293 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.351e-05/0.3639, allocations: 8.031 kB / 0.5644 GB, free: 1.285 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.016e-05/0.364, allocations: 38.75 kB / 0.5645 GB, free: 1.238 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.046e-05/0.364, allocations: 4.891 kB / 0.5645 GB, free: 1.234 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001969/0.3642, allocations: 140.7 kB / 0.5646 GB, free: 1.074 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.12e-05/0.3642, allocations: 384 / 0.5646 GB, free: 1.074 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.168e-05/0.3643, allocations: 4.375 kB / 0.5646 GB, free: 1.07 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001485/0.3644, allocations: 50.25 kB / 0.5647 GB, free: 1.016 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.683e-05/0.3644, allocations: 11.86 kB / 0.5647 GB, free: 1.004 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.3644, allocations: 4 kB / 0.5647 GB, free: 1 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.89e-06/0.3644, allocations: 0 / 0.5647 GB, free: 1 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.739e-05/0.3645, allocations: 23.97 kB / 0.5647 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004309/0.365, allocations: 259.9 kB / 0.5649 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002272/0.3652, allocations: 42.56 kB / 0.565 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.679e-05/0.3653, allocations: 20.94 kB / 0.565 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.255e-05/0.3653, allocations: 0 / 0.565 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.937e-05/0.3653, allocations: 34.56 kB / 0.565 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 9.22e-07/0.3653, allocations: 0 / 0.565 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005871/0.3659, allocations: 153.4 kB / 0.5652 GB, free: 416 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.214e-05/0.3659, allocations: 51.41 kB / 0.5652 GB, free: 352 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001813/0.3661, allocations: 150.1 kB / 0.5654 GB, free: 188 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.327e-05/0.3662, allocations: 29.7 kB / 0.5654 GB, free: 152 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.129e-05/0.3662, allocations: 96.02 kB / 0.5655 GB, free: 52 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.577e-05/0.3662, allocations: 19.84 kB / 0.5655 GB, free: 32 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.79e-05/0.3663, allocations: 17.72 kB / 0.5655 GB, free: 8 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001827/0.3665, allocations: 326.8 kB / 0.5658 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.662e-05/0.3665, allocations: 27.92 kB / 0.5659 GB, free: 15.65 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.718e-05/0.3666, allocations: 19.98 kB / 0.5659 GB, free: 15.63 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001409/0.3667, allocations: 48.83 kB / 0.5659 GB, free: 15.58 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.3667, allocations: 3.984 kB / 0.5659 GB, free: 15.58 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002177/0.367, allocations: 89.81 kB / 0.566 GB, free: 15.48 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.367, allocations: 4 kB / 0.566 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.367, allocations: 4 kB / 0.566 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.367, allocations: 0 / 0.566 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.714e-05/0.3671, allocations: 15.98 kB / 0.566 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.3671, allocations: 3.938 kB / 0.5661 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.995e-05/0.3671, allocations: 7.984 kB / 0.5661 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-06/0.3671, allocations: 0 / 0.5661 GB, free: 15.45 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 9.462e-05/0.3672, allocations: 118.7 kB / 0.5662 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.939e-05/0.3672, allocations: 7.953 kB / 0.5662 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000251/0.3675, allocations: 102 kB / 0.5663 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.3675, allocations: 0 / 0.5663 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.3675, allocations: 0 / 0.5663 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.289e-06/0.3675, allocations: 7.938 kB / 0.5663 GB, free: 15.19 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000434/0.3679, allocations: 329.5 kB / 0.5666 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/0.3679, allocations: 0 / 0.5666 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.62e-05/0.368, allocations: 11.98 kB / 0.5666 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.368, allocations: 4 kB / 0.5666 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.736e-06/0.368, allocations: 8 kB / 0.5666 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.368, allocations: 0 / 0.5666 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.368, allocations: 3.938 kB / 0.5666 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002317/0.3682, allocations: 183.4 kB / 0.5668 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.176e-05/0.3682, allocations: 3.953 kB / 0.5668 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.85e-05/0.3683, allocations: 4.25 kB / 0.5668 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.486e-05/0.3683, allocations: 8 kB / 0.5668 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.987e-05/0.3684, allocations: 15.92 kB / 0.5668 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-06/0.3684, allocations: 0 / 0.5668 GB, free: 14.57 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.768e-05/0.3685, allocations: 117.7 kB / 0.5669 GB, free: 14.45 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3685, allocations: 0 / 0.5669 GB, free: 14.45 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002414/0.3687, allocations: 19.94 kB / 0.567 GB, free: 14.43 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.001979/0.3707, allocations: 1.017 MB / 0.568 GB, free: 13.53 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002298/0.3709, allocations: 55.84 kB / 0.568 GB, free: 13.48 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3709, allocations: 0 / 0.568 GB, free: 13.48 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.001e-05/0.371, allocations: 27.97 kB / 0.568 GB, free: 13.45 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004104/0.3714, allocations: 29.48 kB / 0.5681 GB, free: 13.43 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001764/0.3732, allocations: 1.457 MB / 0.5695 GB, free: 11.88 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000326/0.3735, allocations: 0.6924 MB / 0.5702 GB, free: 11.16 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.432e-05/0.3736, allocations: 27.83 kB / 0.5702 GB, free: 11.14 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.471e-05/0.3736, allocations: 23.44 kB / 0.5702 GB, free: 11.11 MB / 414.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3736, allocations: 0 / 0.5702 GB, free: 11.11 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02619/0.3998, allocations: 2.624 MB / 0.5728 GB, free: 8.496 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.981/8.381, allocations: 8.062 kB / 0.5728 GB, free: 8.488 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test2.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test2_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_CombiTable1Dv_Test2.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.52130879694596] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'clock.y'] 8.523344960995018 8.548860678 8.181072978 Calling exit ...