Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_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_3_2_3_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001242/0.001242, allocations: 103.3 kB / 16.27 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001395/0.001395, allocations: 189.2 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.387/1.387, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2103/0.2103, allocations: 43.51 MB / 313.9 MB, free: 0.5352 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001483/0.001483, allocations: 65.12 kB / 382.9 MB, free: 56.74 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08183/0.08333, allocations: 57.8 MB / 440.7 MB, free: 6.773 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW): time 0.002535/0.0859, allocations: 1.909 MB / 442.6 MB, free: 4.844 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001368/0.08729, allocations: 1.126 MB / 443.7 MB, free: 3.711 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001003/0.08741, allocations: 3.938 kB / 443.7 MB, free: 3.707 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002705/0.08771, allocations: 79.58 kB / 443.8 MB, free: 3.629 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001715/0.08789, allocations: 75.41 kB / 443.8 MB, free: 3.555 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004129/0.08831, allocations: 155.4 kB / 444 MB, free: 3.402 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002105/0.08853, allocations: 262.5 kB / 444.3 MB, free: 3.145 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.482e-05/0.08859, allocations: 32.73 kB / 444.3 MB, free: 3.113 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001341/0.08873, allocations: 103.4 kB / 444.4 MB, free: 3.012 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001292/0.08887, allocations: 115.3 kB / 444.5 MB, free: 2.898 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.987e-05/0.0889, allocations: 4 kB / 444.5 MB, free: 2.895 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004294/0.08933, allocations: 323.5 kB / 444.8 MB, free: 2.578 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.994e-05/0.0894, allocations: 63.62 kB / 444.9 MB, free: 2.516 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.298e-05/0.08949, allocations: 107.2 kB / 445 MB, free: 2.41 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004106/0.08991, allocations: 434.5 kB / 445.4 MB, free: 1.984 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.08992, allocations: 0 / 445.4 MB, free: 1.984 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.08993, allocations: 4 kB / 445.4 MB, free: 1.98 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.564e-06/0.08994, allocations: 0 / 445.4 MB, free: 1.98 MB / 318.1 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.0005438/0.09049, allocations: 0.5699 MB / 446 MB, free: 1.363 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.122e-05/0.09053, allocations: 11.89 kB / 446 MB, free: 1.352 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.109e-05/0.09058, allocations: 82.7 kB / 446.1 MB, free: 1.262 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.944e-05/0.09064, allocations: 32.56 kB / 446.1 MB, free: 1.23 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000172/0.09082, allocations: 236 kB / 446.3 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.747e-05/0.09084, allocations: 24.94 kB / 446.4 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.153e-05/0.09088, allocations: 32 kB / 446.4 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005499/0.09143, allocations: 489.4 kB / 446.9 MB, free: 424 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/0.09146, allocations: 0 / 446.9 MB, free: 424 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.584e-05/0.09149, allocations: 23.98 kB / 446.9 MB, free: 400 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.387e-05/0.09153, allocations: 32.98 kB / 446.9 MB, free: 368 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005347/0.09207, allocations: 423.7 kB / 447.3 MB, free: 15.95 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00151/0.09359, allocations: 1.189 MB / 448.5 MB, free: 14.66 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001937/0.0938, allocations: 74.53 kB / 448.6 MB, free: 14.57 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001152/0.09392, allocations: 44.83 kB / 448.6 MB, free: 14.53 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.01e-05/0.09396, allocations: 4.141 kB / 448.7 MB, free: 14.52 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.693e-05/0.09399, allocations: 34.55 kB / 448.7 MB, free: 14.48 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.094, allocations: 0 / 448.7 MB, free: 14.48 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004791/0.09449, allocations: 157.5 kB / 448.8 MB, free: 14.32 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.941e-05/0.09454, allocations: 55.34 kB / 448.9 MB, free: 14.25 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001319/0.09468, allocations: 172.3 kB / 449.1 MB, free: 14.08 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.803e-05/0.0947, allocations: 25.7 kB / 449.1 MB, free: 14.05 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001099/0.09482, allocations: 223.3 kB / 449.3 MB, free: 13.82 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.808e-05/0.09485, allocations: 23.66 kB / 449.3 MB, free: 13.8 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.096e-05/0.09493, allocations: 61.61 kB / 449.4 MB, free: 13.73 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.77e-05/0.09503, allocations: 322.8 kB / 449.7 MB, free: 13.41 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001358/0.09517, allocations: 51.95 kB / 449.8 MB, free: 13.36 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001967/0.09538, allocations: 173.1 kB / 449.9 MB, free: 13.13 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003469/0.09573, allocations: 239.9 kB / 450.2 MB, free: 12.84 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.09575, allocations: 8 kB / 450.2 MB, free: 12.83 MB / 334.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004584/0.09621, allocations: 249.6 kB / 450.4 MB, free: 12.58 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.09624, allocations: 8 kB / 450.4 MB, free: 12.57 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.09625, allocations: 4 kB / 450.4 MB, free: 12.57 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.09627, allocations: 4 kB / 450.4 MB, free: 12.57 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003112/0.09659, allocations: 87.89 kB / 450.5 MB, free: 12.48 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009875/0.09758, allocations: 1.789 MB / 452.3 MB, free: 10.62 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001442/0.09774, allocations: 31.77 kB / 452.3 MB, free: 10.59 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.399e-05/0.09778, allocations: 12 kB / 452.3 MB, free: 10.58 MB / 334.1 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 (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002991/0.09808, allocations: 179.5 kB / 452.5 MB, free: 10.39 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.193e-05/0.09813, allocations: 11.91 kB / 452.5 MB, free: 10.38 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005909/0.09873, allocations: 202.3 kB / 452.7 MB, free: 10.18 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.722e-06/0.09875, allocations: 7.922 kB / 452.7 MB, free: 10.18 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.09876, allocations: 0 / 452.7 MB, free: 10.18 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.09877, allocations: 0 / 452.7 MB, free: 10.18 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005835/0.09936, allocations: 289.6 kB / 453 MB, free: 9.844 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-06/0.09939, allocations: 0 / 453 MB, free: 9.844 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002425/0.09964, allocations: 59.97 kB / 453.1 MB, free: 9.785 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.364e-06/0.09966, allocations: 8 kB / 453.1 MB, free: 9.777 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.491e-05/0.09968, allocations: 3.938 kB / 453.1 MB, free: 9.773 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009107/0.1006, allocations: 1.782 MB / 454.9 MB, free: 7.922 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.746e-06/0.1006, allocations: 0 / 454.9 MB, free: 7.922 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003166/0.1009, allocations: 215.3 kB / 455.1 MB, free: 7.695 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.891e-05/0.101, allocations: 88.95 kB / 455.2 MB, free: 7.59 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.457e-05/0.101, allocations: 4 kB / 455.2 MB, free: 7.586 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.497e-05/0.1011, allocations: 16.08 kB / 455.2 MB, free: 7.57 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.732e-05/0.1012, allocations: 4 kB / 455.2 MB, free: 7.566 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.094e-05/0.1012, allocations: 7.938 kB / 455.2 MB, free: 7.559 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.472e-05/0.1013, allocations: 123.9 kB / 455.3 MB, free: 7.438 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1013, allocations: 0 / 455.3 MB, free: 7.438 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004543/0.1018, allocations: 99.53 kB / 455.4 MB, free: 7.34 MB / 334.1 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 (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008021/0.1026, allocations: 0.7942 MB / 456.2 MB, free: 6.516 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005826/0.1032, allocations: 187.6 kB / 456.4 MB, free: 6.332 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.1032, allocations: 1.125 kB / 456.4 MB, free: 6.332 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002942/0.1035, allocations: 91.94 kB / 456.5 MB, free: 6.242 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003011/0.1038, allocations: 15.94 kB / 456.5 MB, free: 6.227 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002534/0.1063, allocations: 2.203 MB / 458.7 MB, free: 3.836 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003167/0.1067, allocations: 0.8021 MB / 459.5 MB, free: 3.008 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001873/0.1069, allocations: 61.19 kB / 459.6 MB, free: 2.949 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.916e-05/0.107, allocations: 79.42 kB / 459.6 MB, free: 2.871 MB / 334.1 MB Notification: Performance of SimCode: time 3.71e-07/0.107, allocations: 0 / 459.6 MB, free: 2.871 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02211/0.1291, allocations: 5.175 MB / 464.8 MB, free: 13.75 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.22/12.35, allocations: 17.38 kB / 464.8 MB, free: 13.73 MB / 350.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalPressureLossLawDensity_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalPressureLossLawDensity_DPMFLOW.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/General/dp_nominalPressureLossLawDensity_DPMFLOW/dp_nominalPressureLossLawDensity_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches