Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.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.TestRegSquare2Derivatives,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestUtilities_TestRegSquare2Derivatives",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.01688/0.01689, allocations: 163 kB / 15.12 MB, free: 5.957 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.758/1.758, allocations: 170.8 MB / 186.6 MB, free: 1.105 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.002533/0.002533, allocations: 102.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.4574/0.4574, allocations: 38.05 MB / 303.7 MB, free: 42.43 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005164/0.0005163, allocations: 12 kB / 363 MB, free: 5.484 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1021/0.1027, allocations: 48.72 MB / 411.7 MB, free: 4.688 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives): time 0.0007318/0.1035, allocations: 262.3 kB / 412 MB, free: 4.434 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008391/0.1044, allocations: 339.1 kB / 412.3 MB, free: 4.102 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.534e-05/0.1044, allocations: 4 kB / 412.3 MB, free: 4.098 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 1.336e-05/0.1044, allocations: 0 / 412.3 MB, free: 4.098 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 2.986e-05/0.1045, allocations: 3.938 kB / 412.3 MB, free: 4.094 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004008/0.1049, allocations: 71.86 kB / 412.4 MB, free: 4.023 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 5.902e-05/0.105, allocations: 23.91 kB / 412.4 MB, free: 4 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.713e-05/0.105, allocations: 4 kB / 412.4 MB, free: 3.996 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.155e-05/0.1051, allocations: 11.94 kB / 412.4 MB, free: 3.984 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.337e-05/0.1052, allocations: 19.92 kB / 412.4 MB, free: 3.965 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.432e-05/0.1052, allocations: 4 kB / 412.4 MB, free: 3.961 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002932/0.1055, allocations: 119.9 kB / 412.5 MB, free: 3.844 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 1.12e-05/0.1055, allocations: 0 / 412.5 MB, free: 3.844 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.713e-05/0.1056, allocations: 33.64 kB / 412.6 MB, free: 3.805 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001578/0.1057, allocations: 64.12 kB / 412.6 MB, free: 3.742 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.1057, allocations: 0 / 412.6 MB, free: 3.742 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.1057, allocations: 0 / 412.6 MB, free: 3.742 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.418e-06/0.1058, allocations: 0 / 412.6 MB, free: 3.742 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.0004826/0.1063, allocations: 355.3 kB / 413 MB, free: 3.348 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.1063, allocations: 8.031 kB / 413 MB, free: 3.34 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.592e-05/0.1064, allocations: 38.56 kB / 413 MB, free: 3.293 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.77e-05/0.1064, allocations: 7.844 kB / 413 MB, free: 3.285 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001397/0.1066, allocations: 171 kB / 413.2 MB, free: 3.078 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.484e-05/0.1066, allocations: 7.938 kB / 413.2 MB, free: 3.07 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.624e-05/0.1066, allocations: 4 kB / 413.2 MB, free: 3.066 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001625/0.1068, allocations: 57.61 kB / 413.3 MB, free: 3.004 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/0.1068, allocations: 0 / 413.3 MB, free: 3.004 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.1068, allocations: 0 / 413.3 MB, free: 3.004 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.346e-06/0.1068, allocations: 4 kB / 413.3 MB, free: 3 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.599e-05/0.107, allocations: 31.98 kB / 413.3 MB, free: 2.969 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002212/0.1072, allocations: 181.5 kB / 413.5 MB, free: 2.742 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002847/0.1075, allocations: 58.59 kB / 413.5 MB, free: 2.676 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.366e-05/0.1076, allocations: 24.84 kB / 413.6 MB, free: 2.648 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004039/0.108, allocations: 117.1 kB / 413.7 MB, free: 2.516 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.006e-05/0.108, allocations: 34.56 kB / 413.7 MB, free: 2.473 MB / 314.7 MB Notification: Performance of pre-optimization done (n=9): time 1.703e-06/0.108, allocations: 0 / 413.7 MB, free: 2.473 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.08162/0.1897, allocations: 2.813 MB / 416.5 MB, free: 15.63 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.834e-05/0.1898, allocations: 55.41 kB / 416.6 MB, free: 15.56 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001027/0.1899, allocations: 105.8 kB / 416.7 MB, free: 15.45 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.133e-05/0.1899, allocations: 33.7 kB / 416.7 MB, free: 15.41 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.362e-05/0.19, allocations: 80.14 kB / 416.8 MB, free: 15.33 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001089/0.1901, allocations: 75 kB / 416.9 MB, free: 15.25 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.087e-05/0.1902, allocations: 4 kB / 416.9 MB, free: 15.25 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001302/0.1903, allocations: 326.8 kB / 417.2 MB, free: 14.92 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007339/0.1911, allocations: 195.8 kB / 417.4 MB, free: 14.73 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007139/0.1918, allocations: 183.9 kB / 417.6 MB, free: 14.55 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009362/0.1927, allocations: 215.9 kB / 417.8 MB, free: 14.34 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.1928, allocations: 0 / 417.8 MB, free: 14.34 MB / 330.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001922/0.1947, allocations: 485.4 kB / 418.3 MB, free: 13.86 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.763e-05/0.1948, allocations: 4 kB / 418.3 MB, free: 13.86 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/0.1948, allocations: 4 kB / 418.3 MB, free: 13.85 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.086e-05/0.1948, allocations: 3.984 kB / 418.3 MB, free: 13.85 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006897/0.1955, allocations: 83.88 kB / 418.3 MB, free: 13.77 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.457e-06/0.1955, allocations: 4 kB / 418.3 MB, free: 13.76 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003919/0.1959, allocations: 19.98 kB / 418.4 MB, free: 13.74 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.34e-05/0.196, allocations: 19.98 kB / 418.4 MB, free: 13.72 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.0001752/0.1962, allocations: 124.1 kB / 418.5 MB, free: 13.59 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.345e-05/0.1963, allocations: 11.89 kB / 418.5 MB, free: 13.58 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002366/0.1987, allocations: 0.5795 MB / 419.1 MB, free: 13 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.016e-05/0.1987, allocations: 4 kB / 419.1 MB, free: 12.99 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/0.1987, allocations: 8 kB / 419.1 MB, free: 12.98 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.1988, allocations: 0 / 419.1 MB, free: 12.98 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003795/0.2026, allocations: 0.9401 MB / 420.1 MB, free: 11.97 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.142e-06/0.2026, allocations: 0 / 420.1 MB, free: 11.97 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005637/0.2032, allocations: 75.88 kB / 420.1 MB, free: 11.89 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.305e-05/0.2032, allocations: 7.953 kB / 420.1 MB, free: 11.89 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.265e-05/0.2033, allocations: 19.98 kB / 420.2 MB, free: 11.87 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.714e-06/0.2033, allocations: 480 / 420.2 MB, free: 11.87 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.229e-06/0.2033, allocations: 12.06 kB / 420.2 MB, free: 11.86 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001675/0.205, allocations: 488.3 kB / 420.6 MB, free: 11.34 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.715e-05/0.2051, allocations: 85.02 kB / 420.7 MB, free: 11.24 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.664e-05/0.2052, allocations: 8 kB / 420.7 MB, free: 11.23 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003639/0.2056, allocations: 31.91 kB / 420.8 MB, free: 11.2 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.695e-05/0.2056, allocations: 19.94 kB / 420.8 MB, free: 11.18 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.946e-05/0.2057, allocations: 16 kB / 420.8 MB, free: 11.17 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.111e-05/0.2058, allocations: 87.27 kB / 420.9 MB, free: 11.08 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.2058, allocations: 0 / 420.9 MB, free: 11.08 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001251/0.207, allocations: 308 kB / 421.2 MB, free: 10.78 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.004146/0.2112, allocations: 1.151 MB / 422.3 MB, free: 9.586 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001562/0.2128, allocations: 383.1 kB / 422.7 MB, free: 9.215 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.2129, allocations: 0 / 422.7 MB, free: 9.215 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007024/0.2136, allocations: 168.1 kB / 422.9 MB, free: 9.051 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000399/0.214, allocations: 12 kB / 422.9 MB, free: 9.039 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003325/0.2173, allocations: 0.5563 MB / 423.4 MB, free: 8.418 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003729/0.2178, allocations: 0.7006 MB / 424.1 MB, free: 7.688 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0009941/0.2188, allocations: 96.89 kB / 424.2 MB, free: 7.59 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005166/0.2194, allocations: 63.39 kB / 424.3 MB, free: 7.527 MB / 330.7 MB Notification: Performance of SimCode: time 1.884e-06/0.2194, allocations: 0 / 424.3 MB, free: 7.527 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3717/0.5911, allocations: 18.44 MB / 442.7 MB, free: 43.45 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002266/0.5914, allocations: 202.5 kB / 442.9 MB, free: 43.21 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.762/3.353, allocations: 4 kB / 442.9 MB, free: 43.21 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