Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.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.TestRegRoot2ZeroDerivative,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative",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.01086/0.01086, allocations: 163.5 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.808/1.808, allocations: 170.8 MB / 186.6 MB, free: 1.125 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.001826/0.001825, 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.5048/0.5048, allocations: 38.05 MB / 303.7 MB, free: 42.41 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006607/0.0006611, allocations: 15.98 kB / 363 MB, free: 5.484 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1207/0.1215, allocations: 48.72 MB / 411.7 MB, free: 4.691 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.0007644/0.1223, allocations: 258.3 kB / 412 MB, free: 4.441 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009575/0.1233, allocations: 371.3 kB / 412.3 MB, free: 4.074 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.285e-05/0.1233, allocations: 4 kB / 412.3 MB, free: 4.07 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 1.323e-05/0.1233, allocations: 0 / 412.3 MB, free: 4.07 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 2.576e-05/0.1234, allocations: 3.938 kB / 412.3 MB, free: 4.066 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005632/0.124, allocations: 87.84 kB / 412.4 MB, free: 3.98 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 7.648e-05/0.1241, allocations: 27.91 kB / 412.4 MB, free: 3.953 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.892e-05/0.1241, allocations: 0 / 412.4 MB, free: 3.953 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.028e-05/0.1242, allocations: 19.92 kB / 412.5 MB, free: 3.934 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.994e-05/0.1242, allocations: 23.91 kB / 412.5 MB, free: 3.91 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.362e-05/0.1243, allocations: 4 kB / 412.5 MB, free: 3.906 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003499/0.1246, allocations: 135.8 kB / 412.6 MB, free: 3.773 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 1.953e-05/0.1247, allocations: 11.98 kB / 412.6 MB, free: 3.762 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.043e-05/0.1247, allocations: 37.58 kB / 412.7 MB, free: 3.719 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000185/0.1249, allocations: 76.11 kB / 412.7 MB, free: 3.645 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.005e-06/0.1249, allocations: 4 kB / 412.7 MB, free: 3.641 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.125, allocations: 0 / 412.7 MB, free: 3.641 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.125, allocations: 0 / 412.7 MB, free: 3.641 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004808/0.1255, allocations: 347.3 kB / 413.1 MB, free: 3.254 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.949e-05/0.1255, allocations: 19.97 kB / 413.1 MB, free: 3.234 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.515e-05/0.1256, allocations: 34.56 kB / 413.1 MB, free: 3.191 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.243e-05/0.1256, allocations: 4 kB / 413.1 MB, free: 3.188 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001532/0.1258, allocations: 170.9 kB / 413.3 MB, free: 2.98 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.942e-05/0.1258, allocations: 11.98 kB / 413.3 MB, free: 2.969 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.037e-05/0.1259, allocations: 11.98 kB / 413.3 MB, free: 2.957 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001848/0.1261, allocations: 65.61 kB / 413.4 MB, free: 2.887 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.543e-05/0.1261, allocations: 0 / 413.4 MB, free: 2.887 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.553e-05/0.1261, allocations: 4 kB / 413.4 MB, free: 2.883 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.962e-06/0.1261, allocations: 0 / 413.4 MB, free: 2.883 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001315/0.1263, allocations: 47.95 kB / 413.4 MB, free: 2.836 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002399/0.1265, allocations: 181.5 kB / 413.6 MB, free: 2.609 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002001/0.1267, allocations: 86.48 kB / 413.7 MB, free: 2.516 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.222e-05/0.1268, allocations: 24.86 kB / 413.7 MB, free: 2.488 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000391/0.1272, allocations: 117.1 kB / 413.8 MB, free: 2.355 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.324e-05/0.1273, allocations: 30.56 kB / 413.9 MB, free: 2.316 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 1.954e-06/0.1273, allocations: 0 / 413.9 MB, free: 2.316 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: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=23): time 0.3216/0.4489, allocations: 5.826 MB / 419.7 MB, free: 12.45 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.3e-05/0.449, allocations: 59.39 kB / 419.8 MB, free: 12.38 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001127/0.4492, allocations: 89.86 kB / 419.9 MB, free: 12.28 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.785e-05/0.4492, allocations: 33.7 kB / 419.9 MB, free: 12.24 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.053e-05/0.4493, allocations: 80.52 kB / 420 MB, free: 12.16 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001631/0.4495, allocations: 78.84 kB / 420 MB, free: 12.08 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.031e-05/0.4496, allocations: 0 / 420 MB, free: 12.08 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001959/0.4498, allocations: 322.8 kB / 420.4 MB, free: 11.75 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001084/0.4509, allocations: 136 kB / 420.5 MB, free: 11.62 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001033/0.4519, allocations: 139.9 kB / 420.6 MB, free: 11.48 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002162/0.4542, allocations: 176.3 kB / 420.8 MB, free: 11.31 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.053e-05/0.4542, allocations: 4 kB / 420.8 MB, free: 11.31 MB / 330.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.003558/0.4578, allocations: 409.1 kB / 421.2 MB, free: 10.9 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.442e-05/0.4579, allocations: 4 kB / 421.2 MB, free: 10.9 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.113e-05/0.4579, allocations: 0 / 421.2 MB, free: 10.9 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.726e-05/0.458, allocations: 4 kB / 421.2 MB, free: 10.89 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00107/0.4591, allocations: 91.91 kB / 421.3 MB, free: 10.8 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.434e-05/0.4591, allocations: 7.891 kB / 421.3 MB, free: 10.8 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005775/0.4597, allocations: 35.97 kB / 421.3 MB, free: 10.76 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.575e-05/0.4598, allocations: 15.98 kB / 421.4 MB, free: 10.75 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 (23): * Single equations (assignments): 23 * 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.0002439/0.46, allocations: 122.9 kB / 421.5 MB, free: 10.62 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.409e-05/0.4601, allocations: 7.906 kB / 421.5 MB, free: 10.61 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004163/0.4643, allocations: 473.8 kB / 421.9 MB, free: 10.14 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.506e-05/0.4644, allocations: 7.938 kB / 422 MB, free: 10.13 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.009e-05/0.4644, allocations: 0 / 422 MB, free: 10.13 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.233e-05/0.4645, allocations: 7.953 kB / 422 MB, free: 10.12 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006262/0.4707, allocations: 0.8736 MB / 422.8 MB, free: 9.188 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.799e-05/0.4708, allocations: 4 kB / 422.8 MB, free: 9.184 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009383/0.4718, allocations: 79.88 kB / 422.9 MB, free: 9.105 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.527e-05/0.4718, allocations: 4 kB / 422.9 MB, free: 9.102 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.35e-05/0.4719, allocations: 20.05 kB / 422.9 MB, free: 9.082 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.314e-06/0.4719, allocations: 0 / 422.9 MB, free: 9.082 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.4719, allocations: 0 / 422.9 MB, free: 9.082 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003503/0.4755, allocations: 477.3 kB / 423.4 MB, free: 8.594 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.144e-05/0.4756, allocations: 81.02 kB / 423.5 MB, free: 8.496 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.668e-05/0.4757, allocations: 4 kB / 423.5 MB, free: 8.492 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006085/0.4763, allocations: 39.95 kB / 423.5 MB, free: 8.453 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.626e-05/0.4764, allocations: 23.92 kB / 423.6 MB, free: 8.43 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.357e-05/0.4765, allocations: 11.98 kB / 423.6 MB, free: 8.418 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.973e-05/0.4766, allocations: 79.28 kB / 423.6 MB, free: 8.34 MB / 330.7 MB Notification: Performance of sort global known variables: time 9.31e-07/0.4766, allocations: 0 / 423.6 MB, free: 8.34 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.003601/0.4802, allocations: 0.6249 MB / 424.3 MB, free: 7.715 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (23): * Single equations (assignments): 23 * 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.01193/0.4922, allocations: 1.198 MB / 425.5 MB, free: 6.484 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002447/0.4948, allocations: 303.6 kB / 425.8 MB, free: 6.188 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.945e-06/0.4948, allocations: 4 kB / 425.8 MB, free: 6.184 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00116/0.496, allocations: 155.9 kB / 425.9 MB, free: 6.031 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005491/0.4966, allocations: 12 kB / 425.9 MB, free: 6.02 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004414/0.501, allocations: 0.4908 MB / 426.4 MB, free: 5.477 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003435/0.5014, allocations: 0.7011 MB / 427.1 MB, free: 4.75 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0005407/0.502, allocations: 77.08 kB / 427.2 MB, free: 4.676 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002645/0.5023, allocations: 59.39 kB / 427.3 MB, free: 4.617 MB / 330.7 MB Notification: Performance of SimCode: time 1.292e-06/0.5023, allocations: 0 / 427.3 MB, free: 4.617 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4021/0.9044, allocations: 54.76 MB / 482 MB, free: 22.6 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002902/0.9048, allocations: 203.1 kB / 482.2 MB, free: 22.36 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.256/4.161, allocations: 3.938 kB / 482.2 MB, free: 22.36 MB / 330.7 MB "" Variables in the reference:time,x,y1,y1d,y1dd,y2,y2d,y2dd,y3,y3d,y3dd,y4,y4d,y4dd Variables in the result:der(der(x)),der(x),der(y1),der(y1d),der(y2),der(y2d),der(y3),der(y3d),der(y4),der(y4d),time,x,x_small,y1,y1d,y1dd,y2,y2d,y2dd,y3,y3d,y3dd,y4,y4d,y4dd