Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.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.TestRegRoot2Derivatives,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestUtilities_TestRegRoot2Derivatives",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.01035/0.01036, allocations: 164.5 kB / 15.11 MB, free: 5.934 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.829/1.829, 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.001967/0.001967, allocations: 95.41 kB / 226.2 MB, free: 10.11 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.469/0.469, allocations: 38.05 MB / 303.7 MB, free: 42.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004762/0.0004762, allocations: 8 kB / 363 MB, free: 5.504 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.1152, allocations: 48.71 MB / 411.7 MB, free: 4.719 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.407/0.5223, allocations: 73.31 MB / 485 MB, free: 14.5 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002211/0.5225, allocations: 70.77 kB / 485.1 MB, free: 14.46 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01309/0.5357, allocations: 2.965 MB / 488 MB, free: 11.98 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.5357, allocations: 0 / 488 MB, free: 11.98 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.544e-06/0.5357, allocations: 0 / 488 MB, free: 11.98 MB / 330.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.0003706/0.5361, allocations: 374.5 kB / 488.4 MB, free: 11.58 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/0.5362, allocations: 12.02 kB / 488.4 MB, free: 11.57 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.298e-05/0.5362, allocations: 33.38 kB / 488.4 MB, free: 11.53 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.856e-05/0.5363, allocations: 7.266 kB / 488.4 MB, free: 11.52 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.606e-05/0.5364, allocations: 163.1 kB / 488.6 MB, free: 11.32 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.003e-05/0.5364, allocations: 4 kB / 488.6 MB, free: 11.32 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.793e-05/0.5364, allocations: 7.438 kB / 488.6 MB, free: 11.32 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001422/0.5366, allocations: 56.8 kB / 488.7 MB, free: 11.26 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/0.5366, allocations: 3.906 kB / 488.7 MB, free: 11.26 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.5366, allocations: 0 / 488.7 MB, free: 11.26 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.523e-05/0.5367, allocations: 1.031 kB / 488.7 MB, free: 11.26 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.32e-05/0.5368, allocations: 27.05 kB / 488.7 MB, free: 11.24 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001758/0.5369, allocations: 180.5 kB / 488.9 MB, free: 11.02 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002616/0.5372, allocations: 57.53 kB / 488.9 MB, free: 10.96 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003164/0.5376, allocations: 116.4 kB / 489 MB, free: 10.83 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.727e-05/0.5376, allocations: 30.56 kB / 489.1 MB, free: 10.79 MB / 330.7 MB Notification: Performance of pre-optimization done (n=9): time 2.365e-06/0.5376, allocations: 7.922 kB / 489.1 MB, free: 10.79 MB / 330.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.2536/0.7912, allocations: 6.077 MB / 495.2 MB, free: 4.988 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.413e-05/0.7913, allocations: 55.41 kB / 495.2 MB, free: 4.922 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.667e-05/0.7914, allocations: 92.19 kB / 495.3 MB, free: 4.828 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.312e-05/0.7915, allocations: 29.52 kB / 495.3 MB, free: 4.797 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.847e-05/0.7915, allocations: 84.14 kB / 495.4 MB, free: 4.711 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.94e-05/0.7916, allocations: 61.94 kB / 495.5 MB, free: 4.656 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.072e-05/0.7917, allocations: 7.812 kB / 495.5 MB, free: 4.652 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.2e-05/0.7918, allocations: 318.6 kB / 495.8 MB, free: 4.336 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007236/0.7925, allocations: 223.4 kB / 496 MB, free: 4.191 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007316/0.7933, allocations: 220 kB / 496.2 MB, free: 4.051 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001727/0.795, allocations: 280.4 kB / 496.5 MB, free: 3.863 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.795, allocations: 4 kB / 496.5 MB, free: 3.859 MB / 330.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.002737/0.7978, allocations: 0.5887 MB / 497.1 MB, free: 3.43 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.424e-05/0.7978, allocations: 4 kB / 497.1 MB, free: 3.426 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/0.7978, allocations: 0 / 497.1 MB, free: 3.426 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.097e-05/0.7979, allocations: 0 / 497.1 MB, free: 3.426 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008709/0.7988, allocations: 99.83 kB / 497.2 MB, free: 3.328 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.979e-06/0.7988, allocations: 3.938 kB / 497.2 MB, free: 3.324 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005633/0.7994, allocations: 23.42 kB / 497.2 MB, free: 3.305 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.147e-05/0.7994, allocations: 23.97 kB / 497.2 MB, free: 3.281 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.0001659/0.7996, allocations: 126 kB / 497.4 MB, free: 3.156 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.22e-05/0.7997, allocations: 11.89 kB / 497.4 MB, free: 3.145 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003109/0.8028, allocations: 0.684 MB / 498.1 MB, free: 2.633 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.609e-06/0.8029, allocations: 4 kB / 498.1 MB, free: 2.629 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.8029, allocations: 0 / 498.1 MB, free: 2.629 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.8029, allocations: 0 / 498.1 MB, free: 2.629 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004947/0.8078, allocations: 1.078 MB / 499.1 MB, free: 1.609 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.094e-06/0.8079, allocations: 0 / 499.1 MB, free: 1.609 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007147/0.8086, allocations: 88.03 kB / 499.2 MB, free: 1.523 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.009e-05/0.8087, allocations: 11.95 kB / 499.2 MB, free: 1.512 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.608e-05/0.8087, allocations: 23.91 kB / 499.3 MB, free: 1.492 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.472e-06/0.8088, allocations: 4 kB / 499.3 MB, free: 1.488 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/0.8088, allocations: 0 / 499.3 MB, free: 1.488 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002466/0.8112, allocations: 0.6348 MB / 499.9 MB, free: 0.8633 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.872e-05/0.8113, allocations: 88.39 kB / 500 MB, free: 0.7617 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.355e-05/0.8114, allocations: 4 kB / 500 MB, free: 0.7578 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005198/0.8119, allocations: 36.3 kB / 0.4883 GB, free: 0.7266 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.999e-05/0.812, allocations: 15.11 kB / 0.4883 GB, free: 0.7148 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.663e-05/0.812, allocations: 19.98 kB / 0.4883 GB, free: 0.6953 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.873e-05/0.8121, allocations: 90.83 kB / 0.4884 GB, free: 0.6133 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.8121, allocations: 0 / 0.4884 GB, free: 0.6133 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002179/0.8143, allocations: 0.6283 MB / 0.489 GB, free: 15.98 MB / 346.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.008065/0.8224, allocations: 1.834 MB / 0.4908 GB, free: 14.18 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001733/0.8242, allocations: 424.1 kB / 0.4912 GB, free: 13.88 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.8242, allocations: 3.938 kB / 0.4912 GB, free: 13.88 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007708/0.825, allocations: 190.6 kB / 0.4914 GB, free: 13.72 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002495/0.8253, allocations: 15.3 kB / 0.4914 GB, free: 13.71 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004715/0.83, allocations: 0.6446 MB / 0.4921 GB, free: 13.06 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003197/0.8304, allocations: 0.7084 MB / 0.4928 GB, free: 12.32 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0006737/0.8311, allocations: 92.89 kB / 0.4929 GB, free: 12.22 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004274/0.8315, allocations: 82.02 kB / 0.4929 GB, free: 12.15 MB / 346.7 MB Notification: Performance of SimCode: time 1.082e-06/0.8315, allocations: 0 / 0.4929 GB, free: 12.15 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0619/0.8934, allocations: 19.46 MB / 0.5119 GB, free: 8.754 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002743/0.8938, allocations: 196.8 kB / 0.5121 GB, free: 8.508 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.818/3.712, allocations: 4 kB / 0.5121 GB, free: 8.504 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives_res.mat does not exist to compare? outputFormat=mat