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.TestRegStep.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.TestRegStep,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestUtilities_TestRegStep",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.378/2.378, allocations: 234.9 MB / 250.5 MB, free: 9.68 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004614/0.0004615, allocations: 12 kB / 314.5 MB, free: 9.602 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4565/0.457, allocations: 54.85 MB / 369.3 MB, free: 12.78 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1646/0.6216, allocations: 79.17 MB / 448.5 MB, free: 13.5 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003189/0.622, allocations: 71.91 kB / 448.6 MB, free: 13.43 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003033/0.6251, allocations: 0.6218 MB / 449.2 MB, free: 12.8 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.425e-06/0.6251, allocations: 0 / 449.2 MB, free: 12.8 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.905e-06/0.6251, allocations: 0 / 449.2 MB, free: 12.8 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000409/0.6256, allocations: 327.3 kB / 449.5 MB, free: 12.43 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.13e-05/0.6256, allocations: 12.03 kB / 449.5 MB, free: 12.42 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.416e-05/0.6257, allocations: 30.56 kB / 449.6 MB, free: 12.38 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.957e-05/0.6257, allocations: 3.953 kB / 449.6 MB, free: 12.38 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001676/0.6259, allocations: 167 kB / 449.7 MB, free: 12.18 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.672e-05/0.626, allocations: 4 kB / 449.7 MB, free: 12.17 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.844e-05/0.626, allocations: 4 kB / 449.7 MB, free: 12.17 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001258/0.6261, allocations: 37.62 kB / 449.8 MB, free: 12.12 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.6262, allocations: 0 / 449.8 MB, free: 12.12 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.6262, allocations: 4 kB / 449.8 MB, free: 12.12 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.6262, allocations: 0 / 449.8 MB, free: 12.12 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.521e-05/0.6263, allocations: 15.94 kB / 449.8 MB, free: 12.11 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002548/0.6266, allocations: 145.7 kB / 449.9 MB, free: 11.91 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002745/0.6269, allocations: 34.61 kB / 450 MB, free: 11.87 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000657/0.6275, allocations: 125.1 kB / 450.1 MB, free: 11.73 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.029e-05/0.6276, allocations: 38.5 kB / 450.1 MB, free: 11.68 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 3.125e-06/0.6276, allocations: 0 / 450.1 MB, free: 11.68 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.00262/0.6302, allocations: 209.4 kB / 450.3 MB, free: 11.47 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.214e-05/0.6303, allocations: 51.41 kB / 450.4 MB, free: 11.41 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.451e-05/0.6304, allocations: 96.95 kB / 450.5 MB, free: 11.31 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.997e-05/0.6305, allocations: 25.7 kB / 450.5 MB, free: 11.28 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.372e-05/0.6306, allocations: 150.6 kB / 450.7 MB, free: 11.13 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.342e-05/0.6306, allocations: 15.73 kB / 450.7 MB, free: 11.11 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.353e-05/0.6306, allocations: 4 kB / 450.7 MB, free: 11.11 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001667/0.6308, allocations: 319 kB / 451 MB, free: 10.79 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001915/0.631, allocations: 19.92 kB / 451 MB, free: 10.77 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001832/0.6312, allocations: 23.98 kB / 451 MB, free: 10.75 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001878/0.6314, allocations: 23.98 kB / 451.1 MB, free: 10.72 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.6315, allocations: 4 kB / 451.1 MB, free: 10.72 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0004661/0.6319, allocations: 85.66 kB / 451.1 MB, free: 10.63 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.314e-05/0.632, allocations: 4 kB / 451.1 MB, free: 10.62 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.632, allocations: 0 / 451.1 MB, free: 10.62 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.821e-05/0.632, allocations: 256 / 451.1 MB, free: 10.62 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002542/0.6323, allocations: 19.92 kB / 451.2 MB, free: 10.61 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.042e-05/0.6323, allocations: 15.98 kB / 451.2 MB, free: 10.59 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001864/0.6325, allocations: 7.984 kB / 451.2 MB, free: 10.58 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.809e-05/0.6326, allocations: 3.953 kB / 451.2 MB, free: 10.58 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.0001168/0.6327, allocations: 111.6 kB / 451.3 MB, free: 10.46 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.853e-05/0.6327, allocations: 3.938 kB / 451.3 MB, free: 10.46 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005358/0.6333, allocations: 97.2 kB / 451.4 MB, free: 10.36 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.179e-06/0.6333, allocations: 0 / 451.4 MB, free: 10.36 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.017e-06/0.6333, allocations: 4 kB / 451.4 MB, free: 10.35 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/0.6333, allocations: 0 / 451.4 MB, free: 10.35 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001279/0.6346, allocations: 371.2 kB / 451.8 MB, free: 9.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.6347, allocations: 0 / 451.8 MB, free: 9.93 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002363/0.6349, allocations: 19.92 kB / 451.8 MB, free: 9.91 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/0.6349, allocations: 4.359 kB / 451.8 MB, free: 9.906 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.371e-05/0.635, allocations: 0 / 451.8 MB, free: 9.906 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.064e-06/0.635, allocations: 4 kB / 451.8 MB, free: 9.902 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/0.635, allocations: 3.953 kB / 451.8 MB, free: 9.898 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005179/0.6355, allocations: 198.1 kB / 452 MB, free: 9.68 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.696e-05/0.6356, allocations: 77.11 kB / 452.1 MB, free: 9.586 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.722e-05/0.6357, allocations: 4 kB / 452.1 MB, free: 9.582 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002518/0.6359, allocations: 15.94 kB / 452.1 MB, free: 9.566 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.506e-05/0.636, allocations: 4 kB / 452.1 MB, free: 9.562 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.213e-05/0.636, allocations: 3.938 kB / 452.1 MB, free: 9.559 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.525e-05/0.6361, allocations: 83.27 kB / 452.2 MB, free: 9.477 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.6361, allocations: 0 / 452.2 MB, free: 9.477 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005091/0.6366, allocations: 8 kB / 452.2 MB, free: 9.469 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * 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.001052/0.6377, allocations: 0.8073 MB / 453 MB, free: 8.629 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004553/0.6381, allocations: 59.95 kB / 453 MB, free: 8.57 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.606e-06/0.6382, allocations: 4 kB / 453.1 MB, free: 8.566 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002004/0.6384, allocations: 27.98 kB / 453.1 MB, free: 8.539 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002637/0.6387, allocations: 4 kB / 453.1 MB, free: 8.535 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001179/0.6399, allocations: 210.8 kB / 453.3 MB, free: 8.277 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003567/0.6402, allocations: 0.6809 MB / 454 MB, free: 7.57 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.44e-05/0.6403, allocations: 11.44 kB / 454 MB, free: 7.559 MB / 378.7 MB Notification: Performance of SimCode: time 1.583e-06/0.6404, allocations: 0 / 454 MB, free: 7.559 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.372/3.012, allocations: 0.8442 MB / 454.8 MB, free: 6.715 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.mat does not exist to compare? outputFormat=mat