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.001066/0.001066, allocations: 105.9 kB / 15.98 MB, free: 6.352 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.001058/0.001058, allocations: 192.5 kB / 16.91 MB, free: 6.191 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.34/1.34, allocations: 205.1 MB / 222.8 MB, free: 4.672 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.3236/0.3236, allocations: 43.5 MB / 313.6 MB, free: 8.586 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.001387/0.001387, allocations: 71.89 kB / 382.3 MB, free: 8.488 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1324/0.1338, allocations: 57.78 MB / 440.1 MB, free: 14.61 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW): time 0.003255/0.1371, allocations: 1.882 MB / 442 MB, free: 12.71 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002018/0.1391, allocations: 1.372 MB / 443.4 MB, free: 11.33 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.985e-05/0.1392, allocations: 0 / 443.4 MB, free: 11.33 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003103/0.1396, allocations: 59.67 kB / 443.4 MB, free: 11.27 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002677/0.1398, allocations: 79.62 kB / 443.5 MB, free: 11.19 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000487/0.1403, allocations: 195.4 kB / 443.7 MB, free: 11 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004056/0.1408, allocations: 397.8 kB / 444.1 MB, free: 10.61 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.924e-05/0.1409, allocations: 52.98 kB / 444.1 MB, free: 10.56 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001973/0.1411, allocations: 151.1 kB / 444.3 MB, free: 10.41 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002493/0.1413, allocations: 195 kB / 444.5 MB, free: 10.22 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.936e-05/0.1414, allocations: 8 kB / 444.5 MB, free: 10.21 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000627/0.142, allocations: 463 kB / 444.9 MB, free: 9.758 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001672/0.1422, allocations: 131.4 kB / 445.1 MB, free: 9.629 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000168/0.1424, allocations: 198.6 kB / 445.3 MB, free: 9.434 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006839/0.143, allocations: 0.6072 MB / 445.9 MB, free: 8.824 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1431, allocations: 0 / 445.9 MB, free: 8.824 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.1431, allocations: 0 / 445.9 MB, free: 8.824 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.194e-06/0.1431, allocations: 0 / 445.9 MB, free: 8.824 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.001252/0.1443, allocations: 0.7836 MB / 446.7 MB, free: 7.988 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.046e-05/0.1444, allocations: 12.03 kB / 446.7 MB, free: 7.977 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000122/0.1445, allocations: 106.7 kB / 446.8 MB, free: 7.863 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001431/0.1447, allocations: 52.28 kB / 446.8 MB, free: 7.812 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004118/0.1451, allocations: 315.5 kB / 447.1 MB, free: 7.465 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.588e-05/0.1452, allocations: 33.38 kB / 447.2 MB, free: 7.434 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.412e-05/0.1452, allocations: 47.92 kB / 447.2 MB, free: 7.387 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009652/0.1462, allocations: 0.6914 MB / 447.9 MB, free: 6.688 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.397e-05/0.1462, allocations: 7.875 kB / 447.9 MB, free: 6.68 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.889e-05/0.1463, allocations: 16 kB / 447.9 MB, free: 6.664 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.837e-05/0.1463, allocations: 65.27 kB / 448 MB, free: 6.598 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001003/0.1474, allocations: 0.7234 MB / 448.7 MB, free: 5.875 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002123/0.1495, allocations: 1.708 MB / 450.4 MB, free: 4.043 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005784/0.1501, allocations: 355.4 kB / 450.8 MB, free: 3.684 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002544/0.1504, allocations: 141.2 kB / 450.9 MB, free: 3.543 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.625e-05/0.1504, allocations: 12.2 kB / 450.9 MB, free: 3.531 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.04e-05/0.1504, allocations: 38.8 kB / 451 MB, free: 3.484 MB / 382.1 MB Notification: Performance of pre-optimization done (n=27): time 2.154e-06/0.1505, allocations: 4 kB / 451 MB, free: 3.48 MB / 382.1 MB Notification: Performance of matching and sorting (n=27): time 0.0009759/0.1514, allocations: 494.7 kB / 451.4 MB, free: 2.992 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.741e-05/0.1515, allocations: 51.41 kB / 451.5 MB, free: 2.93 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005174/0.152, allocations: 453.6 kB / 451.9 MB, free: 2.477 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.021e-05/0.1521, allocations: 29.7 kB / 452 MB, free: 2.441 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000186/0.1523, allocations: 267.5 kB / 452.2 MB, free: 2.172 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.476e-05/0.1524, allocations: 98.66 kB / 452.3 MB, free: 2.074 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001216/0.1525, allocations: 81.59 kB / 452.4 MB, free: 1.988 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001939/0.1527, allocations: 350.8 kB / 452.7 MB, free: 1.637 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002783/0.153, allocations: 139.9 kB / 452.9 MB, free: 1.5 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003375/0.1533, allocations: 261.3 kB / 453.1 MB, free: 1.195 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006688/0.154, allocations: 426.2 kB / 453.6 MB, free: 0.7305 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.037e-06/0.154, allocations: 7.938 kB / 453.6 MB, free: 0.7227 MB / 382.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008228/0.1549, allocations: 480.6 kB / 454 MB, free: 252 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.948e-05/0.1549, allocations: 8 kB / 454 MB, free: 244 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/0.1549, allocations: 0 / 454 MB, free: 244 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.827e-05/0.1549, allocations: 11.94 kB / 454.1 MB, free: 232 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005593/0.1555, allocations: 156.3 kB / 454.2 MB, free: 76 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1688/0.3244, allocations: 3.611 MB / 457.8 MB, free: 45.26 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003369/0.3247, allocations: 63.06 kB / 457.9 MB, free: 45.26 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.249e-05/0.3248, allocations: 22.98 kB / 457.9 MB, free: 45.26 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.0002201/0.325, allocations: 220.5 kB / 458.1 MB, free: 45.14 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.071e-05/0.3251, allocations: 36 kB / 458.2 MB, free: 45.14 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008798/0.3259, allocations: 0.5377 MB / 458.7 MB, free: 45.09 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.326, allocations: 2.75 kB / 458.7 MB, free: 45.09 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.326, allocations: 0 / 458.7 MB, free: 45.09 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.326, allocations: 0 / 458.7 MB, free: 45.09 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003889/0.3264, allocations: 464.7 kB / 459.1 MB, free: 44.88 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.3264, allocations: 3.719 kB / 459.1 MB, free: 44.88 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004578/0.3268, allocations: 140.3 kB / 459.3 MB, free: 44.88 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.3269, allocations: 0 / 459.3 MB, free: 44.88 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.281e-05/0.3269, allocations: 10.25 kB / 459.3 MB, free: 44.88 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008831/0.3278, allocations: 3.604 MB / 462.9 MB, free: 41.38 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3278, allocations: 3.219 kB / 462.9 MB, free: 41.38 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007498/0.3285, allocations: 0.6567 MB / 463.6 MB, free: 41.22 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001348/0.3287, allocations: 156.5 kB / 463.7 MB, free: 41.1 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.73e-05/0.3288, allocations: 12.59 kB / 463.7 MB, free: 41.1 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001865/0.3289, allocations: 12.86 kB / 463.7 MB, free: 41.1 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.33e-05/0.329, allocations: 29.38 kB / 463.8 MB, free: 41.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.181e-05/0.329, allocations: 18.94 kB / 463.8 MB, free: 41.09 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002514/0.3293, allocations: 346.5 kB / 464.1 MB, free: 41.01 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.3293, allocations: 0 / 464.1 MB, free: 41.01 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004394/0.3298, allocations: 164.2 kB / 464.3 MB, free: 40.99 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.001052/0.3308, allocations: 1.279 MB / 465.6 MB, free: 40.3 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009139/0.3317, allocations: 0.4992 MB / 466.1 MB, free: 40.29 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.3317, allocations: 0 / 466.1 MB, free: 40.29 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005056/0.3323, allocations: 249.9 kB / 466.3 MB, free: 40.29 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003837/0.3327, allocations: 45 kB / 466.3 MB, free: 40.29 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004281/0.3369, allocations: 5.146 MB / 471.5 MB, free: 37.96 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002295/0.3372, allocations: 0.9077 MB / 472.4 MB, free: 37.25 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.00029/0.3375, allocations: 140.5 kB / 472.5 MB, free: 37.23 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000169/0.3377, allocations: 161.5 kB / 472.7 MB, free: 37.12 MB / 382.1 MB Notification: Performance of SimCode: time 4.7e-07/0.3377, allocations: 0 / 472.7 MB, free: 37.12 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7356/1.073, allocations: 10.88 MB / 483.6 MB, free: 36.13 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001943/1.073, allocations: 292 kB / 483.9 MB, free: 35.75 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.213/3.287, allocations: 0 / 483.9 MB, free: 35.75 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