Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCases",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.377/2.377, allocations: 235.1 MB / 243 MB, free: 9.586 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.36e-05/3.37e-05, allocations: 4 kB / 303.3 MB, free: 13.18 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4011/0.4012, allocations: 54.85 MB / 358.1 MB, free: 14.85 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.213/1.615, allocations: 332.6 MB / 0.6746 GB, free: 135 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002829/1.615, allocations: 89.27 kB / 0.6747 GB, free: 135 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.26/3.875, allocations: 444.5 MB / 1.109 GB, free: 58.63 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.765e-06/3.875, allocations: 0 / 1.109 GB, free: 58.63 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001452/3.875, allocations: 48.22 kB / 1.109 GB, free: 58.62 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 338 * Number of variables: 338 Notification: Performance of Generate backend data structure: time 0.00619/3.881, allocations: 1.92 MB / 1.111 GB, free: 57.66 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.214e-05/3.881, allocations: 12.88 kB / 1.111 GB, free: 57.66 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001813/3.883, allocations: 230 kB / 1.111 GB, free: 57.57 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003533/3.886, allocations: 1.186 MB / 1.112 GB, free: 57.21 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.265e-05/3.887, allocations: 44.22 kB / 1.112 GB, free: 57.21 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002092/3.887, allocations: 75.81 kB / 1.112 GB, free: 57.21 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003136/3.89, allocations: 1.373 MB / 1.113 GB, free: 57.2 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003253/3.893, allocations: 1.587 MB / 1.115 GB, free: 56.68 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.623e-05/3.893, allocations: 5.25 kB / 1.115 GB, free: 56.68 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000266/3.894, allocations: 7.906 kB / 1.115 GB, free: 56.68 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.526e-05/3.894, allocations: 36.5 kB / 1.115 GB, free: 56.68 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01382/3.908, allocations: 10.9 MB / 1.126 GB, free: 48.49 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001141/3.909, allocations: 0.5024 MB / 1.126 GB, free: 48.46 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005589/3.909, allocations: 289.8 kB / 1.127 GB, free: 48.45 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006057/3.915, allocations: 4.288 MB / 1.131 GB, free: 44.99 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.124e-05/3.915, allocations: 38.31 kB / 1.131 GB, free: 44.95 MB / 490.7 MB Notification: Performance of pre-optimization done (n=41): time 3.757e-06/3.915, allocations: 2.344 kB / 1.131 GB, free: 44.95 MB / 490.7 MB Notification: Performance of matching and sorting (n=41): time 0.006375/3.922, allocations: 0.9178 MB / 1.132 GB, free: 44.84 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001205/3.922, allocations: 376 kB / 1.132 GB, free: 44.4 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001743/3.924, allocations: 1.011 MB / 1.133 GB, free: 44.21 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.312e-05/3.924, allocations: 25.7 kB / 1.133 GB, free: 44.18 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006431/3.925, allocations: 0.9841 MB / 1.134 GB, free: 43.57 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001514/3.925, allocations: 163.2 kB / 1.134 GB, free: 43.47 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.657e-05/3.925, allocations: 0 / 1.134 GB, free: 43.47 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000121/3.925, allocations: 371 kB / 1.134 GB, free: 43.16 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005399/3.925, allocations: 241 kB / 1.135 GB, free: 43.16 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001161/3.927, allocations: 1.295 MB / 1.136 GB, free: 41.77 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005735/3.932, allocations: 0.9383 MB / 1.137 GB, free: 41.75 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-05/3.932, allocations: 13.78 kB / 1.137 GB, free: 41.75 MB / 490.7 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.007872/3.94, allocations: 1.736 MB / 1.139 GB, free: 41.5 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.237e-05/3.94, allocations: 19.28 kB / 1.139 GB, free: 41.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.101e-05/3.94, allocations: 34.72 kB / 1.139 GB, free: 41.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.38e-05/3.941, allocations: 56.12 kB / 1.139 GB, free: 41.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007461/3.948, allocations: 0.6852 MB / 1.139 GB, free: 41.47 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001941/3.95, allocations: 1.935 MB / 1.141 GB, free: 39.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002931/3.953, allocations: 239.1 kB / 1.141 GB, free: 39.59 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002808/3.953, allocations: 113.6 kB / 1.142 GB, free: 39.59 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 163 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (203): * Single equations (assignments): 200 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003755/3.954, allocations: 194.8 kB / 1.142 GB, free: 39.42 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006203/3.96, allocations: 0.9188 MB / 1.143 GB, free: 39.31 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002348/3.96, allocations: 142.6 kB / 1.143 GB, free: 39.24 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005982/3.966, allocations: 1.44 MB / 1.144 GB, free: 39.06 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.037e-05/3.966, allocations: 10.38 kB / 1.144 GB, free: 39.06 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/3.966, allocations: 0 / 1.144 GB, free: 39.06 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.153e-05/3.966, allocations: 7.406 kB / 1.144 GB, free: 39.06 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002129/3.968, allocations: 0.828 MB / 1.145 GB, free: 38.86 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.456e-06/3.969, allocations: 2.844 kB / 1.145 GB, free: 38.86 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001507/3.97, allocations: 194.1 kB / 1.145 GB, free: 38.86 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003223/3.97, allocations: 39.66 kB / 1.145 GB, free: 38.85 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.264e-05/3.97, allocations: 10.52 kB / 1.145 GB, free: 38.85 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001224/3.972, allocations: 1.787 MB / 1.147 GB, free: 37.16 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.88e-06/3.972, allocations: 3.781 kB / 1.147 GB, free: 37.16 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003713/3.975, allocations: 0.9686 MB / 1.148 GB, free: 36.91 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005951/3.976, allocations: 260.7 kB / 1.148 GB, free: 36.73 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003217/3.976, allocations: 1.875 kB / 1.148 GB, free: 36.73 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001094/3.978, allocations: 46.33 kB / 1.148 GB, free: 36.72 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001656/3.978, allocations: 47.33 kB / 1.148 GB, free: 36.72 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.065e-05/3.978, allocations: 26.92 kB / 1.148 GB, free: 36.72 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001378/3.979, allocations: 0.7563 MB / 1.149 GB, free: 36.61 MB / 490.7 MB Notification: Performance of sort global known variables: time 8.02e-07/3.979, allocations: 0 / 1.149 GB, free: 36.61 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003885/3.983, allocations: 0.7584 MB / 1.15 GB, free: 36.46 MB / 490.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 (67): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.006994/3.99, allocations: 2.526 MB / 1.152 GB, free: 35.39 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.007059/3.997, allocations: 1.047 MB / 1.153 GB, free: 35.28 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.925e-06/3.997, allocations: 3.781 kB / 1.153 GB, free: 35.28 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001484/3.999, allocations: 348.1 kB / 1.154 GB, free: 35.26 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004845/4.004, allocations: 0.524 MB / 1.154 GB, free: 35.22 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008283/4.012, allocations: 2.381 MB / 1.156 GB, free: 34.51 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008065/4.013, allocations: 1.269 MB / 1.158 GB, free: 33.77 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001198/4.014, allocations: 0.6304 MB / 1.158 GB, free: 33.75 MB / 490.7 MB Notification: Performance of SimCode: time 1.062e-06/4.014, allocations: 0 / 1.158 GB, free: 33.75 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.745/7.759, allocations: 54.32 MB / 1.211 GB, free: 9.457 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases_res.mat does not exist to compare? outputFormat=mat