Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestUtilities_TestRegRoot2Derivatives",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.01042/0.01042, allocations: 163.6 kB / 15.12 MB, free: 5.953 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.808/1.808, allocations: 170.8 MB / 186.6 MB, free: 1.113 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001774/0.001773, allocations: 110.8 kB / 226.2 MB, free: 10.09 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.5156/0.5156, allocations: 38.06 MB / 303.7 MB, free: 42.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004835/0.0004838, allocations: 12 kB / 363 MB, free: 5.484 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1196/0.1201, allocations: 48.72 MB / 411.7 MB, free: 4.691 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives): time 0.0007539/0.1209, allocations: 262.3 kB / 412 MB, free: 4.438 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009175/0.1219, allocations: 371.3 kB / 412.3 MB, free: 4.07 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.682e-05/0.1219, allocations: 0 / 412.3 MB, free: 4.07 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 1.409e-05/0.1219, allocations: 3.938 kB / 412.3 MB, free: 4.066 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 3.093e-05/0.122, allocations: 0 / 412.3 MB, free: 4.066 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005539/0.1225, allocations: 99.77 kB / 412.4 MB, free: 3.969 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 5.998e-05/0.1226, allocations: 19.92 kB / 412.4 MB, free: 3.949 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.972e-05/0.1227, allocations: 4 kB / 412.4 MB, free: 3.945 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.685e-05/0.1227, allocations: 7.984 kB / 412.5 MB, free: 3.938 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.642e-05/0.1228, allocations: 23.91 kB / 412.5 MB, free: 3.914 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.269e-05/0.1228, allocations: 0 / 412.5 MB, free: 3.914 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003437/0.1232, allocations: 139.8 kB / 412.6 MB, free: 3.777 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 1.517e-05/0.1232, allocations: 7.984 kB / 412.6 MB, free: 3.77 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.338e-05/0.1233, allocations: 29.7 kB / 412.7 MB, free: 3.734 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001883/0.1235, allocations: 84.11 kB / 412.7 MB, free: 3.652 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.1235, allocations: 0 / 412.7 MB, free: 3.652 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.1235, allocations: 0 / 412.7 MB, free: 3.652 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.1235, allocations: 0 / 412.7 MB, free: 3.652 MB / 314.7 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.0004983/0.124, allocations: 351.3 kB / 413.1 MB, free: 3.262 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.858e-05/0.1241, allocations: 11.97 kB / 413.1 MB, free: 3.25 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.687e-05/0.1241, allocations: 38.48 kB / 413.1 MB, free: 3.203 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.103e-05/0.1242, allocations: 7.906 kB / 413.1 MB, free: 3.195 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001489/0.1243, allocations: 174.9 kB / 413.3 MB, free: 2.984 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.723e-05/0.1244, allocations: 8 kB / 413.3 MB, free: 2.977 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.736e-05/0.1244, allocations: 4 kB / 413.3 MB, free: 2.973 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001564/0.1246, allocations: 53.67 kB / 413.4 MB, free: 2.914 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.544e-05/0.1246, allocations: 3.938 kB / 413.4 MB, free: 2.91 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.1246, allocations: 0 / 413.4 MB, free: 2.91 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.1246, allocations: 4 kB / 413.4 MB, free: 2.906 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001023/0.1247, allocations: 27.98 kB / 413.4 MB, free: 2.879 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002332/0.125, allocations: 177.5 kB / 413.6 MB, free: 2.656 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002978/0.1253, allocations: 54.84 kB / 413.6 MB, free: 2.594 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.644e-05/0.1254, allocations: 28.78 kB / 413.7 MB, free: 2.562 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003761/0.1258, allocations: 109.1 kB / 413.8 MB, free: 2.438 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.486e-05/0.1258, allocations: 34.56 kB / 413.8 MB, free: 2.395 MB / 314.7 MB Notification: Performance of pre-optimization done (n=9): time 2.174e-06/0.1258, allocations: 4 kB / 413.8 MB, free: 2.391 MB / 314.7 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.2685/0.3943, allocations: 6.375 MB / 420.2 MB, free: 11.97 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.442e-05/0.3945, allocations: 55.41 kB / 420.2 MB, free: 11.91 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001113/0.3946, allocations: 101.8 kB / 420.3 MB, free: 11.8 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.177e-05/0.3947, allocations: 29.7 kB / 420.4 MB, free: 11.76 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.112e-05/0.3947, allocations: 84.14 kB / 420.4 MB, free: 11.68 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001222/0.3949, allocations: 63.09 kB / 420.5 MB, free: 11.61 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.358e-05/0.3949, allocations: 4 kB / 420.5 MB, free: 11.61 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001497/0.3951, allocations: 322.8 kB / 420.8 MB, free: 11.29 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008514/0.3959, allocations: 220.3 kB / 421 MB, free: 11.07 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008064/0.3968, allocations: 219.9 kB / 421.3 MB, free: 10.86 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001833/0.3986, allocations: 277.6 kB / 421.5 MB, free: 10.59 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.319e-06/0.3986, allocations: 0 / 421.5 MB, free: 10.59 MB / 330.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.002941/0.4016, allocations: 0.5909 MB / 422.1 MB, free: 9.988 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.267e-05/0.4017, allocations: 11.38 kB / 422.1 MB, free: 9.98 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.4017, allocations: 0 / 422.1 MB, free: 9.98 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.027e-05/0.4017, allocations: 4 kB / 422.1 MB, free: 9.977 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009423/0.4027, allocations: 91.89 kB / 422.2 MB, free: 9.887 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.799e-06/0.4027, allocations: 0 / 422.2 MB, free: 9.887 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005705/0.4033, allocations: 23.98 kB / 422.2 MB, free: 9.863 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.504e-05/0.4034, allocations: 27.92 kB / 422.3 MB, free: 9.836 MB / 330.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002107/0.4036, allocations: 132.1 kB / 422.4 MB, free: 9.699 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.114e-05/0.4037, allocations: 7.906 kB / 422.4 MB, free: 9.691 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003412/0.4071, allocations: 0.681 MB / 423.1 MB, free: 9.008 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.899e-06/0.4072, allocations: 4 kB / 423.1 MB, free: 9.004 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/0.4072, allocations: 0 / 423.1 MB, free: 9.004 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.4072, allocations: 0 / 423.1 MB, free: 9.004 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005494/0.4127, allocations: 1.085 MB / 424.2 MB, free: 7.848 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.097e-05/0.4128, allocations: 4.25 kB / 424.2 MB, free: 7.844 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001047/0.4138, allocations: 92.05 kB / 424.3 MB, free: 7.754 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.638e-06/0.4139, allocations: 4 kB / 424.3 MB, free: 7.75 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.379e-05/0.414, allocations: 23.97 kB / 424.3 MB, free: 7.727 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.848e-06/0.414, allocations: 11.88 kB / 424.3 MB, free: 7.715 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.414, allocations: 0 / 424.3 MB, free: 7.715 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00272/0.4167, allocations: 0.5666 MB / 424.9 MB, free: 7.113 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.84e-05/0.4168, allocations: 89.02 kB / 425 MB, free: 7.008 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.762e-05/0.4169, allocations: 11.98 kB / 425 MB, free: 6.996 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005315/0.4175, allocations: 27.92 kB / 425 MB, free: 6.969 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.169e-05/0.4175, allocations: 15.98 kB / 425 MB, free: 6.953 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.356e-05/0.4176, allocations: 19.98 kB / 425 MB, free: 6.934 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.818e-05/0.4177, allocations: 91.27 kB / 425.1 MB, free: 6.844 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.4177, allocations: 0 / 425.1 MB, free: 6.844 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002542/0.4202, allocations: 0.6328 MB / 425.8 MB, free: 6.211 MB / 330.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008283/0.4286, allocations: 1.303 MB / 427.1 MB, free: 4.859 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001787/0.4304, allocations: 435 kB / 427.5 MB, free: 4.438 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/0.4304, allocations: 4 kB / 427.5 MB, free: 4.434 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007584/0.4312, allocations: 184.1 kB / 427.7 MB, free: 4.254 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004159/0.4316, allocations: 15.98 kB / 427.7 MB, free: 4.238 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004615/0.4363, allocations: 0.6109 MB / 428.3 MB, free: 3.566 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003531/0.4367, allocations: 0.7007 MB / 429 MB, free: 2.836 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0006836/0.4374, allocations: 96.89 kB / 429.1 MB, free: 2.738 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004272/0.4378, allocations: 79.33 kB / 429.2 MB, free: 2.66 MB / 330.7 MB Notification: Performance of SimCode: time 1.492e-06/0.4378, allocations: 0 / 429.2 MB, free: 2.66 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3993/0.8372, allocations: 56.13 MB / 485.3 MB, free: 19.68 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002537/0.8375, allocations: 199.5 kB / 485.5 MB, free: 19.44 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.362/4.2, allocations: 0 / 485.5 MB, free: 19.44 MB / 330.7 MB "" Variables in the reference:time,x,y,yd,ydd,k1,k2,y2,y2d,y2dd Variables in the result:der(der(k1)),der(der(k2)),der(der(x)),der(k1),der(k2),der(x),der(y),der(y2),der(y2d),der(yd),k1,k1a,k1b,k2,k2a,k2b,time,x,x_small,y,y2,y2d,y2dd,yd,ydd