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.0007841/0.0007841, allocations: 97.72 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00101/0.00101, allocations: 184.6 kB / 16.91 MB, free: 6.934 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.446/1.446, allocations: 205.4 MB / 223.1 MB, free: 5.523 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3556/0.3556, allocations: 43.57 MB / 315 MB, free: 8.996 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.0005097/0.0005098, allocations: 12 kB / 384.7 MB, free: 7.77 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1225/0.123, allocations: 58.86 MB / 443.6 MB, free: 12.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW): time 0.002154/0.1252, allocations: 1.543 MB / 445.1 MB, free: 11.25 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002209/0.1274, allocations: 1.361 MB / 446.5 MB, free: 9.879 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.013e-05/0.1275, allocations: 4 kB / 446.5 MB, free: 9.875 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002802/0.1278, allocations: 51.72 kB / 446.5 MB, free: 9.824 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002579/0.1281, allocations: 79.64 kB / 446.6 MB, free: 9.746 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004287/0.1285, allocations: 187.4 kB / 446.8 MB, free: 9.562 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004888/0.129, allocations: 457.7 kB / 447.2 MB, free: 9.113 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.378e-05/0.1291, allocations: 52.98 kB / 447.3 MB, free: 9.062 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002189/0.1294, allocations: 147.1 kB / 447.4 MB, free: 8.918 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002506/0.1296, allocations: 183.1 kB / 447.6 MB, free: 8.738 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.796e-05/0.1297, allocations: 8 kB / 447.6 MB, free: 8.73 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006542/0.1303, allocations: 459 kB / 448.1 MB, free: 8.281 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002262/0.1305, allocations: 131.4 kB / 448.2 MB, free: 8.152 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001983/0.1308, allocations: 212.4 kB / 448.4 MB, free: 7.938 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007792/0.1315, allocations: 0.6149 MB / 449 MB, free: 7.32 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.1316, allocations: 0 / 449 MB, free: 7.32 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1316, allocations: 0 / 449 MB, free: 7.32 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.701e-06/0.1316, allocations: 0 / 449 MB, free: 7.32 MB / 382.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.001277/0.1329, allocations: 0.6978 MB / 449.7 MB, free: 6.57 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.129e-05/0.1329, allocations: 12.03 kB / 449.7 MB, free: 6.559 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001139/0.133, allocations: 102.7 kB / 449.8 MB, free: 6.449 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.38e-05/0.1331, allocations: 52.28 kB / 449.9 MB, free: 6.398 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004015/0.1335, allocations: 315.5 kB / 450.2 MB, free: 6.051 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.317e-05/0.1336, allocations: 33.38 kB / 450.2 MB, free: 6.02 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.892e-05/0.1337, allocations: 43.92 kB / 450.3 MB, free: 5.977 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009854/0.1346, allocations: 0.7109 MB / 451 MB, free: 5.258 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.449e-05/0.1347, allocations: 4 kB / 451 MB, free: 5.254 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.794e-05/0.1347, allocations: 12 kB / 451 MB, free: 5.242 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.393e-05/0.1348, allocations: 61.28 kB / 451 MB, free: 5.18 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001044/0.1359, allocations: 0.7312 MB / 451.8 MB, free: 4.449 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002586/0.1385, allocations: 1.712 MB / 453.5 MB, free: 2.613 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005958/0.1391, allocations: 367.4 kB / 453.8 MB, free: 2.242 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002677/0.1393, allocations: 145.2 kB / 454 MB, free: 2.098 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.302e-05/0.1394, allocations: 12.22 kB / 454 MB, free: 2.086 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.666e-05/0.1394, allocations: 38.8 kB / 454 MB, free: 2.039 MB / 382.1 MB Notification: Performance of pre-optimization done (n=27): time 1.362e-06/0.1394, allocations: 0 / 454 MB, free: 2.039 MB / 382.1 MB Notification: Performance of matching and sorting (n=27): time 0.001071/0.1405, allocations: 0.491 MB / 454.5 MB, free: 1.543 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.112e-05/0.1406, allocations: 59.41 kB / 454.6 MB, free: 1.473 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004854/0.1411, allocations: 457.5 kB / 455 MB, free: 1.016 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.051e-05/0.1411, allocations: 29.7 kB / 455.1 MB, free: 0.9805 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001868/0.1413, allocations: 267.5 kB / 455.3 MB, free: 0.7109 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.96e-05/0.1414, allocations: 94.64 kB / 455.4 MB, free: 0.6172 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.245e-05/0.1415, allocations: 37.7 kB / 455.5 MB, free: 0.5742 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.1416, allocations: 350.8 kB / 455.8 MB, free: 228 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002697/0.1419, allocations: 143.9 kB / 455.9 MB, free: 84 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2116/0.3535, allocations: 253.1 kB / 456.2 MB, free: 46.13 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006346/0.3542, allocations: 445.9 kB / 456.6 MB, free: 46 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.701e-06/0.3542, allocations: 6.031 kB / 456.6 MB, free: 46 MB / 382.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007883/0.355, allocations: 488.1 kB / 457.1 MB, free: 45.96 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.355, allocations: 5.375 kB / 457.1 MB, free: 45.96 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.3551, allocations: 6.719 kB / 457.1 MB, free: 45.96 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.626e-05/0.3551, allocations: 7.828 kB / 457.1 MB, free: 45.96 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005623/0.3557, allocations: 163.1 kB / 457.3 MB, free: 45.96 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001225/0.3569, allocations: 3.615 MB / 460.9 MB, free: 42.45 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002878/0.3572, allocations: 65.31 kB / 461 MB, free: 42.45 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.456e-05/0.3572, allocations: 17.03 kB / 461 MB, free: 42.45 MB / 382.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.00027/0.3575, allocations: 221.6 kB / 461.2 MB, free: 42.33 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.43e-05/0.3576, allocations: 37.97 kB / 461.2 MB, free: 42.32 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00107/0.3587, allocations: 0.549 MB / 461.8 MB, free: 42.24 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.648e-06/0.3587, allocations: 6.938 kB / 461.8 MB, free: 42.24 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.323e-06/0.3587, allocations: 0 / 461.8 MB, free: 42.24 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.066e-06/0.3587, allocations: 3.469 kB / 461.8 MB, free: 42.24 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005477/0.3593, allocations: 448.9 kB / 462.2 MB, free: 42.04 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.3593, allocations: 3.094 kB / 462.2 MB, free: 42.04 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004911/0.3598, allocations: 138.6 kB / 462.4 MB, free: 42.04 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/0.3598, allocations: 2.656 kB / 462.4 MB, free: 42.04 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.735e-05/0.3598, allocations: 13.78 kB / 462.4 MB, free: 42.04 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001312/0.3611, allocations: 3.608 MB / 466 MB, free: 38.51 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.3612, allocations: 4.281 kB / 466 MB, free: 38.5 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008831/0.3621, allocations: 0.6706 MB / 466.7 MB, free: 38.35 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001439/0.3622, allocations: 163.1 kB / 466.8 MB, free: 38.22 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.305e-05/0.3623, allocations: 13.97 kB / 466.8 MB, free: 38.22 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001955/0.3625, allocations: 11.28 kB / 466.9 MB, free: 38.22 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.195e-05/0.3625, allocations: 32.42 kB / 466.9 MB, free: 38.21 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.24e-05/0.3626, allocations: 12.16 kB / 466.9 MB, free: 38.21 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003023/0.3629, allocations: 347.7 kB / 467.2 MB, free: 38.13 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3629, allocations: 0 / 467.2 MB, free: 38.13 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005396/0.3634, allocations: 173.8 kB / 467.4 MB, free: 38.11 MB / 382.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.001244/0.3647, allocations: 1.294 MB / 468.7 MB, free: 37.4 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009122/0.3656, allocations: 458.3 kB / 469.1 MB, free: 37.38 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.3656, allocations: 3.312 kB / 469.1 MB, free: 37.38 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005588/0.3662, allocations: 258.8 kB / 469.4 MB, free: 37.37 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003936/0.3666, allocations: 34.91 kB / 469.4 MB, free: 37.37 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005125/0.3717, allocations: 5.211 MB / 474.6 MB, free: 35.2 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003314/0.3721, allocations: 0.9023 MB / 475.5 MB, free: 34.5 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003169/0.3724, allocations: 146.4 kB / 475.7 MB, free: 34.46 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002858/0.3727, allocations: 171.9 kB / 475.9 MB, free: 34.46 MB / 382.1 MB Notification: Performance of SimCode: time 8.01e-07/0.3727, allocations: 0 / 475.9 MB, free: 34.46 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02208/0.3948, allocations: 10.43 MB / 486.3 MB, free: 33.57 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002348/0.3951, allocations: 299 kB / 486.6 MB, free: 33.19 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.075/2.47, allocations: 0 / 486.6 MB, free: 33.19 MB / 382.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","../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