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_suddenChange_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_suddenChange_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_suddenChange_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_suddenChange_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.001172/0.001172, allocations: 108.9 kB / 15.98 MB, free: 5.867 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.001188/0.001188, allocations: 191.4 kB / 16.91 MB, free: 5.734 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.32/1.32, allocations: 205.1 MB / 222.8 MB, free: 4.688 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.3137/0.3137, allocations: 43.49 MB / 313.6 MB, free: 8.496 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.001671/0.001671, allocations: 67.91 kB / 382.4 MB, free: 8.484 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1187/0.1204, 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_suddenChange_DPMFLOW): time 0.003409/0.1239, allocations: 1.867 MB / 442 MB, free: 12.72 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002204/0.1261, allocations: 1.372 MB / 443.4 MB, free: 11.34 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.859e-05/0.1262, allocations: 4 kB / 443.4 MB, free: 11.34 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002172/0.1264, allocations: 31.83 kB / 443.4 MB, free: 11.3 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001879/0.1267, allocations: 47.62 kB / 443.4 MB, free: 11.26 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005589/0.1272, allocations: 223.3 kB / 443.7 MB, free: 11.04 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001305/0.1274, allocations: 103.5 kB / 443.8 MB, free: 10.94 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.205e-05/0.1274, allocations: 13.09 kB / 443.8 MB, free: 10.92 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000115/0.1275, allocations: 43.73 kB / 443.8 MB, free: 10.88 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.985e-05/0.1276, allocations: 43.78 kB / 443.9 MB, free: 10.84 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.558e-05/0.1276, allocations: 7.984 kB / 443.9 MB, free: 10.83 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005738/0.1282, allocations: 0.4951 MB / 444.4 MB, free: 10.33 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.593e-05/0.1283, allocations: 23.86 kB / 444.4 MB, free: 10.31 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.458e-05/0.1283, allocations: 47.72 kB / 444.4 MB, free: 10.26 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004116/0.1287, allocations: 351.3 kB / 444.8 MB, free: 9.918 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.1287, allocations: 0 / 444.8 MB, free: 9.918 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1287, allocations: 0 / 444.8 MB, free: 9.918 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.935e-06/0.1288, allocations: 4 kB / 444.8 MB, free: 9.914 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0004775/0.1292, allocations: 439 kB / 445.2 MB, free: 9.438 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.5e-05/0.1293, allocations: 12.03 kB / 445.2 MB, free: 9.426 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.926e-05/0.1293, allocations: 50.73 kB / 445.3 MB, free: 9.367 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.18e-05/0.1294, allocations: 12.84 kB / 445.3 MB, free: 9.355 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001128/0.1295, allocations: 176.2 kB / 445.5 MB, free: 9.145 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.342e-05/0.1295, allocations: 8.375 kB / 445.5 MB, free: 9.137 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.292e-05/0.1296, allocations: 19.92 kB / 445.5 MB, free: 9.117 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000276/0.1298, allocations: 142.4 kB / 445.6 MB, free: 8.973 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.774e-06/0.1299, allocations: 4 kB / 445.6 MB, free: 8.969 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.384e-05/0.1299, allocations: 4 kB / 445.6 MB, free: 8.965 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/0.1299, allocations: 4 kB / 445.6 MB, free: 8.961 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002842/0.1302, allocations: 139.8 kB / 445.8 MB, free: 8.824 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007702/0.1309, allocations: 0.5104 MB / 446.3 MB, free: 8.242 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002368/0.1312, allocations: 102.6 kB / 446.4 MB, free: 8.133 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001155/0.1313, allocations: 48.83 kB / 446.4 MB, free: 8.082 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.278e-05/0.1314, allocations: 4 kB / 446.4 MB, free: 8.078 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.893e-05/0.1314, allocations: 30.56 kB / 446.5 MB, free: 8.039 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 2.354e-06/0.1314, allocations: 4 kB / 446.5 MB, free: 8.035 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004324/0.1318, allocations: 169.4 kB / 446.6 MB, free: 7.863 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.07e-05/0.1319, allocations: 51.41 kB / 446.7 MB, free: 7.801 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.695e-05/0.132, allocations: 121.7 kB / 446.8 MB, free: 7.672 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.147e-05/0.132, allocations: 33.7 kB / 446.8 MB, free: 7.633 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.014e-05/0.1321, allocations: 111.8 kB / 446.9 MB, free: 7.52 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.615e-05/0.1321, allocations: 39.39 kB / 447 MB, free: 7.48 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.893e-05/0.1322, allocations: 33.72 kB / 447 MB, free: 7.441 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001108/0.1323, allocations: 322.8 kB / 447.3 MB, free: 7.117 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001088/0.1324, allocations: 39.97 kB / 447.4 MB, free: 7.078 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001456/0.1325, allocations: 81.05 kB / 447.5 MB, free: 6.98 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002529/0.1328, allocations: 129 kB / 447.6 MB, free: 6.836 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.1328, allocations: 3.938 kB / 447.6 MB, free: 6.832 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002964/0.1331, allocations: 157.4 kB / 447.7 MB, free: 6.672 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.1331, allocations: 7.984 kB / 447.7 MB, free: 6.664 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.1331, allocations: 4 kB / 447.7 MB, free: 6.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.1332, allocations: 0 / 447.7 MB, free: 6.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002007/0.1334, allocations: 43.91 kB / 447.8 MB, free: 6.617 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003189/0.1337, allocations: 0.5939 MB / 448.4 MB, free: 6 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001002/0.1338, allocations: 15.88 kB / 448.4 MB, free: 5.984 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.438e-05/0.1338, allocations: 11.98 kB / 448.4 MB, free: 5.973 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.896e-05/0.1339, allocations: 117.8 kB / 448.5 MB, free: 5.848 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.038e-05/0.134, allocations: 7.906 kB / 448.5 MB, free: 5.84 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003829/0.1344, allocations: 178.4 kB / 448.7 MB, free: 5.664 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.1344, allocations: 0 / 448.7 MB, free: 5.664 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.1344, allocations: 7.938 kB / 448.7 MB, free: 5.656 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.1344, allocations: 0 / 448.7 MB, free: 5.656 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002429/0.1346, allocations: 221.5 kB / 448.9 MB, free: 5.391 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-06/0.1346, allocations: 0 / 448.9 MB, free: 5.391 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001903/0.1348, allocations: 47.91 kB / 449 MB, free: 5.344 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.1348, allocations: 7.938 kB / 449 MB, free: 5.336 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.119e-05/0.1349, allocations: 0 / 449 MB, free: 5.336 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002644/0.1351, allocations: 0.5821 MB / 449.6 MB, free: 4.73 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1351, allocations: 0 / 449.6 MB, free: 4.73 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004246/0.1356, allocations: 299.4 kB / 449.9 MB, free: 4.422 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.467e-05/0.1356, allocations: 92.97 kB / 450 MB, free: 4.312 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.826e-05/0.1357, allocations: 0 / 450 MB, free: 4.312 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001065/0.1358, allocations: 11.98 kB / 450 MB, free: 4.301 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.105e-05/0.1358, allocations: 11.98 kB / 450 MB, free: 4.289 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.072e-05/0.1358, allocations: 12.06 kB / 450 MB, free: 4.277 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.562e-05/0.1359, allocations: 87.27 kB / 450.1 MB, free: 4.191 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1359, allocations: 0 / 450.1 MB, free: 4.191 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003095/0.1362, allocations: 75.88 kB / 450.1 MB, free: 4.117 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (frac_A1toA2) * 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 (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008868/0.1371, allocations: 0.9111 MB / 451.1 MB, free: 3.18 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003513/0.1375, allocations: 131.9 kB / 451.2 MB, free: 3.051 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.114e-05/0.1375, allocations: 4 kB / 451.2 MB, free: 3.047 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000178/0.1377, allocations: 71.95 kB / 451.3 MB, free: 2.977 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003035/0.138, allocations: 4 kB / 451.3 MB, free: 2.973 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00196/0.1399, allocations: 1.779 MB / 453 MB, free: 1.086 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002733/0.1402, allocations: 0.7002 MB / 453.7 MB, free: 368 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.928e-05/0.1403, allocations: 20.53 kB / 453.8 MB, free: 348 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.873e-05/0.1404, allocations: 35.42 kB / 453.8 MB, free: 312 kB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1404, allocations: 0 / 453.8 MB, free: 312 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3229/0.4633, allocations: 3.588 MB / 457.4 MB, free: 48.95 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002519/0.4637, allocations: 293.2 kB / 457.7 MB, free: 48.56 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.544/3.008, allocations: 0 / 457.7 MB, free: 48.56 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_suddenChange_DPMFLOW_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_suddenChange_DPMFLOW.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_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_suddenChange_DPMFLOW/dp_suddenChange_DPMFLOW.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches