Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.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.001712/0.001712, 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.002077/0.002077, 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.552/1.552, allocations: 230.5 MB / 258.2 MB, free: 8.023 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.2441/0.2441, allocations: 46.93 MB / 361.6 MB, free: 4.203 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.Fluid.TestUtilities.TestRegRoot2Derivatives,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestUtilities_TestRegRoot2Derivatives",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestUtilities_TestRegRoot2Derivatives",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.002326/0.002326, allocations: 79.88 kB / 0.497 GB, free: 7.789 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4085/0.4108, allocations: 66.09 MB / 0.5615 GB, free: 4.332 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives): time 0.001854/0.4127, allocations: 0.5306 MB / 0.562 GB, free: 3.805 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009806/0.4137, allocations: 414.7 kB / 0.5624 GB, free: 3.395 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.023e-05/0.4137, allocations: 0 / 0.5624 GB, free: 3.395 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 2.668e-05/0.4137, allocations: 11.94 kB / 0.5624 GB, free: 3.383 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.269e-05/0.4138, allocations: 0 / 0.5624 GB, free: 3.383 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005133/0.4143, allocations: 142.8 kB / 0.5626 GB, free: 3.25 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.992e-05/0.4144, allocations: 27.92 kB / 0.5626 GB, free: 3.223 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.781e-05/0.4144, allocations: 3.984 kB / 0.5626 GB, free: 3.219 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.698e-05/0.4144, allocations: 11.94 kB / 0.5626 GB, free: 3.207 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.054e-05/0.4145, allocations: 15.92 kB / 0.5626 GB, free: 3.191 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.216e-05/0.4145, allocations: 4 kB / 0.5626 GB, free: 3.188 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003379/0.4148, allocations: 167.8 kB / 0.5628 GB, free: 3.023 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.195e-05/0.4149, allocations: 4 kB / 0.5628 GB, free: 3.02 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.86e-05/0.4149, allocations: 15.86 kB / 0.5628 GB, free: 3.004 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002388/0.4151, allocations: 121.8 kB / 0.5629 GB, free: 2.887 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.4151, allocations: 0 / 0.5629 GB, free: 2.887 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.4151, allocations: 0 / 0.5629 GB, free: 2.887 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.075e-05/0.4151, allocations: 0 / 0.5629 GB, free: 2.887 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.0004513/0.4156, allocations: 297.9 kB / 0.5632 GB, free: 2.566 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.4156, allocations: 8.031 kB / 0.5632 GB, free: 2.559 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.998e-05/0.4157, allocations: 42.75 kB / 0.5633 GB, free: 2.508 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.042e-05/0.4157, allocations: 0.9375 kB / 0.5633 GB, free: 2.508 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001224/0.4158, allocations: 118.4 kB / 0.5634 GB, free: 2.367 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.387e-05/0.4158, allocations: 384 / 0.5634 GB, free: 2.367 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.043e-05/0.4159, allocations: 16.3 kB / 0.5634 GB, free: 2.352 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001261/0.416, allocations: 50 kB / 0.5634 GB, free: 2.297 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.441e-05/0.416, allocations: 4 kB / 0.5634 GB, free: 2.293 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.416, allocations: 4 kB / 0.5634 GB, free: 2.289 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.416, allocations: 0 / 0.5634 GB, free: 2.289 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.44e-05/0.4161, allocations: 31.91 kB / 0.5635 GB, free: 2.258 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001991/0.4163, allocations: 148.7 kB / 0.5636 GB, free: 2.07 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002323/0.4165, allocations: 54.55 kB / 0.5637 GB, free: 2.008 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.692e-05/0.4166, allocations: 16.86 kB / 0.5637 GB, free: 1.988 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002399/0.4168, allocations: 32.23 kB / 0.5637 GB, free: 1.957 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.754e-05/0.4168, allocations: 54.38 kB / 0.5638 GB, free: 1.895 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.112e-06/0.4168, allocations: 0 / 0.5638 GB, free: 1.895 MB / 398.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: k2 2: k1 3: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.1301/0.5469, allocations: 6.373 MB / 0.57 GB, free: 11.48 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.979e-05/0.547, allocations: 55.41 kB / 0.57 GB, free: 11.41 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.84e-05/0.5471, allocations: 97.86 kB / 0.5701 GB, free: 11.3 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.614e-05/0.5471, allocations: 29.7 kB / 0.5702 GB, free: 11.27 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.712e-05/0.5472, allocations: 84.14 kB / 0.5702 GB, free: 11.18 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.327e-05/0.5473, allocations: 75.41 kB / 0.5703 GB, free: 11.11 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001591/0.5474, allocations: 93.53 kB / 0.5704 GB, free: 11.01 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001379/0.5476, allocations: 322.8 kB / 0.5707 GB, free: 10.69 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005344/0.5481, allocations: 223.8 kB / 0.5709 GB, free: 10.47 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005284/0.5486, allocations: 234.2 kB / 0.5711 GB, free: 10.24 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002037/0.5507, allocations: 0.5591 MB / 0.5717 GB, free: 9.68 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.81e-07/0.5507, allocations: 0 / 0.5717 GB, free: 9.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001824/0.5525, allocations: 0.6126 MB / 0.5723 GB, free: 9.062 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.187e-05/0.5525, allocations: 8 kB / 0.5723 GB, free: 9.055 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.5525, allocations: 0 / 0.5723 GB, free: 9.055 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.5525, allocations: 0 / 0.5723 GB, free: 9.055 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006513/0.5532, allocations: 103.8 kB / 0.5724 GB, free: 8.953 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.5532, allocations: 0 / 0.5724 GB, free: 8.953 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000441/0.5536, allocations: 35.95 kB / 0.5724 GB, free: 8.918 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.223e-05/0.5537, allocations: 31.94 kB / 0.5725 GB, free: 8.887 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 (19): * Single equations (assignments): 19 * 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.0001563/0.5538, allocations: 117.7 kB / 0.5726 GB, free: 8.762 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.942e-05/0.5539, allocations: 7.953 kB / 0.5726 GB, free: 8.754 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002059/0.556, allocations: 0.728 MB / 0.5733 GB, free: 8.016 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.808e-06/0.556, allocations: 4 kB / 0.5733 GB, free: 8.012 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.556, allocations: 0 / 0.5733 GB, free: 8.012 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.556, allocations: 0 / 0.5733 GB, free: 8.012 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004051/0.56, allocations: 1.121 MB / 0.5744 GB, free: 6.828 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.051e-06/0.56, allocations: 4.25 kB / 0.5744 GB, free: 6.824 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005482/0.5606, allocations: 100.3 kB / 0.5745 GB, free: 6.727 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.928e-06/0.5606, allocations: 7.984 kB / 0.5745 GB, free: 6.719 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.663e-05/0.5606, allocations: 23.95 kB / 0.5745 GB, free: 6.695 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.107e-06/0.5606, allocations: 7.938 kB / 0.5745 GB, free: 6.688 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.5606, allocations: 8.188 kB / 0.5745 GB, free: 6.68 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001713/0.5624, allocations: 0.5811 MB / 0.5751 GB, free: 6.066 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.861e-05/0.5624, allocations: 19.88 kB / 0.5751 GB, free: 6.047 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.198e-05/0.5624, allocations: 4 kB / 0.5751 GB, free: 6.043 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000401/0.5628, allocations: 23.97 kB / 0.5751 GB, free: 6.02 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.243e-05/0.5629, allocations: 19.97 kB / 0.5752 GB, free: 6 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.381e-05/0.5629, allocations: 35.89 kB / 0.5752 GB, free: 5.965 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.335e-05/0.563, allocations: 83.22 kB / 0.5753 GB, free: 5.883 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.563, allocations: 0 / 0.5753 GB, free: 5.883 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001682/0.5647, allocations: 0.6519 MB / 0.5759 GB, free: 5.23 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (19): * Single equations (assignments): 19 * 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.004817/0.5695, allocations: 1.306 MB / 0.5772 GB, free: 3.875 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001203/0.5707, allocations: 439.5 kB / 0.5776 GB, free: 3.445 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.531e-06/0.5707, allocations: 4 kB / 0.5776 GB, free: 3.441 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005085/0.5712, allocations: 195.7 kB / 0.5778 GB, free: 3.25 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003197/0.5715, allocations: 10.81 kB / 0.5778 GB, free: 3.242 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003234/0.5747, allocations: 0.6167 MB / 0.5784 GB, free: 2.562 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003195/0.5751, allocations: 0.6926 MB / 0.5791 GB, free: 1.84 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004277/0.5755, allocations: 125 kB / 0.5792 GB, free: 1.715 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003105/0.5758, allocations: 103.3 kB / 0.5793 GB, free: 1.613 MB / 414.1 MB Notification: Performance of SimCode: time 7.72e-07/0.5758, allocations: 3.938 kB / 0.5793 GB, free: 1.609 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1007/0.6765, allocations: 58.8 MB / 0.6367 GB, free: 6.758 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.212/8.889, allocations: 11.19 kB / 0.6368 GB, free: 6.75 MB / 478.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestUtilities_TestRegRoot2Derivatives.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.080805357079953] Failed to read output from testmodel.py, exit status != 0: ['time', 'x', 'y', 'yd', 'ydd', 'k1', 'k2', 'y2', 'y2d', 'y2dd'] 8.973409353755414 8.995837006 8.575779276 Calling exit ...