Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test6.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.001222/0.001222, allocations: 109 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.001474/0.001474, 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.481/1.481, allocations: 230.5 MB / 258.2 MB, free: 8.012 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.2301/0.2301, allocations: 46.94 MB / 361.6 MB, free: 4.184 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.CombiTable1Dv.Test6,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test6,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test6",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.002526/0.002526, allocations: 84.12 kB / 0.497 GB, free: 7.746 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3676/0.3701, allocations: 66.09 MB / 0.5615 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test6): time 0.003155/0.3733, allocations: 1.669 MB / 0.5632 GB, free: 2.613 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001064/0.3743, allocations: 0.5694 MB / 0.5637 GB, free: 2.043 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.347e-05/0.3744, allocations: 3.938 kB / 0.5637 GB, free: 2.039 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002827/0.3747, allocations: 91.73 kB / 0.5638 GB, free: 1.949 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002759/0.3749, allocations: 111.6 kB / 0.5639 GB, free: 1.84 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003233/0.3753, allocations: 127.6 kB / 0.564 GB, free: 1.715 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001764/0.3754, allocations: 99.73 kB / 0.5641 GB, free: 1.617 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001028/0.3755, allocations: 19.98 kB / 0.5642 GB, free: 1.598 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.673e-05/0.3756, allocations: 43.84 kB / 0.5642 GB, free: 1.555 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001273/0.3757, allocations: 71.78 kB / 0.5643 GB, free: 1.484 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.702e-05/0.3758, allocations: 11.94 kB / 0.5643 GB, free: 1.473 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.289e-05/0.3759, allocations: 40 kB / 0.5643 GB, free: 1.434 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.864e-05/0.3759, allocations: 39.83 kB / 0.5644 GB, free: 1.395 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.792e-05/0.376, allocations: 43.62 kB / 0.5644 GB, free: 1.352 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002142/0.3762, allocations: 127.4 kB / 0.5645 GB, free: 1.227 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.656e-06/0.3762, allocations: 7.938 kB / 0.5645 GB, free: 1.219 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.3762, allocations: 0 / 0.5645 GB, free: 1.219 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.989e-06/0.3762, allocations: 0 / 0.5645 GB, free: 1.219 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005071/0.3767, allocations: 361.5 kB / 0.5649 GB, free: 0.832 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.3767, allocations: 8.031 kB / 0.5649 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.081e-05/0.3768, allocations: 38.73 kB / 0.5649 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.687e-05/0.3768, allocations: 16.84 kB / 0.5649 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001987/0.377, allocations: 162.2 kB / 0.5651 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.247e-06/0.377, allocations: 384 / 0.5651 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.229e-05/0.3771, allocations: 12.38 kB / 0.5651 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001723/0.3772, allocations: 74.22 kB / 0.5652 GB, free: 500 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.529e-05/0.3772, allocations: 7.891 kB / 0.5652 GB, free: 492 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.238e-06/0.3773, allocations: 0 / 0.5652 GB, free: 492 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.3773, allocations: 8 kB / 0.5652 GB, free: 484 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00012/0.3774, allocations: 39.97 kB / 0.5652 GB, free: 444 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004713/0.3779, allocations: 319.7 kB / 0.5655 GB, free: 80 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001338/0.378, allocations: 58.55 kB / 0.5656 GB, free: 12 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.956e-05/0.3781, allocations: 32.78 kB / 0.5656 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.445e-05/0.3781, allocations: 0 / 0.5656 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.053e-05/0.3781, allocations: 34.56 kB / 0.5656 GB, free: 15.93 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 7.82e-07/0.3781, allocations: 0 / 0.5656 GB, free: 15.93 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.001056/0.3792, allocations: 349 kB / 0.566 GB, free: 15.59 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.696e-05/0.3792, allocations: 55.34 kB / 0.566 GB, free: 15.52 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002765/0.3795, allocations: 239.5 kB / 0.5663 GB, free: 15.27 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.96e-05/0.3795, allocations: 25.7 kB / 0.5663 GB, free: 15.24 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.536e-05/0.3796, allocations: 120.1 kB / 0.5664 GB, free: 15.12 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.344e-05/0.3797, allocations: 43.58 kB / 0.5664 GB, free: 15.07 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.551e-05/0.3797, allocations: 33.7 kB / 0.5665 GB, free: 15.04 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.00015/0.3799, allocations: 322.8 kB / 0.5668 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001167/0.38, allocations: 43.97 kB / 0.5668 GB, free: 14.67 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.61e-05/0.3801, allocations: 47.91 kB / 0.5669 GB, free: 14.62 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002205/0.3803, allocations: 116.8 kB / 0.567 GB, free: 14.5 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.3803, allocations: 0 / 0.567 GB, free: 14.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002846/0.3806, allocations: 153.5 kB / 0.5671 GB, free: 14.35 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.3806, allocations: 10.34 kB / 0.5671 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.3806, allocations: 0 / 0.5671 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.3806, allocations: 0 / 0.5671 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001269/0.3807, allocations: 35.8 kB / 0.5672 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.3807, allocations: 0 / 0.5672 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.579e-05/0.3808, allocations: 8 kB / 0.5672 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.291e-05/0.3808, allocations: 7.984 kB / 0.5672 GB, free: 14.29 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 (13): * Single equations (assignments): 13 * 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.0001242/0.3809, allocations: 142.7 kB / 0.5673 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.998e-05/0.381, allocations: 11.91 kB / 0.5673 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004112/0.3814, allocations: 186.6 kB / 0.5675 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.3814, allocations: 3.938 kB / 0.5675 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.3814, allocations: 4 kB / 0.5675 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.3814, allocations: 8 kB / 0.5675 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006732/0.3821, allocations: 474.2 kB / 0.568 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.3821, allocations: 0 / 0.568 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.122e-05/0.3822, allocations: 23.98 kB / 0.568 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.3822, allocations: 0 / 0.568 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/0.3822, allocations: 8 kB / 0.568 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.3822, allocations: 0 / 0.568 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.3822, allocations: 7.969 kB / 0.568 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003342/0.3825, allocations: 260.2 kB / 0.5683 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.888e-05/0.3825, allocations: 11.91 kB / 0.5683 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.976e-05/0.3825, allocations: 0 / 0.5683 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.613e-05/0.3826, allocations: 11.98 kB / 0.5683 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.267e-05/0.3827, allocations: 11.98 kB / 0.5683 GB, free: 13.06 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.466e-06/0.3827, allocations: 4 kB / 0.5683 GB, free: 13.06 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001676/0.3828, allocations: 189.1 kB / 0.5685 GB, free: 12.88 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3828, allocations: 0 / 0.5685 GB, free: 12.88 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002893/0.3831, allocations: 27.94 kB / 0.5685 GB, free: 12.85 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 (13): * Single equations (assignments): 13 * 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.002185/0.3853, allocations: 1.137 MB / 0.5696 GB, free: 11.84 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002873/0.3856, allocations: 115.1 kB / 0.5697 GB, free: 11.73 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.3856, allocations: 0 / 0.5697 GB, free: 11.73 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001175/0.3857, allocations: 51.91 kB / 0.5698 GB, free: 11.68 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003689/0.3861, allocations: 23.95 kB / 0.5698 GB, free: 11.66 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002388/0.3885, allocations: 1.928 MB / 0.5717 GB, free: 9.637 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003825/0.3889, allocations: 0.7203 MB / 0.5724 GB, free: 8.891 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.651e-05/0.3889, allocations: 24.47 kB / 0.5724 GB, free: 8.867 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.29e-05/0.389, allocations: 55.41 kB / 0.5725 GB, free: 8.816 MB / 414.1 MB Notification: Performance of SimCode: time 4.61e-07/0.389, allocations: 0 / 0.5725 GB, free: 8.816 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0271/0.4161, allocations: 3.707 MB / 0.5761 GB, free: 5.113 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.92/8.336, allocations: 16.59 kB / 0.5761 GB, free: 5.102 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test6.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test6_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test6.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.441290135029703] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 't_new.y[2]', 'd_t_new.y', 'clock.y', 'd_t_new2.y', 'd2_t_new.y', 'd2_t_new2.y'] 8.47984809288755 8.495887932 8.116315111 Calling exit ...