Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_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_nominalPressureLossLawDensity_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalPressureLossLawDensity_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalPressureLossLawDensity_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.001096/0.001096, allocations: 198.2 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.231/1.231, allocations: 226.5 MB / 243.4 MB, free: 6.398 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009286/0.0009283, allocations: 97.12 kB / 295.5 MB, free: 6.691 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2785/0.2785, allocations: 44.82 MB / 392.3 MB, free: 35.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002631/0.0002631, allocations: 4 kB / 465.4 MB, free: 12.57 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2696/0.2699, allocations: 62.96 MB / 0.516 GB, free: 37.21 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW): time 0.001586/0.2715, allocations: 1.598 MB / 0.5175 GB, free: 36.07 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001164/0.2727, allocations: 1.044 MB / 0.5186 GB, free: 35.34 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.04e-05/0.2728, allocations: 0 / 0.5186 GB, free: 35.34 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002305/0.273, allocations: 59.23 kB / 0.5186 GB, free: 35.31 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001465/0.2732, allocations: 76.28 kB / 0.5187 GB, free: 35.26 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002901/0.2735, allocations: 107.8 kB / 0.5188 GB, free: 35.22 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002237/0.2737, allocations: 291.6 kB / 0.5191 GB, free: 35.09 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.759e-05/0.2738, allocations: 35.91 kB / 0.5191 GB, free: 35.07 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001644/0.274, allocations: 100.4 kB / 0.5192 GB, free: 35.03 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001255/0.2741, allocations: 122 kB / 0.5193 GB, free: 34.98 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.082e-05/0.2741, allocations: 5.719 kB / 0.5193 GB, free: 34.98 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003857/0.2745, allocations: 299.6 kB / 0.5196 GB, free: 34.89 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.394e-05/0.2746, allocations: 55.91 kB / 0.5197 GB, free: 34.86 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 9.057e-05/0.2747, allocations: 136 kB / 0.5198 GB, free: 34.77 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002853/0.275, allocations: 296.8 kB / 0.5201 GB, free: 34.67 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.275, allocations: 2.812 kB / 0.5201 GB, free: 34.67 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.275, allocations: 0 / 0.5201 GB, free: 34.67 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.275, allocations: 0 / 0.5201 GB, free: 34.67 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: 95 * Number of variables: 95 Notification: Performance of Generate backend data structure: time 0.0005436/0.2756, allocations: 0.5222 MB / 0.5206 GB, free: 34.21 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.2756, allocations: 11.62 kB / 0.5206 GB, free: 34.21 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.666e-05/0.2757, allocations: 71.03 kB / 0.5207 GB, free: 34.16 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.284e-05/0.2757, allocations: 31.34 kB / 0.5207 GB, free: 34.14 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001728/0.2759, allocations: 233.8 kB / 0.5209 GB, free: 33.92 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.946e-05/0.2759, allocations: 28.66 kB / 0.5209 GB, free: 33.9 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.057e-05/0.276, allocations: 32.27 kB / 0.521 GB, free: 33.89 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005751/0.2765, allocations: 0.4921 MB / 0.5215 GB, free: 33.68 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.2766, allocations: 0 / 0.5215 GB, free: 33.68 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.303e-05/0.2766, allocations: 14.95 kB / 0.5215 GB, free: 33.67 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.786e-05/0.2766, allocations: 31.19 kB / 0.5215 GB, free: 33.67 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005147/0.2772, allocations: 430.6 kB / 0.5219 GB, free: 33.54 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001068/0.2782, allocations: 1.196 MB / 0.5231 GB, free: 32.69 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001602/0.2784, allocations: 84.11 kB / 0.5232 GB, free: 32.65 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000105/0.2785, allocations: 49.41 kB / 0.5232 GB, free: 32.63 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.707e-05/0.2786, allocations: 2.688 kB / 0.5232 GB, free: 32.63 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.348e-05/0.2786, allocations: 40.67 kB / 0.5232 GB, free: 32.59 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 1.162e-06/0.2786, allocations: 0 / 0.5232 GB, free: 32.59 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.000423/0.279, allocations: 169.5 kB / 0.5234 GB, free: 32.53 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.105e-05/0.279, allocations: 59.28 kB / 0.5235 GB, free: 32.46 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001222/0.2792, allocations: 163.7 kB / 0.5236 GB, free: 32.33 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.799e-06/0.2792, allocations: 25.7 kB / 0.5236 GB, free: 32.3 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.6e-05/0.2793, allocations: 225.9 kB / 0.5239 GB, free: 32.11 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.672e-05/0.2793, allocations: 24.88 kB / 0.5239 GB, free: 32.09 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.198e-06/0.2793, allocations: 4 kB / 0.5239 GB, free: 32.09 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.435e-05/0.2793, allocations: 325 kB / 0.5242 GB, free: 31.77 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001227/0.2795, allocations: 55.11 kB / 0.5243 GB, free: 31.76 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001475/0.2796, allocations: 172.1 kB / 0.5244 GB, free: 31.59 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002829/0.2799, allocations: 262.6 kB / 0.5247 GB, free: 31.38 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.2799, allocations: 3.938 kB / 0.5247 GB, free: 31.38 MB / 378.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003841/0.2803, allocations: 254.9 kB / 0.5249 GB, free: 31.28 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.2803, allocations: 15.53 kB / 0.5249 GB, free: 31.28 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.2803, allocations: 3.297 kB / 0.5249 GB, free: 31.28 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.2804, allocations: 8.125 kB / 0.5249 GB, free: 31.28 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002943/0.2807, allocations: 90.16 kB / 0.525 GB, free: 31.26 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004919/0.2812, allocations: 1.784 MB / 0.5268 GB, free: 29.48 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001212/0.2813, allocations: 35.11 kB / 0.5268 GB, free: 29.46 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.89e-05/0.2813, allocations: 14.88 kB / 0.5268 GB, free: 29.46 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 7 (dp_IN_con[3].target,dp_IN_con[2].target,dp_IN_con[1].target,m_flow_IN_con[3].target,m_flow_IN_con[2].target,m_flow_IN_con[1].target,NominalMassFlowRate) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 22 * 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.0001515/0.2815, allocations: 178.9 kB / 0.527 GB, free: 29.33 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.068e-05/0.2815, allocations: 13.16 kB / 0.527 GB, free: 29.32 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004487/0.282, allocations: 218.6 kB / 0.5272 GB, free: 29.22 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.282, allocations: 0 / 0.5272 GB, free: 29.22 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.282, allocations: 0 / 0.5272 GB, free: 29.22 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.282, allocations: 4 kB / 0.5272 GB, free: 29.22 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002356/0.2822, allocations: 294.5 kB / 0.5275 GB, free: 28.99 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-06/0.2823, allocations: 0 / 0.5275 GB, free: 28.99 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001878/0.2824, allocations: 69.72 kB / 0.5276 GB, free: 28.98 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.2825, allocations: 0 / 0.5276 GB, free: 28.98 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.051e-05/0.2825, allocations: 9.75 kB / 0.5276 GB, free: 28.97 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004371/0.2829, allocations: 1.775 MB / 0.5293 GB, free: 27.2 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.2829, allocations: 0 / 0.5293 GB, free: 27.2 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002734/0.2832, allocations: 227.6 kB / 0.5295 GB, free: 27.04 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.452e-05/0.2832, allocations: 88.2 kB / 0.5296 GB, free: 26.94 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.954e-05/0.2833, allocations: 4 kB / 0.5296 GB, free: 26.93 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.593e-05/0.2834, allocations: 8.641 kB / 0.5296 GB, free: 26.93 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.623e-05/0.2834, allocations: 17.06 kB / 0.5296 GB, free: 26.93 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.949e-06/0.2834, allocations: 9.344 kB / 0.5296 GB, free: 26.92 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.136e-05/0.2835, allocations: 114.6 kB / 0.5297 GB, free: 26.84 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2835, allocations: 0 / 0.5297 GB, free: 26.84 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003775/0.2839, allocations: 101.1 kB / 0.5298 GB, free: 26.8 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.0005278/0.2844, allocations: 0.7968 MB / 0.5306 GB, free: 26.1 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004546/0.2849, allocations: 195.5 kB / 0.5308 GB, free: 26.06 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.2849, allocations: 0 / 0.5308 GB, free: 26.06 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002566/0.2851, allocations: 98.14 kB / 0.5309 GB, free: 26.04 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002321/0.2854, allocations: 13.45 kB / 0.5309 GB, free: 26.04 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001298/0.2867, allocations: 1.241 MB / 0.5321 GB, free: 25.2 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001636/0.2869, allocations: 0.7913 MB / 0.5329 GB, free: 24.49 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.155e-05/0.287, allocations: 81.91 kB / 0.533 GB, free: 24.43 MB / 378.7 MB Notification: Performance of SimCode: time 3.3e-07/0.287, allocations: 0 / 0.533 GB, free: 24.43 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.334/3.621, allocations: 7.767 MB / 0.5406 GB, free: 23.78 MB / 378.7 MB (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalPressureLossLawDensity_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalPressureLossLawDensity_DPMFLOW.fmu > ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_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_nominalPressureLossLawDensity_DPMFLOW/dp_nominalPressureLossLawDensity_DPMFLOW.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches