Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.326/2.326, allocations: 234.9 MB / 250.5 MB, free: 9.551 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004432/0.0004431, allocations: 12 kB / 314.5 MB, free: 9.473 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3585/0.359, allocations: 54.86 MB / 369.4 MB, free: 10.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1506/0.5096, allocations: 79.8 MB / 449.2 MB, free: 10.8 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003636/0.51, allocations: 71.91 kB / 449.2 MB, free: 10.73 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0203/0.5303, allocations: 3.099 MB / 452.3 MB, free: 7.629 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.264e-06/0.5304, allocations: 4 kB / 452.3 MB, free: 7.625 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.36e-05/0.5304, allocations: 4 kB / 452.3 MB, free: 7.621 MB / 378.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.00063/0.5311, allocations: 363.2 kB / 452.7 MB, free: 7.219 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.365e-05/0.5312, allocations: 12.03 kB / 452.7 MB, free: 7.207 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.856e-05/0.5312, allocations: 30.56 kB / 452.7 MB, free: 7.168 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.122e-05/0.5313, allocations: 7.906 kB / 452.7 MB, free: 7.16 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001747/0.5315, allocations: 167 kB / 452.9 MB, free: 6.957 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.108e-05/0.5315, allocations: 7.938 kB / 452.9 MB, free: 6.949 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.743e-05/0.5316, allocations: 11.98 kB / 452.9 MB, free: 6.938 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000214/0.5318, allocations: 65.67 kB / 453 MB, free: 6.867 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.097e-05/0.5318, allocations: 3.953 kB / 453 MB, free: 6.863 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.519e-05/0.5319, allocations: 0 / 453 MB, free: 6.863 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.728e-06/0.5319, allocations: 4 kB / 453 MB, free: 6.859 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001746/0.5321, allocations: 43.95 kB / 453 MB, free: 6.816 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003117/0.5324, allocations: 175.8 kB / 453.2 MB, free: 6.598 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000279/0.5327, allocations: 94.41 kB / 453.3 MB, free: 6.496 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000437/0.5332, allocations: 109.1 kB / 453.4 MB, free: 6.371 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.2e-05/0.5332, allocations: 38.56 kB / 453.4 MB, free: 6.324 MB / 378.7 MB Notification: Performance of pre-optimization done (n=13): time 2.375e-06/0.5332, allocations: 0 / 453.4 MB, free: 6.324 MB / 378.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.2938/0.827, allocations: 5.525 MB / 459 MB, free: 0.7539 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.661e-05/0.8271, allocations: 51.41 kB / 459 MB, free: 0.6914 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001078/0.8273, allocations: 89 kB / 459.1 MB, free: 0.5977 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.188e-05/0.8273, allocations: 29.7 kB / 459.1 MB, free: 0.5625 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.101e-05/0.8274, allocations: 150.9 kB / 459.3 MB, free: 420 kB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001526/0.8276, allocations: 79.03 kB / 459.4 MB, free: 340 kB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.55e-05/0.8277, allocations: 4 kB / 459.4 MB, free: 336 kB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001834/0.8279, allocations: 318.8 kB / 459.7 MB, free: 8 kB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009953/0.8289, allocations: 136 kB / 459.8 MB, free: 15.87 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009245/0.8298, allocations: 135.3 kB / 459.9 MB, free: 15.74 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001842/0.8317, allocations: 183.7 kB / 460.1 MB, free: 15.56 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.772e-06/0.8317, allocations: 4 kB / 460.1 MB, free: 15.56 MB / 394.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.003024/0.8348, allocations: 405.1 kB / 460.5 MB, free: 15.16 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.948e-05/0.8348, allocations: 4 kB / 460.5 MB, free: 15.15 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.8349, allocations: 0 / 460.5 MB, free: 15.15 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.276e-05/0.8349, allocations: 4 kB / 460.5 MB, free: 15.15 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009005/0.8358, allocations: 99.78 kB / 460.6 MB, free: 15.05 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.037e-05/0.8359, allocations: 0 / 460.6 MB, free: 15.05 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005036/0.8364, allocations: 39.97 kB / 460.7 MB, free: 15.01 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.628e-05/0.8365, allocations: 23.91 kB / 460.7 MB, free: 14.99 MB / 394.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.000212/0.8367, allocations: 117.8 kB / 460.8 MB, free: 14.86 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.955e-05/0.8368, allocations: 11.86 kB / 460.8 MB, free: 14.85 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003558/0.8404, allocations: 483.2 kB / 461.3 MB, free: 14.36 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.338e-05/0.8404, allocations: 4 kB / 461.3 MB, free: 14.36 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.758e-06/0.8404, allocations: 0 / 461.3 MB, free: 14.36 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.786e-06/0.8405, allocations: 0 / 461.3 MB, free: 14.36 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00547/0.846, allocations: 0.8724 MB / 462.2 MB, free: 13.43 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.635e-06/0.846, allocations: 0 / 462.2 MB, free: 13.43 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007253/0.8468, allocations: 91.92 kB / 462.2 MB, free: 13.34 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.929e-06/0.8468, allocations: 0 / 462.2 MB, free: 13.34 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.002e-05/0.8469, allocations: 15.98 kB / 462.3 MB, free: 13.33 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.272e-06/0.8469, allocations: 0 / 462.3 MB, free: 13.33 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.167e-06/0.8469, allocations: 7.953 kB / 462.3 MB, free: 13.32 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002946/0.8499, allocations: 496.2 kB / 462.8 MB, free: 12.8 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.78e-05/0.85, allocations: 85.02 kB / 462.8 MB, free: 12.7 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.843e-05/0.8501, allocations: 7.953 kB / 462.8 MB, free: 12.69 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000492/0.8506, allocations: 35.97 kB / 462.9 MB, free: 12.66 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.249e-05/0.8506, allocations: 23.91 kB / 462.9 MB, free: 12.63 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.958e-05/0.8507, allocations: 12 kB / 462.9 MB, free: 12.62 MB / 394.7 MB Notification: Performance of sorting global known variables: time 5.772e-05/0.8508, allocations: 75.28 kB / 463 MB, free: 12.55 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.8508, allocations: 0 / 463 MB, free: 12.55 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00343/0.8542, allocations: 0.6169 MB / 463.6 MB, free: 11.93 MB / 394.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.01006/0.8643, allocations: 1.401 MB / 465 MB, free: 10.49 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002022/0.8664, allocations: 299.7 kB / 465.3 MB, free: 10.2 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.8665, allocations: 0 / 465.3 MB, free: 10.2 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009077/0.8674, allocations: 156 kB / 465.5 MB, free: 10.04 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003308/0.8677, allocations: 7.938 kB / 465.5 MB, free: 10.04 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004282/0.872, allocations: 0.5575 MB / 466 MB, free: 9.422 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004355/0.8725, allocations: 0.7017 MB / 466.7 MB, free: 8.695 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003734/0.8729, allocations: 59.39 kB / 466.8 MB, free: 8.637 MB / 394.7 MB Notification: Performance of SimCode: time 1.203e-06/0.8729, allocations: 0 / 466.8 MB, free: 8.637 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.334/4.207, allocations: 15.22 MB / 482 MB, free: 91.95 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative_res.mat does not exist to compare? outputFormat=mat