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.TestRegRoot2Derivatives.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.TestRegRoot2Derivatives,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestUtilities_TestRegRoot2Derivatives",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.333/2.333, allocations: 235 MB / 248.1 MB, free: 14.4 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.551e-05/3.562e-05, allocations: 4 kB / 309.8 MB, free: 1.234 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.451/0.4511, allocations: 54.85 MB / 364.6 MB, free: 5.555 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1525/0.6037, allocations: 79.6 MB / 444.2 MB, free: 0.875 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002538/0.604, allocations: 64.8 kB / 444.3 MB, free: 0.8125 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01474/0.6188, allocations: 2.959 MB / 447.2 MB, free: 13.88 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.724e-06/0.6188, allocations: 0 / 447.2 MB, free: 13.88 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.007e-05/0.6189, allocations: 8.656 kB / 447.3 MB, free: 13.87 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004334/0.6193, allocations: 362.4 kB / 447.6 MB, free: 13.47 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.068e-05/0.6194, allocations: 8.031 kB / 447.6 MB, free: 13.46 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.199e-05/0.6194, allocations: 34.56 kB / 447.7 MB, free: 13.42 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.209e-05/0.6195, allocations: 4.781 kB / 447.7 MB, free: 13.41 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001381/0.6196, allocations: 163.1 kB / 447.8 MB, free: 13.21 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.515e-05/0.6197, allocations: 4 kB / 447.8 MB, free: 13.21 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.122e-05/0.6197, allocations: 4.75 kB / 447.8 MB, free: 13.21 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001565/0.6199, allocations: 61.58 kB / 447.9 MB, free: 13.14 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.84e-05/0.6199, allocations: 7.984 kB / 447.9 MB, free: 13.13 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.6199, allocations: 1.688 kB / 447.9 MB, free: 13.13 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.6199, allocations: 0 / 447.9 MB, free: 13.13 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001023/0.62, allocations: 28 kB / 447.9 MB, free: 13.11 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002274/0.6203, allocations: 174.4 kB / 448.1 MB, free: 12.89 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002891/0.6206, allocations: 60.81 kB / 448.2 MB, free: 12.82 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.922e-05/0.6207, allocations: 24.86 kB / 448.2 MB, free: 12.79 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003489/0.621, allocations: 113.1 kB / 448.3 MB, free: 12.66 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.737e-05/0.6211, allocations: 34.56 kB / 448.3 MB, free: 12.62 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 1.693e-06/0.6211, allocations: 0 / 448.3 MB, free: 12.62 MB / 378.7 MB Notification: Performance of matching and sorting (n=19): time 0.2627/0.8838, allocations: 5.277 MB / 453.6 MB, free: 7.312 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.165e-05/0.884, allocations: 55.41 kB / 453.7 MB, free: 7.246 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001075/0.8841, allocations: 96.98 kB / 453.7 MB, free: 7.145 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.507e-05/0.8842, allocations: 29.7 kB / 453.8 MB, free: 7.109 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.797e-05/0.8842, allocations: 150.6 kB / 453.9 MB, free: 6.961 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001199/0.8844, allocations: 63.11 kB / 454 MB, free: 6.898 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.712e-05/0.8844, allocations: 4 kB / 454 MB, free: 6.895 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001363/0.8846, allocations: 318.8 kB / 454.3 MB, free: 6.574 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004831/0.8851, allocations: 168 kB / 454.5 MB, free: 6.41 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004792/0.8856, allocations: 172 kB / 454.6 MB, free: 6.242 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001534/0.8871, allocations: 230.9 kB / 454.9 MB, free: 6.02 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.8871, allocations: 0 / 454.9 MB, free: 6.02 MB / 378.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.002232/0.8894, allocations: 493.3 kB / 455.3 MB, free: 5.531 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.836e-05/0.8895, allocations: 11.94 kB / 455.4 MB, free: 5.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.8895, allocations: 4 kB / 455.4 MB, free: 5.516 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.939e-05/0.8895, allocations: 0 / 455.4 MB, free: 5.516 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009347/0.8905, allocations: 87.89 kB / 455.4 MB, free: 5.43 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.305e-05/0.8905, allocations: 4 kB / 455.4 MB, free: 5.426 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005841/0.8911, allocations: 27.98 kB / 455.5 MB, free: 5.398 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.031e-05/0.8912, allocations: 23.95 kB / 455.5 MB, free: 5.375 MB / 378.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 () * 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.000175/0.8914, allocations: 116.9 kB / 455.6 MB, free: 5.254 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.047e-05/0.8914, allocations: 11.86 kB / 455.6 MB, free: 5.242 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002719/0.8942, allocations: 0.5767 MB / 456.2 MB, free: 4.656 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.566e-06/0.8942, allocations: 0 / 456.2 MB, free: 4.656 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.245e-05/0.8942, allocations: 3.953 kB / 456.2 MB, free: 4.652 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-06/0.8943, allocations: 4.188 kB / 456.2 MB, free: 4.648 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004894/0.8992, allocations: 0.9914 MB / 457.2 MB, free: 3.586 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.083e-06/0.8992, allocations: 12.06 kB / 457.2 MB, free: 3.574 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007784/0.9, allocations: 88.66 kB / 457.3 MB, free: 3.488 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.271e-05/0.9001, allocations: 4 kB / 457.3 MB, free: 3.484 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.401e-05/0.9001, allocations: 15.98 kB / 457.3 MB, free: 3.469 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.053e-05/0.9002, allocations: 7.984 kB / 457.3 MB, free: 3.461 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.454e-06/0.9002, allocations: 7.922 kB / 457.3 MB, free: 3.453 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002108/0.9023, allocations: 0.5377 MB / 457.9 MB, free: 2.844 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.544e-05/0.9024, allocations: 85.27 kB / 458 MB, free: 2.742 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.864e-05/0.9025, allocations: 11.98 kB / 458 MB, free: 2.73 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005611/0.9031, allocations: 35.98 kB / 458 MB, free: 2.695 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.908e-05/0.9031, allocations: 11.92 kB / 458 MB, free: 2.684 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.919e-05/0.9032, allocations: 23.97 kB / 458 MB, free: 2.66 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.036e-05/0.9033, allocations: 87.23 kB / 458.1 MB, free: 2.574 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.9033, allocations: 0 / 458.1 MB, free: 2.574 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002353/0.9056, allocations: 0.6247 MB / 458.7 MB, free: 1.949 MB / 378.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 () * 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.007317/0.913, allocations: 1.726 MB / 460.5 MB, free: 156 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001121/0.9142, allocations: 327.8 kB / 460.8 MB, free: 15.83 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.9142, allocations: 3.938 kB / 460.8 MB, free: 15.83 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004295/0.9147, allocations: 140 kB / 460.9 MB, free: 15.69 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00024/0.9149, allocations: 14.88 kB / 460.9 MB, free: 15.68 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004286/0.9192, allocations: 0.5582 MB / 461.5 MB, free: 15.06 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003/0.9196, allocations: 0.7006 MB / 462.2 MB, free: 14.33 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004389/0.92, allocations: 75.34 kB / 462.3 MB, free: 14.26 MB / 394.7 MB Notification: Performance of SimCode: time 1.102e-06/0.9201, allocations: 0 / 462.3 MB, free: 14.26 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.189/4.109, allocations: 16.27 MB / 478.5 MB, free: 13.97 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives_res.mat does not exist to compare? outputFormat=mat