Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test26.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.001309/0.001309, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.001444/0.001444, allocations: 213.2 kB / 24.54 MB, free: 4.016 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.522/1.522, allocations: 230.5 MB / 258.2 MB, free: 8.047 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.2398/0.2398, allocations: 46.93 MB / 361.6 MB, free: 4.215 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.Test26,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test26",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test26,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test26",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.002383/0.002383, allocations: 75.88 kB / 0.497 GB, free: 7.77 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3357/0.338, allocations: 66.08 MB / 0.5615 GB, free: 4.328 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test26): time 0.003521/0.3416, allocations: 1.641 MB / 0.5631 GB, free: 2.684 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001085/0.3427, allocations: 0.5615 MB / 0.5637 GB, free: 2.121 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.043e-05/0.3427, allocations: 0 / 0.5637 GB, free: 2.121 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002696/0.343, allocations: 79.77 kB / 0.5638 GB, free: 2.043 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003118/0.3433, allocations: 103.6 kB / 0.5639 GB, free: 1.941 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003087/0.3436, allocations: 119.3 kB / 0.564 GB, free: 1.828 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001844/0.3438, allocations: 87.75 kB / 0.5641 GB, free: 1.742 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001004/0.3439, allocations: 15.98 kB / 0.5641 GB, free: 1.727 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.16e-05/0.3439, allocations: 27.92 kB / 0.5641 GB, free: 1.699 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001261/0.3441, allocations: 67.8 kB / 0.5642 GB, free: 1.633 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.376e-05/0.3441, allocations: 0 / 0.5642 GB, free: 1.633 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.759e-05/0.3442, allocations: 51.92 kB / 0.5642 GB, free: 1.582 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.495e-05/0.3442, allocations: 23.91 kB / 0.5642 GB, free: 1.559 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.741e-05/0.3443, allocations: 31.69 kB / 0.5643 GB, free: 1.527 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002089/0.3445, allocations: 111.5 kB / 0.5644 GB, free: 1.418 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.3445, allocations: 0 / 0.5644 GB, free: 1.418 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.695e-06/0.3445, allocations: 4 kB / 0.5644 GB, free: 1.414 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.049e-05/0.3445, allocations: 0 / 0.5644 GB, free: 1.414 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.000561/0.3451, allocations: 337.6 kB / 0.5647 GB, free: 1.051 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.3451, allocations: 12.03 kB / 0.5647 GB, free: 1.039 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.016e-05/0.3452, allocations: 34.73 kB / 0.5647 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.606e-05/0.3452, allocations: 12.84 kB / 0.5647 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002099/0.3454, allocations: 147 kB / 0.5649 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.558e-05/0.3454, allocations: 8.375 kB / 0.5649 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.223e-05/0.3454, allocations: 384 / 0.5649 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001518/0.3456, allocations: 62.23 kB / 0.565 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/0.3456, allocations: 3.938 kB / 0.565 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.975e-06/0.3456, allocations: 0 / 0.565 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.3456, allocations: 0 / 0.565 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.784e-05/0.3457, allocations: 31.97 kB / 0.565 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004234/0.3461, allocations: 267.8 kB / 0.5652 GB, free: 408 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001305/0.3463, allocations: 54.55 kB / 0.5653 GB, free: 344 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.971e-05/0.3463, allocations: 16.86 kB / 0.5653 GB, free: 324 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.91e-05/0.3463, allocations: 0 / 0.5653 GB, free: 324 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.107e-05/0.3464, allocations: 34.64 kB / 0.5653 GB, free: 280 kB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 8.22e-07/0.3464, allocations: 4 kB / 0.5654 GB, free: 276 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009375/0.3473, allocations: 249.5 kB / 0.5656 GB, free: 20 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.827e-05/0.3474, allocations: 55.34 kB / 0.5656 GB, free: 15.95 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002341/0.3476, allocations: 210.3 kB / 0.5658 GB, free: 15.74 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.3476, allocations: 25.7 kB / 0.5659 GB, free: 15.71 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.624e-05/0.3477, allocations: 112.1 kB / 0.566 GB, free: 15.59 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.424e-05/0.3477, allocations: 31.73 kB / 0.566 GB, free: 15.56 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.07e-05/0.3478, allocations: 21.72 kB / 0.566 GB, free: 15.54 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001649/0.3479, allocations: 330.7 kB / 0.5663 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.132e-05/0.348, allocations: 27.98 kB / 0.5664 GB, free: 15.18 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.567e-05/0.3481, allocations: 31.97 kB / 0.5664 GB, free: 15.14 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000167/0.3483, allocations: 81.03 kB / 0.5665 GB, free: 15.06 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.3483, allocations: 0 / 0.5665 GB, free: 15.06 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002323/0.3485, allocations: 117.5 kB / 0.5666 GB, free: 14.94 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.3485, allocations: 7.938 kB / 0.5666 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.3485, allocations: 0 / 0.5666 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.3485, allocations: 0 / 0.5666 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001028/0.3486, allocations: 19.98 kB / 0.5666 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.3486, allocations: 0 / 0.5666 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.09e-05/0.3487, allocations: 8 kB / 0.5666 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.017e-06/0.3487, allocations: 3.938 kB / 0.5666 GB, free: 14.9 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.0001019/0.3488, allocations: 130.7 kB / 0.5668 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.71e-05/0.3488, allocations: 11.91 kB / 0.5668 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003065/0.3491, allocations: 135 kB / 0.5669 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.3492, allocations: 0 / 0.5669 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.3492, allocations: 0 / 0.5669 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.3492, allocations: 4 kB / 0.5669 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006072/0.3498, allocations: 398.3 kB / 0.5673 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.3498, allocations: 0 / 0.5673 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.095e-05/0.3498, allocations: 15.98 kB / 0.5673 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.3498, allocations: 0 / 0.5673 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.207e-05/0.3499, allocations: 11.94 kB / 0.5673 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.3499, allocations: 4 kB / 0.5673 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3499, allocations: 0 / 0.5673 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003029/0.3502, allocations: 216.3 kB / 0.5675 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.798e-05/0.3502, allocations: 11.91 kB / 0.5675 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.112e-05/0.3502, allocations: 7.938 kB / 0.5675 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.016e-05/0.3503, allocations: 4 kB / 0.5675 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.972e-05/0.3503, allocations: 3.984 kB / 0.5675 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.756e-06/0.3503, allocations: 8 kB / 0.5675 GB, free: 13.86 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002094/0.3505, allocations: 168.2 kB / 0.5677 GB, free: 13.7 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3505, allocations: 0 / 0.5677 GB, free: 13.7 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002471/0.3508, allocations: 23.92 kB / 0.5677 GB, free: 13.68 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.002259/0.353, allocations: 1.094 MB / 0.5688 GB, free: 12.72 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002462/0.3533, allocations: 71.95 kB / 0.5689 GB, free: 12.65 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.3533, allocations: 4 kB / 0.5689 GB, free: 12.64 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001019/0.3534, allocations: 43.91 kB / 0.5689 GB, free: 12.6 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000372/0.3538, allocations: 20.67 kB / 0.5689 GB, free: 12.58 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002032/0.3558, allocations: 1.716 MB / 0.5706 GB, free: 10.79 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003592/0.3561, allocations: 0.7119 MB / 0.5713 GB, free: 10.05 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.93e-05/0.3562, allocations: 24.94 kB / 0.5713 GB, free: 10.02 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.853e-05/0.3563, allocations: 35.36 kB / 0.5714 GB, free: 9.988 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3563, allocations: 0 / 0.5714 GB, free: 9.988 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02697/0.3833, allocations: 3.24 MB / 0.5745 GB, free: 6.754 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.014/8.397, allocations: 6.406 kB / 0.5745 GB, free: 6.75 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test26.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test26_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00079968 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test26.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.531056052073836] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'clock.y', 'd2_t_new.y'] 8.541972014121711 8.56508867 8.216324042 Calling exit ...