Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_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_4_0_0_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.00182/0.00182, allocations: 105 kB / 17.21 MB, free: 6.273 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.002035/0.002035, allocations: 194 kB / 18.12 MB, free: 5.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.391/1.391, allocations: 222.9 MB / 241.8 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2194/0.2194, allocations: 44.17 MB / 336.1 MB, free: 2.98 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001138/0.001138, allocations: 66.8 kB / 407.8 MB, free: 27.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1063/0.1075, allocations: 60.82 MB / 468.6 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW): time 0.002937/0.1104, allocations: 1.886 MB / 470.5 MB, free: 12.81 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001838/0.1123, allocations: 1.344 MB / 471.9 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.734e-05/0.1124, allocations: 4 kB / 471.9 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002512/0.1126, allocations: 55.72 kB / 471.9 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002254/0.1129, allocations: 75.64 kB / 472 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003971/0.1133, allocations: 195.4 kB / 472.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000379/0.1137, allocations: 449.8 kB / 472.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.662e-05/0.1138, allocations: 48.7 kB / 472.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002114/0.114, allocations: 155.1 kB / 472.8 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002179/0.1142, allocations: 179.1 kB / 473 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.234e-05/0.1143, allocations: 11.94 kB / 473 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006722/0.115, allocations: 459 kB / 473.5 MB, free: 9.855 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001647/0.1151, allocations: 131.4 kB / 473.6 MB, free: 9.727 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001642/0.1153, allocations: 186.7 kB / 473.8 MB, free: 9.543 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006486/0.116, allocations: 0.6035 MB / 474.4 MB, free: 8.938 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.116, allocations: 0 / 474.4 MB, free: 8.938 MB / 350.1 MB Notification: Performance of FrontEnd: time 6.61e-07/0.116, allocations: 4 kB / 474.4 MB, free: 8.934 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.1e-06/0.116, allocations: 0 / 474.4 MB, free: 8.934 MB / 350.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.001046/0.117, allocations: 0.7799 MB / 475.2 MB, free: 8.105 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.1171, allocations: 8.031 kB / 475.2 MB, free: 8.098 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.024e-05/0.1172, allocations: 98.69 kB / 475.3 MB, free: 7.992 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.794e-05/0.1173, allocations: 56.28 kB / 475.3 MB, free: 7.938 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003488/0.1176, allocations: 319.5 kB / 475.6 MB, free: 7.586 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.474e-05/0.1177, allocations: 29.38 kB / 475.7 MB, free: 7.559 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.049e-05/0.1177, allocations: 47.92 kB / 475.7 MB, free: 7.512 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009573/0.1187, allocations: 0.6953 MB / 476.4 MB, free: 6.805 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.1187, allocations: 0 / 476.4 MB, free: 6.805 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.722e-05/0.1188, allocations: 16 kB / 476.4 MB, free: 6.789 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.385e-05/0.1188, allocations: 61.27 kB / 476.5 MB, free: 6.73 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009657/0.1198, allocations: 0.7233 MB / 477.2 MB, free: 6.008 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002201/0.122, allocations: 1.704 MB / 478.9 MB, free: 4.172 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006112/0.1226, allocations: 367.3 kB / 479.3 MB, free: 3.805 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002496/0.1229, allocations: 141.2 kB / 479.4 MB, free: 3.664 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.152e-05/0.123, allocations: 8.219 kB / 479.4 MB, free: 3.656 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.531e-05/0.123, allocations: 38.8 kB / 479.5 MB, free: 3.609 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 1.704e-06/0.123, allocations: 0 / 479.5 MB, free: 3.609 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.0009829/0.124, allocations: 0.4917 MB / 480 MB, free: 3.113 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.488e-05/0.124, allocations: 51.41 kB / 480 MB, free: 3.051 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004401/0.1245, allocations: 461.4 kB / 480.5 MB, free: 2.594 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.459e-05/0.1245, allocations: 25.7 kB / 480.5 MB, free: 2.562 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001545/0.1247, allocations: 267.5 kB / 480.7 MB, free: 2.297 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.059e-05/0.1248, allocations: 106.5 kB / 480.8 MB, free: 2.191 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001058/0.1249, allocations: 77.69 kB / 480.9 MB, free: 2.109 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001469/0.125, allocations: 354.8 kB / 481.3 MB, free: 1.754 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002584/0.1253, allocations: 135.9 kB / 481.4 MB, free: 1.621 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003224/0.1256, allocations: 250.4 kB / 481.6 MB, free: 1.328 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000618/0.1263, allocations: 434.2 kB / 482.1 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.059e-06/0.1263, allocations: 7.938 kB / 482.1 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007677/0.127, allocations: 480.7 kB / 482.5 MB, free: 380 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.1271, allocations: 6.5 kB / 482.5 MB, free: 376 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.1271, allocations: 7.984 kB / 482.6 MB, free: 368 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/0.1271, allocations: 8 kB / 482.6 MB, free: 360 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005753/0.1277, allocations: 163.8 kB / 482.7 MB, free: 196 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001789/0.1295, allocations: 3.606 MB / 486.3 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002686/0.1298, allocations: 59.27 kB / 486.4 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.938e-05/0.1298, allocations: 27.88 kB / 486.4 MB, free: 12.36 MB / 366.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.0002595/0.1301, allocations: 218 kB / 486.6 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.115e-05/0.1302, allocations: 35.62 kB / 486.7 MB, free: 12.1 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001082/0.1313, allocations: 0.5325 MB / 487.2 MB, free: 11.56 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.1313, allocations: 4 kB / 487.2 MB, free: 11.56 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.1313, allocations: 0 / 487.2 MB, free: 11.56 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.446e-06/0.1313, allocations: 3.984 kB / 487.2 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005569/0.1319, allocations: 457 kB / 487.7 MB, free: 11.06 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.1319, allocations: 0 / 487.7 MB, free: 11.06 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005419/0.1324, allocations: 143.9 kB / 487.8 MB, free: 10.92 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.964e-06/0.1324, allocations: 4 kB / 487.8 MB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.645e-05/0.1325, allocations: 11.94 kB / 487.8 MB, free: 10.9 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001861/0.1343, allocations: 3.614 MB / 491.4 MB, free: 7.148 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1343, allocations: 0 / 491.4 MB, free: 7.148 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009871/0.1353, allocations: 0.6564 MB / 492.1 MB, free: 6.473 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001861/0.1355, allocations: 156.5 kB / 492.2 MB, free: 6.301 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.272e-05/0.1356, allocations: 7.938 kB / 492.2 MB, free: 6.293 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002041/0.1358, allocations: 20.08 kB / 492.3 MB, free: 6.273 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.673e-05/0.1359, allocations: 31.91 kB / 492.3 MB, free: 6.242 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.954e-05/0.136, allocations: 15.98 kB / 492.3 MB, free: 6.227 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003939/0.1363, allocations: 343.1 kB / 492.6 MB, free: 5.891 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.913e-06/0.1364, allocations: 0 / 492.6 MB, free: 5.891 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005648/0.1369, allocations: 175.5 kB / 492.8 MB, free: 5.719 MB / 366.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.001598/0.1385, allocations: 1.275 MB / 494.1 MB, free: 4.418 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001035/0.1396, allocations: 436.3 kB / 494.5 MB, free: 3.992 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.1396, allocations: 0 / 494.5 MB, free: 3.992 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006374/0.1402, allocations: 256.1 kB / 494.8 MB, free: 3.742 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004059/0.1407, allocations: 41.16 kB / 494.8 MB, free: 3.707 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006686/0.1474, allocations: 5.152 MB / 500 MB, free: 14.39 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004344/0.1478, allocations: 0.9015 MB / 0.4891 GB, free: 13.46 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003623/0.1482, allocations: 143 kB / 0.4893 GB, free: 13.32 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000226/0.1484, allocations: 167.4 kB / 0.4894 GB, free: 13.16 MB / 382.1 MB Notification: Performance of SimCode: time 6.62e-07/0.1484, allocations: 0 / 0.4894 GB, free: 13.16 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02272/0.1711, allocations: 10.62 MB / 0.4998 GB, free: 2.773 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002423/0.1714, allocations: 288.5 kB / 0.5001 GB, free: 2.398 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.019/2.19, allocations: 0 / 0.5001 GB, free: 2.398 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_thickEdgedOverall_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_thickEdgedOverall_DPMFLOW.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/Orifice/dp_thickEdgedOverall_DPMFLOW/dp_thickEdgedOverall_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches