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.001339/0.001339, allocations: 108.5 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.002061/0.002061, allocations: 215.7 kB / 23 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.455/1.455, allocations: 230.2 MB / 256.2 MB, free: 8.691 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.2333/0.2333, allocations: 46.88 MB / 359.4 MB, free: 4.93 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.002513/0.002513, allocations: 79.86 kB / 0.4941 GB, free: 9.035 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3728/0.3753, allocations: 65.98 MB / 0.5586 GB, free: 5.285 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives): time 0.001746/0.3771, allocations: 0.5529 MB / 0.5591 GB, free: 4.734 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007947/0.3779, allocations: 406.8 kB / 0.5595 GB, free: 4.332 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.746e-05/0.3779, allocations: 0 / 0.5595 GB, free: 4.332 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.656e-05/0.3779, allocations: 3.938 kB / 0.5595 GB, free: 4.328 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.658e-05/0.3779, allocations: 3.938 kB / 0.5595 GB, free: 4.324 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004924/0.3784, allocations: 139.4 kB / 0.5596 GB, free: 4.191 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 7.571e-05/0.3785, allocations: 31.84 kB / 0.5597 GB, free: 4.16 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.505e-05/0.3786, allocations: 4 kB / 0.5597 GB, free: 4.156 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.174e-05/0.3786, allocations: 11.94 kB / 0.5597 GB, free: 4.145 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.625e-05/0.3787, allocations: 19.92 kB / 0.5597 GB, free: 4.125 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.03e-05/0.3787, allocations: 0 / 0.5597 GB, free: 4.125 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002793/0.3789, allocations: 159.8 kB / 0.5598 GB, free: 3.969 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.441e-05/0.379, allocations: 8 kB / 0.5598 GB, free: 3.961 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.218e-05/0.379, allocations: 19.86 kB / 0.5599 GB, free: 3.941 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000222/0.3792, allocations: 117.9 kB / 0.56 GB, free: 3.828 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.3792, allocations: 0 / 0.56 GB, free: 3.828 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.427e-06/0.3792, allocations: 4 kB / 0.56 GB, free: 3.824 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.3792, allocations: 0 / 0.56 GB, free: 3.824 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.000486/0.3797, allocations: 375 kB / 0.5603 GB, free: 3.41 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.74e-05/0.3798, allocations: 12.03 kB / 0.5604 GB, free: 3.398 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.227e-05/0.3798, allocations: 34.73 kB / 0.5604 GB, free: 3.355 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.956e-05/0.3798, allocations: 8.938 kB / 0.5604 GB, free: 3.348 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001431/0.38, allocations: 164.3 kB / 0.5606 GB, free: 3.148 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.69e-05/0.38, allocations: 4.375 kB / 0.5606 GB, free: 3.145 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.117e-05/0.38, allocations: 384 / 0.5606 GB, free: 3.145 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001339/0.3801, allocations: 65.92 kB / 0.5606 GB, free: 3.074 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.3802, allocations: 7.938 kB / 0.5606 GB, free: 3.066 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/0.3802, allocations: 0 / 0.5606 GB, free: 3.066 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.3802, allocations: 0 / 0.5606 GB, free: 3.066 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.719e-05/0.3803, allocations: 31.92 kB / 0.5607 GB, free: 3.035 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002938/0.3806, allocations: 173.6 kB / 0.5608 GB, free: 2.816 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002322/0.3808, allocations: 58.58 kB / 0.5609 GB, free: 2.75 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.384e-05/0.3809, allocations: 20.84 kB / 0.5609 GB, free: 2.727 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002773/0.3811, allocations: 105.1 kB / 0.561 GB, free: 2.605 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.455e-05/0.3812, allocations: 42.48 kB / 0.561 GB, free: 2.555 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.132e-06/0.3812, allocations: 0 / 0.561 GB, free: 2.555 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.1336/0.5148, allocations: 6.379 MB / 0.5673 GB, free: 12.14 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.566e-05/0.5149, allocations: 55.41 kB / 0.5673 GB, free: 12.07 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.198e-05/0.515, allocations: 105.8 kB / 0.5674 GB, free: 11.96 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.401e-05/0.515, allocations: 33.7 kB / 0.5675 GB, free: 11.92 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.322e-05/0.5151, allocations: 80.14 kB / 0.5675 GB, free: 11.84 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.528e-05/0.5152, allocations: 63.44 kB / 0.5676 GB, free: 11.78 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001824/0.5153, allocations: 89.59 kB / 0.5677 GB, free: 11.68 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001408/0.5155, allocations: 322.8 kB / 0.568 GB, free: 11.36 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005477/0.516, allocations: 231.8 kB / 0.5682 GB, free: 11.13 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005673/0.5166, allocations: 238.1 kB / 0.5684 GB, free: 10.9 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002079/0.5187, allocations: 0.5551 MB / 0.569 GB, free: 10.34 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.5187, allocations: 4 kB / 0.569 GB, free: 10.34 MB / 414.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001864/0.5205, allocations: 0.604 MB / 0.5696 GB, free: 9.73 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/0.5206, allocations: 8 kB / 0.5696 GB, free: 9.723 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.5206, allocations: 0 / 0.5696 GB, free: 9.723 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/0.5206, allocations: 0 / 0.5696 GB, free: 9.723 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006425/0.5212, allocations: 115.8 kB / 0.5697 GB, free: 9.609 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.755e-06/0.5212, allocations: 0 / 0.5697 GB, free: 9.609 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000403/0.5216, allocations: 23.97 kB / 0.5697 GB, free: 9.586 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.713e-05/0.5217, allocations: 31.94 kB / 0.5697 GB, free: 9.555 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.0001588/0.5219, allocations: 117.8 kB / 0.5699 GB, free: 9.43 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.279e-05/0.5219, allocations: 8.422 kB / 0.5699 GB, free: 9.422 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00223/0.5242, allocations: 0.7312 MB / 0.5706 GB, free: 8.688 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.469e-06/0.5242, allocations: 4 kB / 0.5706 GB, free: 8.684 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.5242, allocations: 0 / 0.5706 GB, free: 8.684 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.648e-06/0.5242, allocations: 7.969 kB / 0.5706 GB, free: 8.676 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004068/0.5282, allocations: 1.161 MB / 0.5717 GB, free: 7.441 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.082e-06/0.5282, allocations: 4 kB / 0.5717 GB, free: 7.438 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005164/0.5288, allocations: 100.2 kB / 0.5718 GB, free: 7.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.344e-05/0.5288, allocations: 4 kB / 0.5718 GB, free: 7.336 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.659e-05/0.5288, allocations: 31.95 kB / 0.5719 GB, free: 7.305 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.659e-06/0.5288, allocations: 4 kB / 0.5719 GB, free: 7.301 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/0.5288, allocations: 7.984 kB / 0.5719 GB, free: 7.293 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001709/0.5306, allocations: 0.5781 MB / 0.5724 GB, free: 6.68 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.674e-05/0.5306, allocations: 85.06 kB / 0.5725 GB, free: 6.578 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.346e-05/0.5307, allocations: 15.98 kB / 0.5725 GB, free: 6.562 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003757/0.531, allocations: 19.97 kB / 0.5725 GB, free: 6.543 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.054e-05/0.5311, allocations: 15.98 kB / 0.5726 GB, free: 6.527 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.347e-05/0.5311, allocations: 27.95 kB / 0.5726 GB, free: 6.5 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.104e-05/0.5312, allocations: 91.2 kB / 0.5727 GB, free: 6.41 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5312, allocations: 3.938 kB / 0.5727 GB, free: 6.406 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001861/0.5331, allocations: 0.6441 MB / 0.5733 GB, free: 5.762 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.005273/0.5383, allocations: 1.306 MB / 0.5746 GB, free: 4.406 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001277/0.5396, allocations: 443.5 kB / 0.575 GB, free: 3.973 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.5396, allocations: 0 / 0.575 GB, free: 3.973 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005457/0.5402, allocations: 192.1 kB / 0.5752 GB, free: 3.785 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003165/0.5405, allocations: 19 kB / 0.5752 GB, free: 3.77 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003244/0.5437, allocations: 0.6301 MB / 0.5758 GB, free: 3.082 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003502/0.5441, allocations: 0.6926 MB / 0.5765 GB, free: 2.359 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004132/0.5445, allocations: 124.9 kB / 0.5766 GB, free: 2.23 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003428/0.5448, allocations: 99.27 kB / 0.5767 GB, free: 2.133 MB / 414.1 MB Notification: Performance of SimCode: time 8.02e-07/0.5448, allocations: 0 / 0.5767 GB, free: 2.133 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09991/0.6447, allocations: 58.7 MB / 0.634 GB, free: 7.379 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.589/9.233, allocations: 18.44 kB / 0.634 GB, free: 7.363 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.037794148985995] Failed to read output from testmodel.py, exit status != 0: ['time', 'x', 'y', 'yd', 'ydd', 'k1', 'k2', 'y2', 'y2d', 'y2dd'] 9.318194283987395 9.34221422 8.958484502 Calling exit ...