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.001367/0.001367, allocations: 118.6 kB / 18.5 MB, free: 4.602 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.001535/0.001535, allocations: 206.6 kB / 21.45 MB, free: 1.652 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.51/1.51, allocations: 230.5 MB / 254.7 MB, free: 14.84 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.2445/0.2445, allocations: 46.91 MB / 357.7 MB, free: 10.3 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.002375/0.002375, allocations: 72.16 kB / 0.4916 GB, free: 7.84 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1863/0.1887, allocations: 66.04 MB / 0.5561 GB, free: 5.668 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives): time 0.001733/0.1904, allocations: 0.5416 MB / 0.5567 GB, free: 5.121 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008103/0.1912, allocations: 411.3 kB / 0.5571 GB, free: 4.715 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.892e-05/0.1913, allocations: 0 / 0.5571 GB, free: 4.715 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 2.072e-05/0.1913, allocations: 3.938 kB / 0.5571 GB, free: 4.711 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 2.626e-05/0.1913, allocations: 0 / 0.5571 GB, free: 4.711 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000514/0.1918, allocations: 139.6 kB / 0.5572 GB, free: 4.574 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 6.585e-05/0.1919, allocations: 35.89 kB / 0.5572 GB, free: 4.539 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.462e-05/0.1919, allocations: 3.984 kB / 0.5572 GB, free: 4.535 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.455e-05/0.192, allocations: 11.94 kB / 0.5572 GB, free: 4.523 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.606e-05/0.192, allocations: 15.92 kB / 0.5573 GB, free: 4.508 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.062e-05/0.192, allocations: 0 / 0.5573 GB, free: 4.508 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003023/0.1923, allocations: 163.8 kB / 0.5574 GB, free: 4.348 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.649e-05/0.1923, allocations: 11.98 kB / 0.5574 GB, free: 4.336 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 2.653e-05/0.1924, allocations: 23.86 kB / 0.5575 GB, free: 4.312 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002116/0.1926, allocations: 119.6 kB / 0.5576 GB, free: 4.195 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1926, allocations: 3.938 kB / 0.5576 GB, free: 4.191 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1926, allocations: 0 / 0.5576 GB, free: 4.191 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.1926, allocations: 0 / 0.5576 GB, free: 4.191 MB / 414.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.0005579/0.1931, allocations: 375 kB / 0.5579 GB, free: 3.777 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/0.1932, allocations: 8.031 kB / 0.5579 GB, free: 3.77 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.301e-05/0.1932, allocations: 34.75 kB / 0.558 GB, free: 3.727 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.662e-05/0.1932, allocations: 8.875 kB / 0.558 GB, free: 3.719 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001451/0.1934, allocations: 172.3 kB / 0.5581 GB, free: 3.512 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.18e-05/0.1934, allocations: 8.375 kB / 0.5582 GB, free: 3.504 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.27e-05/0.1934, allocations: 4.375 kB / 0.5582 GB, free: 3.5 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001338/0.1936, allocations: 54 kB / 0.5582 GB, free: 3.441 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.1936, allocations: 0 / 0.5582 GB, free: 3.441 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.1936, allocations: 4 kB / 0.5582 GB, free: 3.438 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.1936, allocations: 0 / 0.5582 GB, free: 3.438 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.397e-05/0.1937, allocations: 31.91 kB / 0.5582 GB, free: 3.406 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002056/0.1939, allocations: 173.6 kB / 0.5584 GB, free: 3.188 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002137/0.1941, allocations: 58.55 kB / 0.5585 GB, free: 3.121 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.757e-05/0.1941, allocations: 20.86 kB / 0.5585 GB, free: 3.098 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002828/0.1944, allocations: 105.1 kB / 0.5586 GB, free: 2.977 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.773e-05/0.1944, allocations: 38.78 kB / 0.5586 GB, free: 2.93 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.032e-06/0.1944, allocations: 0 / 0.5586 GB, free: 2.93 MB / 414.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.141/0.3355, allocations: 6.376 MB / 0.5648 GB, free: 12.52 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.199e-05/0.3355, allocations: 59.81 kB / 0.5649 GB, free: 12.45 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.933e-05/0.3356, allocations: 97.86 kB / 0.565 GB, free: 12.34 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.926e-05/0.3357, allocations: 33.64 kB / 0.565 GB, free: 12.3 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.212e-05/0.3357, allocations: 80.14 kB / 0.5651 GB, free: 12.22 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001037/0.3358, allocations: 71.36 kB / 0.5652 GB, free: 12.15 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001843/0.336, allocations: 97.53 kB / 0.5653 GB, free: 12.05 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001441/0.3362, allocations: 326.8 kB / 0.5656 GB, free: 11.72 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005638/0.3367, allocations: 227.8 kB / 0.5658 GB, free: 11.5 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005628/0.3373, allocations: 227.8 kB / 0.566 GB, free: 11.27 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002192/0.3395, allocations: 0.5611 MB / 0.5666 GB, free: 10.71 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.3395, allocations: 0 / 0.5666 GB, free: 10.71 MB / 430.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001961/0.3414, allocations: 0.6104 MB / 0.5672 GB, free: 10.09 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.838e-05/0.3415, allocations: 6.188 kB / 0.5672 GB, free: 10.09 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.802e-06/0.3415, allocations: 0 / 0.5672 GB, free: 10.09 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/0.3415, allocations: 0 / 0.5672 GB, free: 10.09 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006575/0.3421, allocations: 107.8 kB / 0.5673 GB, free: 9.984 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.046e-06/0.3422, allocations: 4 kB / 0.5673 GB, free: 9.98 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004288/0.3426, allocations: 23.95 kB / 0.5673 GB, free: 9.957 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.749e-05/0.3426, allocations: 39.94 kB / 0.5673 GB, free: 9.918 MB / 430.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.0001708/0.3428, allocations: 121.7 kB / 0.5674 GB, free: 9.789 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.969e-05/0.3429, allocations: 7.953 kB / 0.5675 GB, free: 9.781 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00222/0.3451, allocations: 0.7298 MB / 0.5682 GB, free: 9.047 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.3451, allocations: 256 / 0.5682 GB, free: 9.047 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.3451, allocations: 0 / 0.5682 GB, free: 9.047 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.612e-06/0.3451, allocations: 4 kB / 0.5682 GB, free: 9.043 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004095/0.3492, allocations: 1.168 MB / 0.5693 GB, free: 7.805 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.3492, allocations: 0 / 0.5693 GB, free: 7.805 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005476/0.3498, allocations: 99.86 kB / 0.5694 GB, free: 7.707 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/0.3498, allocations: 0 / 0.5694 GB, free: 7.707 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.06e-05/0.3498, allocations: 27.95 kB / 0.5694 GB, free: 7.68 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.3498, allocations: 0 / 0.5694 GB, free: 7.68 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.836e-06/0.3498, allocations: 7.938 kB / 0.5694 GB, free: 7.672 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001839/0.3517, allocations: 0.5784 MB / 0.57 GB, free: 7.059 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.367e-05/0.3517, allocations: 85.06 kB / 0.5701 GB, free: 6.957 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.186e-05/0.3518, allocations: 11.94 kB / 0.5701 GB, free: 6.945 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004061/0.3522, allocations: 27.95 kB / 0.5701 GB, free: 6.918 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.969e-05/0.3522, allocations: 19.92 kB / 0.5701 GB, free: 6.898 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.199e-05/0.3523, allocations: 31.95 kB / 0.5702 GB, free: 6.867 MB / 430.1 MB Notification: Performance of sorting global known variables: time 5.254e-05/0.3523, allocations: 87.22 kB / 0.5703 GB, free: 6.781 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3523, allocations: 0 / 0.5703 GB, free: 6.781 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001806/0.3541, allocations: 0.648 MB / 0.5709 GB, free: 6.133 MB / 430.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.005405/0.3595, allocations: 1.313 MB / 0.5722 GB, free: 4.773 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001263/0.3608, allocations: 435.5 kB / 0.5726 GB, free: 4.348 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.3608, allocations: 0 / 0.5726 GB, free: 4.348 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00055/0.3614, allocations: 199.7 kB / 0.5728 GB, free: 4.152 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003042/0.3617, allocations: 15.94 kB / 0.5728 GB, free: 4.137 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003635/0.3653, allocations: 0.6205 MB / 0.5734 GB, free: 3.457 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003942/0.3657, allocations: 0.6926 MB / 0.5741 GB, free: 2.734 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004214/0.3661, allocations: 124.9 kB / 0.5742 GB, free: 2.605 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003518/0.3665, allocations: 95.28 kB / 0.5743 GB, free: 2.512 MB / 430.1 MB Notification: Performance of SimCode: time 1.533e-06/0.3665, allocations: 0 / 0.5743 GB, free: 2.512 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3216/0.6881, allocations: 58.6 MB / 0.6315 GB, free: 10.33 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.649/9.337, allocations: 4.938 kB / 0.6315 GB, free: 10.32 MB / 446.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.449241262394935] Failed to read output from testmodel.py, exit status != 0: ['time', 'x', 'y', 'yd', 'ydd', 'k1', 'k2', 'y2', 'y2d', 'y2dd'] 9.421833535190672 9.434827738 9.239710926999999 Calling exit ...