Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_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.Orifice.dp_thickEdgedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_thickEdgedOverall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_thickEdgedOverall_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.001264/0.001264, allocations: 105.2 kB / 16.27 MB, free: 5.965 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.001278/0.001278, allocations: 191.6 kB / 17.19 MB, free: 5.602 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.447/1.447, allocations: 205.1 MB / 223.1 MB, free: 12.28 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.2043/0.2043, allocations: 43.53 MB / 313.9 MB, free: 0.5234 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.001764/0.001764, allocations: 67.64 kB / 382.9 MB, free: 56.69 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08605/0.08783, allocations: 57.8 MB / 440.7 MB, free: 6.781 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW): time 0.002625/0.09049, allocations: 1.815 MB / 442.5 MB, free: 4.945 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001595/0.09211, allocations: 1.38 MB / 443.9 MB, free: 3.555 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.283e-05/0.09222, allocations: 0 / 443.9 MB, free: 3.555 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002494/0.09248, allocations: 59.66 kB / 443.9 MB, free: 3.496 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002342/0.09274, allocations: 83.5 kB / 444 MB, free: 3.414 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004782/0.09323, allocations: 227.1 kB / 444.2 MB, free: 3.191 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002732/0.09351, allocations: 393.8 kB / 444.6 MB, free: 2.805 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.693e-05/0.09359, allocations: 52.7 kB / 444.6 MB, free: 2.754 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001797/0.09377, allocations: 155.1 kB / 444.8 MB, free: 2.602 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001988/0.09398, allocations: 175.1 kB / 445 MB, free: 2.43 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.35e-05/0.09402, allocations: 8 kB / 445 MB, free: 2.422 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005806/0.09461, allocations: 471 kB / 445.4 MB, free: 1.961 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001263/0.09474, allocations: 127.4 kB / 445.6 MB, free: 1.836 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001365/0.09489, allocations: 190.6 kB / 445.7 MB, free: 1.648 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005655/0.09546, allocations: 0.615 MB / 446.4 MB, free: 1.031 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.09547, allocations: 0 / 446.4 MB, free: 1.031 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.09548, allocations: 4 kB / 446.4 MB, free: 1.027 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.708e-06/0.09549, allocations: 0 / 446.4 MB, free: 1.027 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: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.0009101/0.0964, allocations: 0.772 MB / 447.1 MB, free: 212 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.09645, allocations: 8.031 kB / 447.1 MB, free: 204 kB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.605e-05/0.09653, allocations: 98.7 kB / 447.2 MB, free: 96 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.501e-05/0.09662, allocations: 52.28 kB / 447.3 MB, free: 44 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003887/0.09701, allocations: 336.2 kB / 447.6 MB, free: 15.68 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.589e-05/0.09705, allocations: 29.38 kB / 447.7 MB, free: 15.65 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.402e-05/0.09712, allocations: 43.94 kB / 447.7 MB, free: 15.61 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009686/0.09809, allocations: 0.6992 MB / 448.4 MB, free: 14.9 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.09812, allocations: 0 / 448.4 MB, free: 14.9 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.82e-05/0.09816, allocations: 16 kB / 448.4 MB, free: 14.88 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.55e-05/0.09823, allocations: 57.28 kB / 448.5 MB, free: 14.83 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001047/0.09929, allocations: 0.7195 MB / 449.2 MB, free: 14.11 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002406/0.1017, allocations: 1.715 MB / 450.9 MB, free: 12.27 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000645/0.1024, allocations: 360.8 kB / 451.3 MB, free: 11.91 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002729/0.1026, allocations: 145.2 kB / 451.4 MB, free: 11.76 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.33e-05/0.1027, allocations: 8.219 kB / 451.4 MB, free: 11.75 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.183e-05/0.1027, allocations: 42.78 kB / 451.4 MB, free: 11.7 MB / 334.1 MB Notification: Performance of pre-optimization done (n=27): time 1.523e-06/0.1027, allocations: 0 / 451.4 MB, free: 11.7 MB / 334.1 MB Notification: Performance of matching and sorting (n=27): time 0.001048/0.1038, allocations: 490.7 kB / 451.9 MB, free: 11.22 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.742e-05/0.1039, allocations: 55.41 kB / 452 MB, free: 11.15 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004699/0.1043, allocations: 453.5 kB / 452.4 MB, free: 10.7 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.674e-05/0.1044, allocations: 33.64 kB / 452.5 MB, free: 10.66 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001648/0.1045, allocations: 267.5 kB / 452.7 MB, free: 10.4 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.376e-05/0.1046, allocations: 94.64 kB / 452.8 MB, free: 10.3 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001781/0.1048, allocations: 85.59 kB / 452.9 MB, free: 10.21 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001431/0.105, allocations: 350.8 kB / 453.2 MB, free: 9.863 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003244/0.1053, allocations: 143.8 kB / 453.4 MB, free: 9.723 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003529/0.1056, allocations: 253.4 kB / 453.6 MB, free: 9.426 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006648/0.1063, allocations: 429.3 kB / 454 MB, free: 8.957 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.434e-06/0.1063, allocations: 7.938 kB / 454 MB, free: 8.949 MB / 334.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008426/0.1072, allocations: 477.7 kB / 454.5 MB, free: 8.477 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.1072, allocations: 4 kB / 454.5 MB, free: 8.473 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.1072, allocations: 4 kB / 454.5 MB, free: 8.469 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.1072, allocations: 8 kB / 454.5 MB, free: 8.461 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005716/0.1078, allocations: 163.9 kB / 454.7 MB, free: 8.301 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002113/0.1099, allocations: 3.606 MB / 458.3 MB, free: 4.555 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002924/0.1103, allocations: 59.36 kB / 458.4 MB, free: 4.496 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.951e-05/0.1103, allocations: 27.92 kB / 458.4 MB, free: 4.469 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (42): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * 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): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002466/0.1106, allocations: 229.7 kB / 458.6 MB, free: 4.234 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.897e-05/0.1106, allocations: 43.47 kB / 458.6 MB, free: 4.191 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001048/0.1117, allocations: 0.5278 MB / 459.2 MB, free: 3.66 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.1117, allocations: 4 kB / 459.2 MB, free: 3.656 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.1117, allocations: 0 / 459.2 MB, free: 3.656 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.1117, allocations: 0 / 459.2 MB, free: 3.656 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005625/0.1123, allocations: 457 kB / 459.6 MB, free: 3.16 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.1123, allocations: 0 / 459.6 MB, free: 3.16 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005117/0.1128, allocations: 135.9 kB / 459.8 MB, free: 3.027 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.149e-06/0.1129, allocations: 8 kB / 459.8 MB, free: 3.02 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.467e-05/0.1129, allocations: 8 kB / 459.8 MB, free: 3.012 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001833/0.1147, allocations: 3.606 MB / 463.4 MB, free: 15.27 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.1147, allocations: 0 / 463.4 MB, free: 15.27 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009849/0.1157, allocations: 0.6673 MB / 464 MB, free: 14.58 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002003/0.1159, allocations: 160.5 kB / 464.2 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.618e-05/0.116, allocations: 4 kB / 464.2 MB, free: 14.4 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002064/0.1162, allocations: 12.06 kB / 464.2 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.396e-05/0.1163, allocations: 31.97 kB / 464.3 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.636e-05/0.1163, allocations: 19.92 kB / 464.3 MB, free: 14.34 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003469/0.1167, allocations: 343.1 kB / 464.6 MB, free: 14 MB / 350.1 MB Notification: Performance of sort global known variables: time 5.21e-07/0.1167, allocations: 0 / 464.6 MB, free: 14 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005407/0.1173, allocations: 167.6 kB / 464.8 MB, free: 13.84 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (L) * 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 (33): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * 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): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001529/0.1188, allocations: 1.278 MB / 466 MB, free: 12.54 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001201/0.12, allocations: 495.7 kB / 466.5 MB, free: 12.05 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.12, allocations: 0.9375 kB / 466.5 MB, free: 12.05 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006288/0.1207, allocations: 267.6 kB / 466.8 MB, free: 11.79 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000453/0.1211, allocations: 43.47 kB / 466.8 MB, free: 11.75 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006807/0.1279, allocations: 4.984 MB / 471.8 MB, free: 6.594 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004784/0.1284, allocations: 0.9092 MB / 472.7 MB, free: 5.66 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003584/0.1288, allocations: 143 kB / 472.9 MB, free: 5.516 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002379/0.1291, allocations: 163.4 kB / 473 MB, free: 5.355 MB / 350.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1291, allocations: 0 / 473 MB, free: 5.355 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03356/0.1626, allocations: 11.03 MB / 484.1 MB, free: 10.36 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.35/12.51, allocations: 6.656 kB / 484.1 MB, free: 10.36 MB / 366.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_thickEdgedOverall_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_thickEdgedOverall_DPMFLOW.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_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/Orifice/dp_thickEdgedOverall_DPMFLOW/dp_thickEdgedOverall_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches