Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001049/0.001049, allocations: 199.1 kB / 16.1 MB, free: 5.578 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.202/1.202, allocations: 226.5 MB / 243.4 MB, free: 6.371 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007773/0.0007775, allocations: 99.52 kB / 295.5 MB, free: 6.629 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2814/0.2814, allocations: 44.82 MB / 392.3 MB, free: 35.62 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002677/0.0002677, allocations: 8 kB / 465.4 MB, free: 12.52 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2761/0.2764, allocations: 62.96 MB / 0.516 GB, free: 37.39 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW): time 0.001378/0.2778, allocations: 1.377 MB / 0.5173 GB, free: 36.4 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008888/0.2787, allocations: 0.7682 MB / 0.5181 GB, free: 35.87 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.865e-05/0.2787, allocations: 3.094 kB / 0.5181 GB, free: 35.87 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001748/0.2789, allocations: 32.58 kB / 0.5181 GB, free: 35.85 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001218/0.279, allocations: 52.44 kB / 0.5182 GB, free: 35.82 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002051/0.2792, allocations: 66.72 kB / 0.5182 GB, free: 35.8 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000163/0.2794, allocations: 185.7 kB / 0.5184 GB, free: 35.73 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.228e-05/0.2795, allocations: 14.58 kB / 0.5184 GB, free: 35.72 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001294/0.2796, allocations: 61.55 kB / 0.5185 GB, free: 35.7 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.688e-05/0.2797, allocations: 70.08 kB / 0.5185 GB, free: 35.68 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.53e-05/0.2797, allocations: 5.969 kB / 0.5186 GB, free: 35.68 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002492/0.28, allocations: 153 kB / 0.5187 GB, free: 35.63 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.156e-05/0.28, allocations: 39.94 kB / 0.5187 GB, free: 35.62 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.913e-05/0.2801, allocations: 81.02 kB / 0.5188 GB, free: 35.56 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001736/0.2803, allocations: 151.1 kB / 0.519 GB, free: 35.51 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.2803, allocations: 0 / 0.519 GB, free: 35.51 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.2803, allocations: 0 / 0.519 GB, free: 35.51 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.057e-06/0.2803, allocations: 0 / 0.519 GB, free: 35.51 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0004071/0.2807, allocations: 439.1 kB / 0.5194 GB, free: 35.11 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.246e-05/0.2808, allocations: 8.75 kB / 0.5194 GB, free: 35.11 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.48e-05/0.2808, allocations: 48.03 kB / 0.5194 GB, free: 35.06 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000399/0.2812, allocations: 71.58 kB / 0.5195 GB, free: 35.04 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001397/0.2814, allocations: 217.7 kB / 0.5197 GB, free: 34.82 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.102e-05/0.2814, allocations: 7.234 kB / 0.5197 GB, free: 34.81 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.438e-05/0.2814, allocations: 16.47 kB / 0.5197 GB, free: 34.8 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003662/0.2818, allocations: 248.7 kB / 0.52 GB, free: 34.71 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/0.2818, allocations: 0 / 0.52 GB, free: 34.71 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.854e-05/0.2818, allocations: 7.188 kB / 0.52 GB, free: 34.7 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.652e-05/0.2819, allocations: 22.25 kB / 0.52 GB, free: 34.7 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003632/0.2822, allocations: 226.8 kB / 0.5202 GB, free: 34.64 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007983/0.283, allocations: 0.7329 MB / 0.5209 GB, free: 34.07 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001781/0.2832, allocations: 87.48 kB / 0.521 GB, free: 34.04 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001132/0.2833, allocations: 55.39 kB / 0.5211 GB, free: 34.02 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.718e-05/0.2834, allocations: 4.141 kB / 0.5211 GB, free: 34.01 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.402e-05/0.2834, allocations: 41.5 kB / 0.5211 GB, free: 33.96 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 1.303e-06/0.2834, allocations: 0 / 0.5211 GB, free: 33.96 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004439/0.2838, allocations: 179.2 kB / 0.5213 GB, free: 33.91 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.022e-05/0.2839, allocations: 54.28 kB / 0.5213 GB, free: 33.85 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001179/0.284, allocations: 186.2 kB / 0.5215 GB, free: 33.72 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.218e-05/0.284, allocations: 25.7 kB / 0.5215 GB, free: 33.69 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.471e-05/0.2841, allocations: 139.3 kB / 0.5217 GB, free: 33.56 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.818e-05/0.2841, allocations: 29.92 kB / 0.5217 GB, free: 33.54 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.001e-05/0.2841, allocations: 7.031 kB / 0.5217 GB, free: 33.54 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 3.842e-05/0.2841, allocations: 321.4 kB / 0.522 GB, free: 33.22 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001195/0.2843, allocations: 50.27 kB / 0.5221 GB, free: 33.21 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001315/0.2844, allocations: 112.1 kB / 0.5222 GB, free: 33.13 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002477/0.2847, allocations: 166.9 kB / 0.5223 GB, free: 33.04 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.2847, allocations: 2.875 kB / 0.5223 GB, free: 33.04 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003175/0.285, allocations: 192.8 kB / 0.5225 GB, free: 32.96 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/0.285, allocations: 9.781 kB / 0.5225 GB, free: 32.96 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.285, allocations: 6.781 kB / 0.5225 GB, free: 32.96 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.2851, allocations: 2.906 kB / 0.5225 GB, free: 32.96 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007694/0.2858, allocations: 108.4 kB / 0.5226 GB, free: 32.95 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000711/0.2865, allocations: 1.81 MB / 0.5244 GB, free: 31.17 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001276/0.2867, allocations: 28.89 kB / 0.5244 GB, free: 31.16 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.554e-05/0.2867, allocations: 8.844 kB / 0.5244 GB, free: 31.16 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (14): * Single equations (assignments): 11 * 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 8.353e-05/0.2868, allocations: 144.1 kB / 0.5246 GB, free: 31.03 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.092e-05/0.2868, allocations: 8.812 kB / 0.5246 GB, free: 31.03 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000394/0.2872, allocations: 191.8 kB / 0.5248 GB, free: 30.95 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.2872, allocations: 4 kB / 0.5248 GB, free: 30.95 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.2873, allocations: 0 / 0.5248 GB, free: 30.95 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.2873, allocations: 0 / 0.5248 GB, free: 30.95 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001856/0.2875, allocations: 236.5 kB / 0.525 GB, free: 30.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.2875, allocations: 0 / 0.525 GB, free: 30.73 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006364/0.2881, allocations: 95.78 kB / 0.5251 GB, free: 30.73 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.2881, allocations: 4 kB / 0.5251 GB, free: 30.72 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.177e-05/0.2881, allocations: 6.75 kB / 0.5251 GB, free: 30.72 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005375/0.2887, allocations: 1.782 MB / 0.5268 GB, free: 28.94 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.2887, allocations: 0 / 0.5268 GB, free: 28.94 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002914/0.289, allocations: 254.6 kB / 0.5271 GB, free: 28.77 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.065e-05/0.289, allocations: 94.53 kB / 0.5272 GB, free: 28.67 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.179e-05/0.2891, allocations: 3.938 kB / 0.5272 GB, free: 28.67 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001254/0.2892, allocations: 14.81 kB / 0.5272 GB, free: 28.66 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.457e-05/0.2892, allocations: 6.281 kB / 0.5272 GB, free: 28.66 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.736e-06/0.2893, allocations: 6.781 kB / 0.5272 GB, free: 28.66 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.268e-05/0.2893, allocations: 140.4 kB / 0.5273 GB, free: 28.57 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2893, allocations: 0 / 0.5273 GB, free: 28.57 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002719/0.2896, allocations: 46.41 kB / 0.5274 GB, free: 28.56 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.000502/0.2901, allocations: 0.7912 MB / 0.5281 GB, free: 27.86 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001023/0.2912, allocations: 225.9 kB / 0.5284 GB, free: 27.83 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.2912, allocations: 0 / 0.5284 GB, free: 27.83 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00056/0.2917, allocations: 118.7 kB / 0.5285 GB, free: 27.82 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003814/0.2921, allocations: 45.48 kB / 0.5285 GB, free: 27.8 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001325/0.2935, allocations: 1.072 MB / 0.5296 GB, free: 27.16 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001372/0.2936, allocations: 0.7305 MB / 0.5303 GB, free: 26.46 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.157e-05/0.2937, allocations: 42.67 kB / 0.5303 GB, free: 26.43 MB / 378.7 MB Notification: Performance of SimCode: time 3.11e-07/0.2937, allocations: 0 / 0.5303 GB, free: 26.43 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.407/3.7, allocations: 4.776 MB / 0.535 GB, free: 26.1 MB / 378.7 MB (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW.fmu > ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/General/dp_pressureLossCoefficient_DPMFLOW/dp_pressureLossCoefficient_DPMFLOW.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches