Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.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.TestRegRootDerivative,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative",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.01501/0.01501, allocations: 163.9 kB / 15.12 MB, free: 5.965 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.811/1.811, allocations: 170.8 MB / 186.6 MB, free: 1.109 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.001772/0.001771, 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.5041/0.5041, allocations: 38.05 MB / 303.7 MB, free: 42.51 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004726/0.0004728, allocations: 12 kB / 363 MB, free: 5.469 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1028/0.1033, allocations: 48.71 MB / 411.7 MB, free: 4.68 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.0006915/0.104, allocations: 234.4 kB / 411.9 MB, free: 4.453 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003064/0.1044, allocations: 83.73 kB / 412 MB, free: 4.371 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.28e-05/0.1044, allocations: 0 / 412 MB, free: 4.371 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 1.348e-05/0.1044, allocations: 0 / 412 MB, free: 4.371 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 1.797e-05/0.1045, allocations: 0 / 412 MB, free: 4.371 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001666/0.1046, allocations: 15.97 kB / 412 MB, free: 4.355 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 4.595e-05/0.1047, allocations: 7.984 kB / 412 MB, free: 4.348 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.006e-05/0.1048, allocations: 4 kB / 412 MB, free: 4.344 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.748e-05/0.1048, allocations: 11.94 kB / 412.1 MB, free: 4.332 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.382e-05/0.1049, allocations: 7.984 kB / 412.1 MB, free: 4.324 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.249e-05/0.1049, allocations: 0 / 412.1 MB, free: 4.324 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000103/0.105, allocations: 31.97 kB / 412.1 MB, free: 4.293 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 8.396e-06/0.105, allocations: 0 / 412.1 MB, free: 4.293 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.806e-05/0.1051, allocations: 29.64 kB / 412.1 MB, free: 4.258 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 6.956e-05/0.1051, allocations: 15.98 kB / 412.1 MB, free: 4.242 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.1051, allocations: 0 / 412.1 MB, free: 4.242 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.1052, allocations: 0 / 412.1 MB, free: 4.242 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.241e-05/0.1052, allocations: 0 / 412.1 MB, free: 4.242 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000405/0.1056, allocations: 331.6 kB / 412.5 MB, free: 3.871 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/0.1056, allocations: 8.031 kB / 412.5 MB, free: 3.863 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.376e-05/0.1057, allocations: 38.55 kB / 412.5 MB, free: 3.816 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.275e-05/0.1057, allocations: 0 / 412.5 MB, free: 3.816 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001346/0.1059, allocations: 171 kB / 412.7 MB, free: 3.609 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.147e-05/0.1059, allocations: 0 / 412.7 MB, free: 3.609 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.527e-05/0.1059, allocations: 8 kB / 412.7 MB, free: 3.602 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001494/0.1061, allocations: 59.33 kB / 412.7 MB, free: 3.531 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.578e-05/0.1061, allocations: 4 kB / 412.7 MB, free: 3.527 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.686e-06/0.1061, allocations: 3.938 kB / 412.8 MB, free: 3.523 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.1061, allocations: 0 / 412.8 MB, free: 3.523 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.351e-05/0.1062, allocations: 12 kB / 412.8 MB, free: 3.512 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003649/0.1066, allocations: 329 kB / 413.1 MB, free: 3.137 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.457e-05/0.1067, allocations: 26.52 kB / 413.1 MB, free: 3.102 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.791e-05/0.1067, allocations: 20.94 kB / 413.1 MB, free: 3.078 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.112e-05/0.1068, allocations: 4 kB / 413.1 MB, free: 3.074 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.065e-05/0.1068, allocations: 30.56 kB / 413.2 MB, free: 3.035 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 1.593e-06/0.1068, allocations: 0 / 413.2 MB, free: 3.035 MB / 314.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002352/0.1071, allocations: 53.69 kB / 413.2 MB, free: 2.977 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.713e-05/0.1071, allocations: 55.34 kB / 413.3 MB, free: 2.91 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.45e-05/0.1072, allocations: 93.86 kB / 413.4 MB, free: 2.809 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.574e-05/0.1073, allocations: 29.83 kB / 413.4 MB, free: 2.773 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.564e-05/0.1073, allocations: 88.05 kB / 413.5 MB, free: 2.684 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.705e-05/0.1074, allocations: 11.8 kB / 413.5 MB, free: 2.672 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.098e-06/0.1074, allocations: 4 kB / 413.5 MB, free: 2.668 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001409/0.1075, allocations: 318.8 kB / 413.8 MB, free: 2.348 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.19e-05/0.1076, allocations: 4 kB / 413.8 MB, free: 2.344 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.667e-05/0.1076, allocations: 21.7 kB / 413.8 MB, free: 2.316 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.421e-05/0.1077, allocations: 8 kB / 413.8 MB, free: 2.309 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1077, allocations: 0 / 413.8 MB, free: 2.309 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001407/0.1079, allocations: 61.62 kB / 413.9 MB, free: 2.242 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.1079, allocations: 4 kB / 413.9 MB, free: 2.238 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.1079, allocations: 0 / 413.9 MB, free: 2.238 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.1079, allocations: 0 / 413.9 MB, free: 2.238 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001084/0.108, allocations: 8.125 kB / 413.9 MB, free: 2.23 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.868e-06/0.1081, allocations: 4 kB / 413.9 MB, free: 2.227 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.668e-05/0.1081, allocations: 7.938 kB / 413.9 MB, free: 2.219 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.628e-06/0.1081, allocations: 0 / 413.9 MB, free: 2.219 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * 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 9.539e-05/0.1082, allocations: 124.2 kB / 414 MB, free: 2.09 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.073e-05/0.1083, allocations: 4 kB / 414 MB, free: 2.086 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001745/0.1085, allocations: 57.12 kB / 414.1 MB, free: 2.02 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/0.1085, allocations: 4 kB / 414.1 MB, free: 2.016 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.1085, allocations: 0 / 414.1 MB, free: 2.016 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.1085, allocations: 0 / 414.1 MB, free: 2.016 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002169/0.1087, allocations: 169.5 kB / 414.3 MB, free: 1.801 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.1087, allocations: 0 / 414.3 MB, free: 1.801 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.046e-05/0.1088, allocations: 8 kB / 414.3 MB, free: 1.793 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.1088, allocations: 4 kB / 414.3 MB, free: 1.789 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-06/0.1089, allocations: 0 / 414.3 MB, free: 1.789 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.579e-06/0.1089, allocations: 3.984 kB / 414.3 MB, free: 1.785 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.1089, allocations: 0 / 414.3 MB, free: 1.785 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001986/0.1091, allocations: 151.5 kB / 414.4 MB, free: 1.621 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.14e-05/0.1092, allocations: 81.33 kB / 414.5 MB, free: 1.523 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.734e-05/0.1092, allocations: 4 kB / 414.5 MB, free: 1.52 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.687e-05/0.1093, allocations: 3.938 kB / 414.5 MB, free: 1.516 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.9e-05/0.1093, allocations: 11.98 kB / 414.5 MB, free: 1.504 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.171e-06/0.1093, allocations: 0 / 414.5 MB, free: 1.504 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.688e-05/0.1094, allocations: 79.28 kB / 414.6 MB, free: 1.426 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.1094, allocations: 0 / 414.6 MB, free: 1.426 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003105/0.1097, allocations: 4 kB / 414.6 MB, free: 1.422 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.0005616/0.1103, allocations: 0.697 MB / 415.3 MB, free: 0.6992 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001328/0.1104, allocations: 20 kB / 415.3 MB, free: 0.6797 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.1104, allocations: 0 / 415.3 MB, free: 0.6797 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.236e-05/0.1105, allocations: 15.98 kB / 415.3 MB, free: 0.6641 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003037/0.1108, allocations: 7.938 kB / 415.4 MB, free: 0.6562 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005457/0.1114, allocations: 144.3 kB / 415.5 MB, free: 484 kB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003337/0.1117, allocations: 0.681 MB / 416.2 MB, free: 15.77 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.697e-05/0.1118, allocations: 11.92 kB / 416.2 MB, free: 15.75 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.105e-05/0.1119, allocations: 7.438 kB / 416.2 MB, free: 15.75 MB / 330.7 MB Notification: Performance of SimCode: time 9.91e-07/0.1119, allocations: 0 / 416.2 MB, free: 15.75 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0209/0.1328, allocations: 1.059 MB / 417.3 MB, free: 14.73 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002006/0.133, allocations: 201.4 kB / 417.5 MB, free: 14.49 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.515/2.648, allocations: 0 / 417.5 MB, free: 14.49 MB / 330.7 MB "" Variables in the reference:time,x,y,yd,k1,k2 Variables in the result:k1,k2,time,x,x_small,y,yd