Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_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_nominalDensityViscosity_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_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.0009961/0.0009961, allocations: 198.3 kB / 16.1 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.207/1.207, allocations: 226.5 MB / 243.4 MB, free: 6.395 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007334/0.0007335, allocations: 92.5 kB / 295.4 MB, free: 6.664 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2865/0.2865, allocations: 44.82 MB / 392.3 MB, free: 35.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002423/0.0002424, allocations: 11.98 kB / 465.4 MB, free: 12.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2466/0.2468, allocations: 62.96 MB / 0.516 GB, free: 37.35 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW): time 0.001435/0.2483, allocations: 1.513 MB / 0.5175 GB, free: 36.25 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007262/0.249, allocations: 0.5685 MB / 0.518 GB, free: 35.86 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.341e-05/0.2491, allocations: 3.938 kB / 0.518 GB, free: 35.86 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002066/0.2493, allocations: 51.11 kB / 0.5181 GB, free: 35.83 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001236/0.2494, allocations: 65.67 kB / 0.5181 GB, free: 35.8 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002349/0.2497, allocations: 88.95 kB / 0.5182 GB, free: 35.76 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000221/0.2499, allocations: 270.5 kB / 0.5185 GB, free: 35.64 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.611e-05/0.25, allocations: 34.61 kB / 0.5185 GB, free: 35.62 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.102e-05/0.2501, allocations: 75.33 kB / 0.5186 GB, free: 35.6 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001096/0.2502, allocations: 104.7 kB / 0.5187 GB, free: 35.55 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.813e-05/0.2502, allocations: 5.938 kB / 0.5187 GB, free: 35.55 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000276/0.2505, allocations: 217.7 kB / 0.5189 GB, free: 35.49 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.528e-05/0.2505, allocations: 53.59 kB / 0.5189 GB, free: 35.47 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.354e-05/0.2506, allocations: 118.3 kB / 0.5191 GB, free: 35.39 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002202/0.2508, allocations: 214.7 kB / 0.5193 GB, free: 35.33 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.2509, allocations: 4 kB / 0.5193 GB, free: 35.33 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.2509, allocations: 7.938 kB / 0.5193 GB, free: 35.32 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.717e-06/0.2509, allocations: 3.938 kB / 0.5193 GB, free: 35.32 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: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.00047/0.2514, allocations: 0.4883 MB / 0.5198 GB, free: 34.88 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.302e-05/0.2514, allocations: 11.75 kB / 0.5198 GB, free: 34.88 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.445e-05/0.2514, allocations: 66.53 kB / 0.5198 GB, free: 34.82 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00159/0.253, allocations: 208.4 kB / 0.52 GB, free: 34.78 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002244/0.2533, allocations: 262 kB / 0.5203 GB, free: 34.55 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.459e-05/0.2533, allocations: 17.59 kB / 0.5203 GB, free: 34.54 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.427e-05/0.2533, allocations: 24.72 kB / 0.5203 GB, free: 34.54 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008412/0.2542, allocations: 0.5042 MB / 0.5208 GB, free: 34.36 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.2542, allocations: 0 / 0.5208 GB, free: 34.36 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.447e-05/0.2543, allocations: 14.73 kB / 0.5208 GB, free: 34.34 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.332e-05/0.2543, allocations: 27.14 kB / 0.5208 GB, free: 34.34 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001046/0.2553, allocations: 0.5871 MB / 0.5214 GB, free: 34.18 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001745/0.2571, allocations: 1.168 MB / 0.5226 GB, free: 33.45 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005961/0.2577, allocations: 185.7 kB / 0.5227 GB, free: 33.4 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003387/0.2581, allocations: 88.55 kB / 0.5228 GB, free: 33.39 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.213e-05/0.2581, allocations: 7.938 kB / 0.5228 GB, free: 33.38 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.522e-05/0.2581, allocations: 36.88 kB / 0.5229 GB, free: 33.34 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 1.293e-06/0.2581, allocations: 0 / 0.5229 GB, free: 33.34 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.001103/0.2592, allocations: 318.1 kB / 0.5232 GB, free: 33.27 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.911e-05/0.2592, allocations: 55.34 kB / 0.5232 GB, free: 33.2 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001902/0.2594, allocations: 278.2 kB / 0.5235 GB, free: 33.04 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.108e-05/0.2595, allocations: 25.7 kB / 0.5235 GB, free: 33.01 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.174e-05/0.2596, allocations: 167.9 kB / 0.5237 GB, free: 32.87 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.644e-05/0.2596, allocations: 25.91 kB / 0.5237 GB, free: 32.85 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.828e-05/0.2596, allocations: 3.031 kB / 0.5237 GB, free: 32.85 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.856e-05/0.2597, allocations: 331.3 kB / 0.524 GB, free: 32.53 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003289/0.26, allocations: 98.83 kB / 0.5241 GB, free: 32.51 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003373/0.2603, allocations: 121.7 kB / 0.5242 GB, free: 32.46 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006585/0.261, allocations: 217.3 kB / 0.5244 GB, free: 32.39 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.155e-06/0.261, allocations: 0 / 0.5244 GB, free: 32.39 MB / 378.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0007723/0.2618, allocations: 276.8 kB / 0.5247 GB, free: 32.3 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.2618, allocations: 15.91 kB / 0.5247 GB, free: 32.3 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.2618, allocations: 0 / 0.5247 GB, free: 32.3 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.2618, allocations: 2.406 kB / 0.5247 GB, free: 32.3 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005538/0.2674, allocations: 471.2 kB / 0.5252 GB, free: 32.28 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002147/0.2696, allocations: 1.946 MB / 0.5271 GB, free: 30.48 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004165/0.27, allocations: 44.78 kB / 0.5271 GB, free: 30.46 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.482e-05/0.27, allocations: 7.984 kB / 0.5271 GB, free: 30.46 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (13): * 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): 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.000144/0.2702, allocations: 159.1 kB / 0.5273 GB, free: 30.33 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.398e-05/0.2702, allocations: 19.25 kB / 0.5273 GB, free: 30.32 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.363e-05/0.2703, allocations: 27.97 kB / 0.5273 GB, free: 30.31 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.2703, allocations: 4 kB / 0.5273 GB, free: 30.31 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.2703, allocations: 0 / 0.5273 GB, free: 30.31 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.2703, allocations: 3.281 kB / 0.5273 GB, free: 30.31 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002711/0.2706, allocations: 292.5 kB / 0.5276 GB, free: 30.09 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.2706, allocations: 0 / 0.5276 GB, free: 30.09 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005554/0.2762, allocations: 461.2 kB / 0.528 GB, free: 30.07 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.2762, allocations: 6.688 kB / 0.528 GB, free: 30.06 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.241e-05/0.2762, allocations: 3.422 kB / 0.528 GB, free: 30.06 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002136/0.2783, allocations: 1.94 MB / 0.5299 GB, free: 28.27 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.2784, allocations: 0 / 0.5299 GB, free: 28.27 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007366/0.2791, allocations: 341 kB / 0.5303 GB, free: 28.09 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.726e-05/0.2792, allocations: 90.05 kB / 0.5304 GB, free: 27.99 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.989e-05/0.2792, allocations: 7.406 kB / 0.5304 GB, free: 27.99 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003503/0.2796, allocations: 23.47 kB / 0.5304 GB, free: 27.98 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.938e-05/0.2796, allocations: 9.453 kB / 0.5304 GB, free: 27.98 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.091e-05/0.2797, allocations: 10.02 kB / 0.5304 GB, free: 27.98 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001487/0.2798, allocations: 207.7 kB / 0.5306 GB, free: 27.87 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2798, allocations: 0 / 0.5306 GB, free: 27.87 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003259/0.2802, allocations: 76.22 kB / 0.5307 GB, free: 27.86 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 (7): * Single equations (assignments): 4 * 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.0009489/0.2811, allocations: 0.868 MB / 0.5315 GB, free: 27.15 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.005776/0.2869, allocations: 0.6119 MB / 0.5321 GB, free: 27.1 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.2869, allocations: 0 / 0.5321 GB, free: 27.1 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005272/0.2922, allocations: 0.5032 MB / 0.5326 GB, free: 27.07 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003742/0.2926, allocations: 43.95 kB / 0.5326 GB, free: 27.05 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002528/0.2951, allocations: 1.717 MB / 0.5343 GB, free: 26.21 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001511/0.2953, allocations: 0.777 MB / 0.5351 GB, free: 25.51 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001198/0.2954, allocations: 68.61 kB / 0.5351 GB, free: 25.46 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.2954, allocations: 0 / 0.5351 GB, free: 25.46 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.505/3.801, allocations: 7.199 MB / 0.5422 GB, free: 23.96 MB / 378.7 MB (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW.fmu > ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_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_nominalDensityViscosity_DPMFLOW/dp_nominalDensityViscosity_DPMFLOW.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches