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.TestRegFunctions.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.TestRegFunctions,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestUtilities_TestRegFunctions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.317/2.317, allocations: 235 MB / 248 MB, free: 14.54 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.611e-05/3.622e-05, allocations: 4 kB / 309.8 MB, free: 1.453 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4161/0.4162, allocations: 54.85 MB / 364.6 MB, free: 5.531 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1598/0.5761, allocations: 79.18 MB / 443.8 MB, free: 1.352 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000316/0.5765, allocations: 67.97 kB / 443.9 MB, free: 1.285 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004032/0.5805, allocations: 0.9072 MB / 444.8 MB, free: 396 kB / 362.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.5806, allocations: 0 / 444.8 MB, free: 396 kB / 362.7 MB Notification: Performance of Transformations before backend: time 7.624e-06/0.5806, allocations: 0 / 444.8 MB, free: 396 kB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0003545/0.581, allocations: 327 kB / 445.1 MB, free: 24 kB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.842e-05/0.581, allocations: 12.03 kB / 445.1 MB, free: 12 kB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.602e-05/0.5811, allocations: 34.56 kB / 445.1 MB, free: 15.97 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.162e-05/0.5812, allocations: 7.938 kB / 445.2 MB, free: 15.96 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001584/0.5813, allocations: 171.8 kB / 445.3 MB, free: 15.75 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.484e-05/0.5814, allocations: 8 kB / 445.3 MB, free: 15.75 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.249e-05/0.5814, allocations: 4 kB / 445.3 MB, free: 15.74 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001714/0.5816, allocations: 53.69 kB / 445.4 MB, free: 15.68 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.5816, allocations: 0.8438 kB / 445.4 MB, free: 15.68 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.538e-05/0.5816, allocations: 3.984 kB / 445.4 MB, free: 15.68 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.5816, allocations: 0 / 445.4 MB, free: 15.68 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001514/0.5818, allocations: 60.59 kB / 445.4 MB, free: 15.62 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000244/0.5821, allocations: 169.6 kB / 445.6 MB, free: 15.41 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000187/0.5823, allocations: 74.56 kB / 445.7 MB, free: 15.32 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.047e-05/0.5823, allocations: 29.7 kB / 445.7 MB, free: 15.29 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004346/0.5828, allocations: 251.3 kB / 446 MB, free: 14.99 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.847e-05/0.5828, allocations: 34.56 kB / 446 MB, free: 14.95 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 2.805e-06/0.5829, allocations: 0 / 446 MB, free: 14.95 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002588/0.5831, allocations: 78.94 kB / 446.1 MB, free: 14.87 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.187e-05/0.5832, allocations: 55.41 kB / 446.1 MB, free: 14.8 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.991e-05/0.5833, allocations: 88.98 kB / 446.2 MB, free: 14.71 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.616e-05/0.5833, allocations: 33.7 kB / 446.2 MB, free: 14.67 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.122e-05/0.5834, allocations: 154.5 kB / 446.4 MB, free: 14.52 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.235e-05/0.5835, allocations: 31.47 kB / 446.4 MB, free: 14.48 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.362e-06/0.5835, allocations: 0 / 446.4 MB, free: 14.48 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001486/0.5836, allocations: 318.8 kB / 446.7 MB, free: 14.16 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.477e-05/0.5837, allocations: 23.22 kB / 446.8 MB, free: 14.14 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.389e-05/0.5838, allocations: 20.16 kB / 446.8 MB, free: 14.12 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.58e-05/0.5838, allocations: 19.98 kB / 446.8 MB, free: 14.11 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.5839, allocations: 0 / 446.8 MB, free: 14.11 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001968/0.5841, allocations: 81.62 kB / 446.9 MB, free: 14.02 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.5841, allocations: 4 kB / 446.9 MB, free: 14.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.5841, allocations: 1.812 kB / 446.9 MB, free: 14.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.5841, allocations: 0 / 446.9 MB, free: 14.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001603/0.5843, allocations: 12 kB / 446.9 MB, free: 14 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.171e-05/0.5843, allocations: 4 kB / 446.9 MB, free: 14 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.501e-05/0.5844, allocations: 7.906 kB / 446.9 MB, free: 13.99 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.869e-05/0.5844, allocations: 11.94 kB / 446.9 MB, free: 13.98 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 (10): * Single equations (assignments): 10 * 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 9.282e-05/0.5845, allocations: 108.9 kB / 447 MB, free: 13.87 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.392e-05/0.5846, allocations: 0 / 447 MB, free: 13.87 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002798/0.5849, allocations: 93.77 kB / 447.1 MB, free: 13.77 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.093e-06/0.5849, allocations: 0.5 kB / 447.1 MB, free: 13.77 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.5849, allocations: 3.938 kB / 447.1 MB, free: 13.77 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.5849, allocations: 0 / 447.1 MB, free: 13.77 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001958/0.5851, allocations: 185.4 kB / 447.3 MB, free: 13.54 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.035e-06/0.5851, allocations: 1.75 kB / 447.3 MB, free: 13.54 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00012/0.5853, allocations: 16 kB / 447.3 MB, free: 13.52 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.5853, allocations: 4 kB / 447.3 MB, free: 13.52 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.302e-05/0.5853, allocations: 4 kB / 447.3 MB, free: 13.51 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.5853, allocations: 3.938 kB / 447.3 MB, free: 13.51 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.5853, allocations: 0 / 447.3 MB, free: 13.51 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002164/0.5856, allocations: 109 kB / 447.4 MB, free: 13.38 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.267e-05/0.5856, allocations: 77.11 kB / 447.5 MB, free: 13.29 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.08e-05/0.5857, allocations: 8 kB / 447.5 MB, free: 13.28 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.786e-05/0.5857, allocations: 7.875 kB / 447.5 MB, free: 13.28 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.4e-05/0.5858, allocations: 7.984 kB / 447.5 MB, free: 13.27 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.096e-06/0.5858, allocations: 0.6562 kB / 447.5 MB, free: 13.27 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.819e-05/0.5858, allocations: 79.28 kB / 447.6 MB, free: 13.19 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.5858, allocations: 0 / 447.6 MB, free: 13.19 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003559/0.5862, allocations: 23.94 kB / 447.6 MB, free: 13.17 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (10): * Single equations (assignments): 10 * 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.000662/0.5869, allocations: 0.6631 MB / 448.3 MB, free: 12.47 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001947/0.5871, allocations: 44 kB / 448.3 MB, free: 12.43 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.5871, allocations: 3.938 kB / 448.4 MB, free: 12.43 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.506e-05/0.5872, allocations: 31.94 kB / 448.4 MB, free: 12.39 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000129/0.5873, allocations: 5.656 kB / 448.4 MB, free: 12.39 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005449/0.5879, allocations: 160.2 kB / 448.5 MB, free: 12.19 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003364/0.5883, allocations: 0.6925 MB / 449.2 MB, free: 11.47 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.17e-05/0.5883, allocations: 19.42 kB / 449.3 MB, free: 11.45 MB / 378.7 MB Notification: Performance of SimCode: time 9.92e-07/0.5883, allocations: 0 / 449.3 MB, free: 11.45 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.359/2.947, allocations: 1.026 MB / 450.3 MB, free: 10.43 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.mat does not exist to compare? outputFormat=mat