Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative,fileNamePrefix="ModelicaTest_3_2_2_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.2+maint.om/package.mo): time 0.01491/0.01492, allocations: 176.3 kB / 15.13 MB, free: 5.949 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 2.102/2.102, allocations: 194.5 MB / 210.3 MB, free: 7.594 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001827/0.001827, allocations: 112.2 kB / 255.6 MB, free: 10.22 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2869/0.2869, allocations: 40.01 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005976/0.0005981, allocations: 13.5 kB / 406.3 MB, free: 51.82 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1358/0.1364, allocations: 54.88 MB / 461.2 MB, free: 3.168 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.0006734/0.1372, allocations: 277.7 kB / 461.4 MB, free: 2.898 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008268/0.138, allocations: 372.2 kB / 461.8 MB, free: 2.531 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.445e-05/0.1381, allocations: 0 / 461.8 MB, free: 2.531 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.237e-05/0.1381, allocations: 0 / 461.8 MB, free: 2.531 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 2.816e-05/0.1382, allocations: 4 kB / 461.8 MB, free: 2.527 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004987/0.1387, allocations: 95.77 kB / 461.9 MB, free: 2.434 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 5.822e-05/0.1388, allocations: 27.92 kB / 461.9 MB, free: 2.406 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.428e-05/0.1388, allocations: 7.984 kB / 461.9 MB, free: 2.398 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.695e-05/0.1388, allocations: 19.92 kB / 461.9 MB, free: 2.379 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.828e-05/0.1389, allocations: 11.92 kB / 461.9 MB, free: 2.367 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.574e-05/0.1389, allocations: 4 kB / 462 MB, free: 2.363 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002967/0.1392, allocations: 143.8 kB / 462.1 MB, free: 2.223 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.276e-05/0.1393, allocations: 4 kB / 462.1 MB, free: 2.219 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.596e-05/0.1393, allocations: 37.64 kB / 462.1 MB, free: 2.176 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001669/0.1395, allocations: 79.81 kB / 462.2 MB, free: 2.098 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.1395, allocations: 0 / 462.2 MB, free: 2.098 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1395, allocations: 0 / 462.2 MB, free: 2.098 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.1395, allocations: 0 / 462.2 MB, free: 2.098 MB / 298.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.0003786/0.1399, allocations: 351.4 kB / 462.6 MB, free: 1.707 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/0.14, allocations: 12.02 kB / 462.6 MB, free: 1.695 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.96e-05/0.14, allocations: 38.52 kB / 462.6 MB, free: 1.648 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.229e-05/0.1401, allocations: 7.906 kB / 462.6 MB, free: 1.641 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001326/0.1402, allocations: 163.1 kB / 462.8 MB, free: 1.441 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.449e-05/0.1402, allocations: 4 kB / 462.8 MB, free: 1.438 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.216e-05/0.1403, allocations: 8 kB / 462.8 MB, free: 1.43 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001567/0.1404, allocations: 68.84 kB / 462.9 MB, free: 1.359 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.999e-05/0.1405, allocations: 4 kB / 462.9 MB, free: 1.355 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.351e-05/0.1405, allocations: 4 kB / 462.9 MB, free: 1.352 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.784e-06/0.1405, allocations: 7.953 kB / 462.9 MB, free: 1.344 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001149/0.1406, allocations: 43.95 kB / 462.9 MB, free: 1.301 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001838/0.1408, allocations: 173.5 kB / 463.1 MB, free: 1.082 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000166/0.141, allocations: 86.53 kB / 463.2 MB, free: 0.9883 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.388e-05/0.1411, allocations: 32.84 kB / 463.2 MB, free: 0.9531 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003436/0.1414, allocations: 113 kB / 463.3 MB, free: 0.8242 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.141e-05/0.1415, allocations: 42.56 kB / 463.3 MB, free: 0.7734 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 2.334e-06/0.1415, allocations: 0 / 463.3 MB, free: 0.7734 MB / 298.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.2787/0.4202, allocations: 5.812 MB / 469.2 MB, free: 10.92 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.51e-05/0.4204, allocations: 55.41 kB / 469.2 MB, free: 10.86 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.529e-05/0.4205, allocations: 101.8 kB / 469.3 MB, free: 10.75 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.391e-05/0.4205, allocations: 29.7 kB / 469.3 MB, free: 10.71 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.632e-05/0.4206, allocations: 80.52 kB / 469.4 MB, free: 10.62 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001063/0.4207, allocations: 66.92 kB / 469.5 MB, free: 10.56 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.23e-05/0.4207, allocations: 8 kB / 469.5 MB, free: 10.55 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001488/0.4209, allocations: 322.8 kB / 469.8 MB, free: 10.23 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007212/0.4216, allocations: 136 kB / 469.9 MB, free: 10.09 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006963/0.4223, allocations: 142.1 kB / 470.1 MB, free: 9.957 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001398/0.4238, allocations: 179.7 kB / 470.3 MB, free: 9.781 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.4238, allocations: 0 / 470.3 MB, free: 9.781 MB / 314.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.00234/0.4262, allocations: 405.7 kB / 470.7 MB, free: 9.379 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.831e-05/0.4262, allocations: 9.406 kB / 470.7 MB, free: 9.371 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.166e-06/0.4262, allocations: 4 kB / 470.7 MB, free: 9.367 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.4263, allocations: 0 / 470.7 MB, free: 9.367 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007324/0.427, allocations: 87.92 kB / 470.8 MB, free: 9.281 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.427, allocations: 0 / 470.8 MB, free: 9.281 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003961/0.4274, allocations: 39.95 kB / 470.8 MB, free: 9.242 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.967e-05/0.4275, allocations: 19.98 kB / 470.8 MB, free: 9.223 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 (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.0001598/0.4277, allocations: 117.8 kB / 470.9 MB, free: 9.098 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.216e-05/0.4278, allocations: 23.8 kB / 470.9 MB, free: 9.074 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00272/0.4305, allocations: 477.9 kB / 471.4 MB, free: 8.602 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.488e-06/0.4305, allocations: 4 kB / 471.4 MB, free: 8.598 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.203e-06/0.4306, allocations: 0 / 471.4 MB, free: 8.598 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.4306, allocations: 0 / 471.4 MB, free: 8.598 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00418/0.4348, allocations: 0.8775 MB / 472.3 MB, free: 7.66 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.057e-06/0.4348, allocations: 3.984 kB / 472.3 MB, free: 7.656 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005849/0.4354, allocations: 88 kB / 472.4 MB, free: 7.57 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.115e-06/0.4354, allocations: 0 / 472.4 MB, free: 7.57 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.55e-05/0.4355, allocations: 11.98 kB / 472.4 MB, free: 7.559 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.634e-06/0.4355, allocations: 7.938 kB / 472.4 MB, free: 7.551 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.4355, allocations: 0 / 472.4 MB, free: 7.551 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00225/0.4378, allocations: 472.9 kB / 472.9 MB, free: 7.066 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.658e-05/0.4379, allocations: 85.02 kB / 473 MB, free: 6.965 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.73e-05/0.4379, allocations: 4 kB / 473 MB, free: 6.961 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003605/0.4383, allocations: 39.97 kB / 473 MB, free: 6.922 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.651e-05/0.4384, allocations: 19.92 kB / 473 MB, free: 6.902 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.839e-05/0.4384, allocations: 15.98 kB / 473 MB, free: 6.887 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.335e-05/0.4385, allocations: 87.22 kB / 473.1 MB, free: 6.801 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.4385, allocations: 0 / 473.1 MB, free: 6.801 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002477/0.441, allocations: 0.6172 MB / 473.7 MB, free: 6.184 MB / 314.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.008036/0.4491, allocations: 1.198 MB / 474.9 MB, free: 4.949 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001753/0.4509, allocations: 304.3 kB / 475.2 MB, free: 4.652 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.502e-06/0.451, allocations: 0 / 475.2 MB, free: 4.652 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007463/0.4517, allocations: 156 kB / 475.4 MB, free: 4.5 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000387/0.4521, allocations: 15.88 kB / 475.4 MB, free: 4.484 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00331/0.4555, allocations: 0.4989 MB / 475.9 MB, free: 3.93 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003471/0.4559, allocations: 0.6972 MB / 476.6 MB, free: 3.207 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0005779/0.4565, allocations: 85.08 kB / 476.7 MB, free: 3.125 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002628/0.4568, allocations: 55.39 kB / 476.7 MB, free: 3.07 MB / 314.7 MB Notification: Performance of SimCode: time 1.112e-06/0.4568, allocations: 0 / 476.7 MB, free: 3.07 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.137/0.5938, allocations: 54.75 MB / 0.519 GB, free: 12.19 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002678/0.5941, allocations: 199.2 kB / 0.5192 GB, free: 11.95 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.372/3.966, allocations: 0 / 0.5192 GB, free: 11.95 MB / 378.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