Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegStep.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.TestRegStep,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestUtilities_TestRegStep",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.01005/0.01005, 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.757/1.757, allocations: 170.8 MB / 186.7 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.001693/0.001693, allocations: 98.84 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.4821/0.4821, allocations: 38.05 MB / 303.7 MB, free: 42.38 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005901/0.0005903, allocations: 12 kB / 363 MB, free: 5.492 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1001/0.1007, allocations: 48.72 MB / 411.7 MB, free: 4.699 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.0007564/0.1015, allocations: 266.3 kB / 412 MB, free: 4.441 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002847/0.1018, allocations: 67.73 kB / 412 MB, free: 4.375 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.703e-05/0.1018, allocations: 0 / 412 MB, free: 4.375 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 1.373e-05/0.1019, allocations: 0 / 412 MB, free: 4.375 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001878/0.1021, allocations: 7.984 kB / 412 MB, free: 4.367 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.084e-05/0.1021, allocations: 4 kB / 412 MB, free: 4.363 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 4.773e-05/0.1022, allocations: 11.94 kB / 412.1 MB, free: 4.352 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.271e-05/0.1022, allocations: 0 / 412.1 MB, free: 4.352 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.1e-05/0.1022, allocations: 4 kB / 412.1 MB, free: 4.348 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.372e-05/0.1023, allocations: 3.984 kB / 412.1 MB, free: 4.344 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.125e-05/0.1023, allocations: 0 / 412.1 MB, free: 4.344 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.508e-05/0.1024, allocations: 19.98 kB / 412.1 MB, free: 4.324 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 1.134e-05/0.1024, allocations: 7.922 kB / 412.1 MB, free: 4.316 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.376e-05/0.1025, allocations: 25.7 kB / 412.1 MB, free: 4.285 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 7.254e-05/0.1026, allocations: 15.98 kB / 412.1 MB, free: 4.27 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.1026, allocations: 0 / 412.1 MB, free: 4.27 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.844e-06/0.1026, allocations: 0 / 412.1 MB, free: 4.27 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.1026, allocations: 4 kB / 412.1 MB, free: 4.266 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003136/0.1029, allocations: 315.5 kB / 412.4 MB, free: 3.91 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.943e-05/0.103, allocations: 12.09 kB / 412.5 MB, free: 3.898 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.726e-05/0.103, allocations: 30.56 kB / 412.5 MB, free: 3.859 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.361e-05/0.1031, allocations: 0 / 412.5 MB, free: 3.859 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001266/0.1032, allocations: 167 kB / 412.6 MB, free: 3.656 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.205e-05/0.1032, allocations: 0 / 412.6 MB, free: 3.656 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.515e-05/0.1033, allocations: 8 kB / 412.7 MB, free: 3.648 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000108/0.1034, allocations: 33.69 kB / 412.7 MB, free: 3.609 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.72e-05/0.1034, allocations: 4 kB / 412.7 MB, free: 3.605 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.366e-05/0.1034, allocations: 3.938 kB / 412.7 MB, free: 3.602 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.1035, allocations: 0 / 412.7 MB, free: 3.602 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.875e-05/0.1035, allocations: 7.984 kB / 412.7 MB, free: 3.594 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001859/0.1037, allocations: 153.6 kB / 412.9 MB, free: 3.395 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002305/0.104, allocations: 42.48 kB / 412.9 MB, free: 3.344 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.998e-05/0.104, allocations: 16.86 kB / 412.9 MB, free: 3.324 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005661/0.1046, allocations: 129.1 kB / 413 MB, free: 3.18 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.236e-05/0.1046, allocations: 38.5 kB / 413.1 MB, free: 3.133 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 2.855e-06/0.1047, allocations: 4 kB / 413.1 MB, free: 3.129 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.002183/0.1069, allocations: 213.4 kB / 413.3 MB, free: 2.914 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.667e-05/0.1069, allocations: 55.34 kB / 413.3 MB, free: 2.848 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.449e-05/0.107, allocations: 93.86 kB / 413.4 MB, free: 2.746 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.136e-05/0.1071, allocations: 29.7 kB / 413.5 MB, free: 2.711 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.9e-05/0.1071, allocations: 84.12 kB / 413.5 MB, free: 2.625 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.052e-05/0.1072, allocations: 15.75 kB / 413.6 MB, free: 2.609 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.304e-06/0.1072, allocations: 0 / 413.6 MB, free: 2.609 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001445/0.1073, allocations: 318.8 kB / 413.9 MB, free: 2.289 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001831/0.1075, allocations: 19.98 kB / 413.9 MB, free: 2.27 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001469/0.1077, allocations: 32.09 kB / 413.9 MB, free: 2.238 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001518/0.1079, allocations: 23.98 kB / 413.9 MB, free: 2.215 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.1079, allocations: 0 / 413.9 MB, free: 2.215 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003809/0.1083, allocations: 81.67 kB / 414 MB, free: 2.129 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.162e-05/0.1083, allocations: 4 kB / 414 MB, free: 2.125 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.1083, allocations: 0 / 414 MB, free: 2.125 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.097e-05/0.1084, allocations: 0 / 414 MB, free: 2.125 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002199/0.1086, allocations: 19.92 kB / 414 MB, free: 2.105 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.244e-05/0.1086, allocations: 7.984 kB / 414.1 MB, free: 2.098 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001522/0.1088, allocations: 4 kB / 414.1 MB, free: 2.094 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.502e-05/0.1088, allocations: 0 / 414.1 MB, free: 2.094 MB / 314.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 (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 0.0001213/0.1089, allocations: 124.1 kB / 414.2 MB, free: 1.965 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.161e-05/0.109, allocations: 4.266 kB / 414.2 MB, free: 1.961 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004909/0.1095, allocations: 89.22 kB / 414.3 MB, free: 1.867 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.285e-06/0.1095, allocations: 7.984 kB / 414.3 MB, free: 1.859 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.686e-06/0.1095, allocations: 4 kB / 414.3 MB, free: 1.855 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.1095, allocations: 0 / 414.3 MB, free: 1.855 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001207/0.1107, allocations: 379.2 kB / 414.7 MB, free: 1.426 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.838e-06/0.1108, allocations: 0 / 414.7 MB, free: 1.426 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001856/0.111, allocations: 23.92 kB / 414.7 MB, free: 1.402 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.997e-06/0.111, allocations: 0 / 414.7 MB, free: 1.402 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.421e-05/0.111, allocations: 8.25 kB / 414.7 MB, free: 1.395 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.111, allocations: 0 / 414.7 MB, free: 1.395 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.111, allocations: 4 kB / 414.7 MB, free: 1.391 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004333/0.1115, allocations: 184.4 kB / 414.9 MB, free: 1.191 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.661e-05/0.1116, allocations: 85.11 kB / 415 MB, free: 1.09 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.45e-05/0.1116, allocations: 3.984 kB / 415 MB, free: 1.086 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001764/0.1118, allocations: 8 kB / 415 MB, free: 1.078 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.434e-05/0.1119, allocations: 7.938 kB / 415 MB, free: 1.07 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.415e-05/0.1119, allocations: 3.984 kB / 415 MB, free: 1.066 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.453e-05/0.112, allocations: 79.28 kB / 415.1 MB, free: 0.9883 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.335e-06/0.112, allocations: 0 / 415.1 MB, free: 0.9883 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003355/0.1123, allocations: 15.94 kB / 415.1 MB, free: 0.9727 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 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.0008054/0.1131, allocations: 0.7173 MB / 415.8 MB, free: 232 kB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003595/0.1135, allocations: 59.89 kB / 415.8 MB, free: 172 kB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.1135, allocations: 0 / 415.8 MB, free: 172 kB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001514/0.1137, allocations: 27.98 kB / 415.9 MB, free: 144 kB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003675/0.1141, allocations: 1.875 kB / 415.9 MB, free: 144 kB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008522/0.1149, allocations: 177.2 kB / 416 MB, free: 15.92 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003028/0.1153, allocations: 0.6848 MB / 416.7 MB, free: 15.21 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 8.494e-05/0.1154, allocations: 8 kB / 416.7 MB, free: 15.2 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.08e-05/0.1155, allocations: 11.44 kB / 416.7 MB, free: 15.19 MB / 330.7 MB Notification: Performance of SimCode: time 1.232e-06/0.1155, allocations: 0 / 416.7 MB, free: 15.19 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02496/0.1405, allocations: 1.258 MB / 418 MB, free: 13.98 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003228/0.1409, allocations: 189.4 kB / 418.2 MB, free: 13.73 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.554/2.695, allocations: 4 kB / 418.2 MB, free: 13.73 MB / 330.7 MB "" Variables in the reference:time,x,yRegStep,yRegStep_der Variables in the result:der(x),der(yRegStep),time,x,x_small,yRegStep,yRegStep_der