Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01089/0.01089, allocations: 107.5 kB / 15.06 MB, free: 6.031 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001196/0.001196, allocations: 179.2 kB / 15.95 MB, free: 5.957 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.09/2.09, allocations: 194.6 MB / 211.3 MB, free: 11.07 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo): time 0.292/0.292, allocations: 40.04 MB / 296.5 MB, free: 6.293 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004765/0.0004767, allocations: 11.98 kB / 361.1 MB, free: 9.555 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1199/0.1204, allocations: 54.88 MB / 416 MB, free: 2.582 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.0007731/0.1212, allocations: 268.3 kB / 416.3 MB, free: 2.316 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009506/0.1222, allocations: 372.9 kB / 416.6 MB, free: 1.949 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.323e-05/0.1223, allocations: 7.938 kB / 416.7 MB, free: 1.941 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.261e-05/0.1223, allocations: 3.938 kB / 416.7 MB, free: 1.938 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 2.999e-05/0.1223, allocations: 0 / 416.7 MB, free: 1.938 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005698/0.1229, allocations: 99.69 kB / 416.8 MB, free: 1.84 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 5.763e-05/0.123, allocations: 11.98 kB / 416.8 MB, free: 1.828 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.817e-05/0.123, allocations: 4 kB / 416.8 MB, free: 1.824 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.459e-05/0.1231, allocations: 15.94 kB / 416.8 MB, free: 1.809 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.721e-05/0.1232, allocations: 23.91 kB / 416.8 MB, free: 1.785 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.387e-05/0.1232, allocations: 4 kB / 416.8 MB, free: 1.781 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003349/0.1235, allocations: 135.8 kB / 416.9 MB, free: 1.648 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 2.358e-05/0.1236, allocations: 8 kB / 417 MB, free: 1.641 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.426e-05/0.1236, allocations: 29.64 kB / 417 MB, free: 1.605 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001945/0.1238, allocations: 75.88 kB / 417.1 MB, free: 1.531 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.257e-06/0.1238, allocations: 0 / 417.1 MB, free: 1.531 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1239, allocations: 0 / 417.1 MB, free: 1.531 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.1239, allocations: 0 / 417.1 MB, free: 1.531 MB / 346.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.0004866/0.1244, allocations: 359.5 kB / 417.4 MB, free: 1.133 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.964e-05/0.1244, allocations: 11.97 kB / 417.4 MB, free: 1.121 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.642e-05/0.1245, allocations: 38.56 kB / 417.5 MB, free: 1.074 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.074e-05/0.1245, allocations: 0 / 417.5 MB, free: 1.074 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001528/0.1247, allocations: 171 kB / 417.6 MB, free: 0.8672 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.037e-05/0.1247, allocations: 7.938 kB / 417.6 MB, free: 0.8594 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.957e-05/0.1248, allocations: 11.91 kB / 417.6 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001781/0.125, allocations: 65.62 kB / 417.7 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.819e-05/0.125, allocations: 4 kB / 417.7 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.125, allocations: 0 / 417.7 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.125, allocations: 4 kB / 417.7 MB, free: 0.7695 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001344/0.1252, allocations: 47.95 kB / 417.8 MB, free: 0.7227 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002467/0.1254, allocations: 173.7 kB / 417.9 MB, free: 0.5039 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002056/0.1256, allocations: 86.42 kB / 418 MB, free: 420 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000386/0.126, allocations: 113.1 kB / 418.1 MB, free: 288 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.099e-05/0.1261, allocations: 30.56 kB / 418.2 MB, free: 248 kB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 2.054e-06/0.1261, allocations: 0 / 418.2 MB, free: 248 kB / 346.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.2847/0.4108, allocations: 5.822 MB / 424 MB, free: 10.38 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.968e-05/0.4109, allocations: 59.41 kB / 424 MB, free: 10.31 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.5e-05/0.411, allocations: 89.86 kB / 424.1 MB, free: 10.21 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.482e-05/0.4111, allocations: 33.7 kB / 424.2 MB, free: 10.17 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.598e-05/0.4111, allocations: 84.5 kB / 424.2 MB, free: 10.08 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001103/0.4113, allocations: 78.84 kB / 424.3 MB, free: 10 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.859e-05/0.4113, allocations: 0 / 424.3 MB, free: 10 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001432/0.4115, allocations: 326.8 kB / 424.6 MB, free: 9.676 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007026/0.4122, allocations: 139.9 kB / 424.8 MB, free: 9.539 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006984/0.4129, allocations: 139.9 kB / 424.9 MB, free: 9.402 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001379/0.4143, allocations: 171.3 kB / 425.1 MB, free: 9.238 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.4143, allocations: 0 / 425.1 MB, free: 9.238 MB / 362.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.002323/0.4166, allocations: 409.1 kB / 425.5 MB, free: 8.832 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/0.4167, allocations: 8 kB / 425.5 MB, free: 8.824 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.862e-06/0.4167, allocations: 3.938 kB / 425.5 MB, free: 8.82 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/0.4167, allocations: 0 / 425.5 MB, free: 8.82 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007332/0.4175, allocations: 95.84 kB / 425.6 MB, free: 8.727 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.4175, allocations: 4 kB / 425.6 MB, free: 8.723 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003944/0.4179, allocations: 35.97 kB / 425.6 MB, free: 8.688 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.217e-05/0.418, allocations: 11.98 kB / 425.6 MB, free: 8.676 MB / 362.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.0001601/0.4181, allocations: 129.8 kB / 425.8 MB, free: 8.539 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.427e-05/0.4182, allocations: 7.906 kB / 425.8 MB, free: 8.531 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002706/0.4209, allocations: 473.8 kB / 426.2 MB, free: 8.059 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.095e-05/0.4209, allocations: 4 kB / 426.2 MB, free: 8.055 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.421, allocations: 0 / 426.2 MB, free: 8.055 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.235e-06/0.421, allocations: 3.984 kB / 426.2 MB, free: 8.051 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004223/0.4252, allocations: 0.8747 MB / 427.1 MB, free: 7.117 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.512e-06/0.4253, allocations: 0 / 427.1 MB, free: 7.117 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006016/0.4259, allocations: 87.86 kB / 427.2 MB, free: 7.031 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.09e-05/0.4259, allocations: 4 kB / 427.2 MB, free: 7.027 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.014e-05/0.426, allocations: 19.94 kB / 427.2 MB, free: 7.008 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.029e-06/0.426, allocations: 4.062 kB / 427.2 MB, free: 7.004 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.426, allocations: 0 / 427.2 MB, free: 7.004 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002295/0.4283, allocations: 500 kB / 427.7 MB, free: 6.484 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.897e-05/0.4284, allocations: 85.02 kB / 427.8 MB, free: 6.383 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.829e-05/0.4284, allocations: 8 kB / 427.8 MB, free: 6.375 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003698/0.4288, allocations: 39.97 kB / 427.8 MB, free: 6.336 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.437e-05/0.4289, allocations: 19.91 kB / 427.9 MB, free: 6.316 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.636e-05/0.4289, allocations: 11.98 kB / 427.9 MB, free: 6.305 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.061e-05/0.429, allocations: 83.28 kB / 428 MB, free: 6.223 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.6e-07/0.429, allocations: 0 / 428 MB, free: 6.223 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002477/0.4315, allocations: 0.6249 MB / 428.6 MB, free: 5.598 MB / 362.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.008324/0.4399, allocations: 1.359 MB / 429.9 MB, free: 4.199 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001688/0.4416, allocations: 307.8 kB / 430.2 MB, free: 3.898 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.013e-06/0.4417, allocations: 0 / 430.2 MB, free: 3.898 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008285/0.4425, allocations: 152 kB / 430.4 MB, free: 3.75 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000249/0.4428, allocations: 4 kB / 430.4 MB, free: 3.746 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003242/0.446, allocations: 0.4907 MB / 430.9 MB, free: 3.203 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003248/0.4464, allocations: 0.6978 MB / 431.6 MB, free: 2.48 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0005613/0.447, allocations: 77.08 kB / 431.7 MB, free: 2.406 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002709/0.4473, allocations: 59.39 kB / 431.7 MB, free: 2.348 MB / 362.7 MB Notification: Performance of SimCode: time 1.263e-06/0.4473, allocations: 3.938 kB / 431.7 MB, free: 2.344 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5392/0.9865, allocations: 54.72 MB / 486.4 MB, free: 44.23 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002219/0.9868, allocations: 206.6 kB / 486.6 MB, free: 43.99 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.25/4.237, allocations: 1.906 kB / 486.6 MB, free: 43.99 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative_res.mat does not exist to compare? outputFormat=mat