Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_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: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|MIN|A_cross|roughness|d_hyd|K.1.|L|eta|rho|input_mdot.1.|input_dp.1.|M_FLOW.1.|DP.1.|velocity.1.|Re.1.|DP_plot.1.|zeta_TOT.1.|lambda_FRI.1.|input_DP.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|MIN|A_cross|roughness|d_hyd|K.1.|L|eta|rho|input_mdot.1.|input_dp.1.|M_FLOW.1.|DP.1.|velocity.1.|Re.1.|DP_plot.1.|zeta_TOT.1.|lambda_FRI.1.|input_DP.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001407/0.001407, allocations: 108.2 kB / 18.39 MB, free: 4.629 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.00152/0.00152, allocations: 182.9 kB / 19.33 MB, free: 3.699 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.363/1.363, allocations: 222.9 MB / 243 MB, free: 15.09 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.2267/0.2267, allocations: 44.18 MB / 337.4 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 61.53 kB / 409.9 MB, free: 26.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1233/0.1246, allocations: 60.82 MB / 470.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.003304/0.1279, allocations: 1.786 MB / 472.5 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001386/0.1293, allocations: 0.8024 MB / 473.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.057e-05/0.1294, allocations: 0 / 473.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002735/0.1297, allocations: 35.77 kB / 473.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003047/0.13, allocations: 83.56 kB / 473.4 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002074/0.1303, allocations: 71.73 kB / 473.5 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002033/0.1305, allocations: 131.4 kB / 473.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.913e-05/0.1305, allocations: 12 kB / 473.6 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001384/0.1307, allocations: 63.75 kB / 473.7 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001544/0.1308, allocations: 87.66 kB / 473.8 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.808e-05/0.1309, allocations: 4 kB / 473.8 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001623/0.131, allocations: 67.83 kB / 473.9 MB, free: 10.47 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.996e-05/0.1311, allocations: 35.89 kB / 473.9 MB, free: 10.44 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.11e-05/0.1312, allocations: 31.81 kB / 473.9 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002793/0.1315, allocations: 155.5 kB / 474.1 MB, free: 10.25 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.1315, allocations: 0 / 474.1 MB, free: 10.25 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.414e-06/0.1315, allocations: 0 / 474.1 MB, free: 10.25 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.307e-05/0.1315, allocations: 0 / 474.1 MB, free: 10.25 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0007164/0.1322, allocations: 403.2 kB / 474.5 MB, free: 9.812 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.806e-05/0.1323, allocations: 12.03 kB / 474.5 MB, free: 9.801 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003906/0.1327, allocations: 32.8 kB / 474.5 MB, free: 9.77 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002045/0.1329, allocations: 188.2 kB / 474.7 MB, free: 9.547 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.653e-05/0.1329, allocations: 12.36 kB / 474.7 MB, free: 9.535 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.648e-05/0.133, allocations: 16.12 kB / 474.7 MB, free: 9.52 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000362/0.1333, allocations: 168.1 kB / 474.9 MB, free: 9.34 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.1334, allocations: 4 kB / 474.9 MB, free: 9.336 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.359e-05/0.1334, allocations: 4 kB / 474.9 MB, free: 9.332 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.952e-05/0.1334, allocations: 12 kB / 474.9 MB, free: 9.32 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003118/0.1337, allocations: 139.8 kB / 475 MB, free: 9.184 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008663/0.1346, allocations: 0.6482 MB / 475.7 MB, free: 8.465 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003147/0.1349, allocations: 106.6 kB / 475.8 MB, free: 8.352 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001116/0.1351, allocations: 40.83 kB / 475.8 MB, free: 8.309 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.933e-05/0.1351, allocations: 0 / 475.8 MB, free: 8.309 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.625e-05/0.1351, allocations: 38.56 kB / 475.9 MB, free: 8.262 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 9.21e-07/0.1351, allocations: 0 / 475.9 MB, free: 8.262 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004279/0.1356, allocations: 133.5 kB / 476 MB, free: 8.125 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.598e-05/0.1356, allocations: 55.41 kB / 476.1 MB, free: 8.059 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001576/0.1358, allocations: 133.4 kB / 476.2 MB, free: 7.918 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.776e-05/0.1358, allocations: 25.7 kB / 476.2 MB, free: 7.887 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.076e-05/0.1359, allocations: 127.8 kB / 476.3 MB, free: 7.754 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.379e-05/0.1359, allocations: 23.66 kB / 476.4 MB, free: 7.73 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001004/0.136, allocations: 37.61 kB / 476.4 MB, free: 7.688 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001685/0.1362, allocations: 314.8 kB / 476.7 MB, free: 7.371 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001232/0.1363, allocations: 39.95 kB / 476.7 MB, free: 7.332 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001395/0.1365, allocations: 95.69 kB / 476.8 MB, free: 7.211 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000269/0.1368, allocations: 147.6 kB / 477 MB, free: 7.039 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.1368, allocations: 0 / 477 MB, free: 7.039 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003244/0.1371, allocations: 153.5 kB / 477.1 MB, free: 6.883 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.07e-05/0.1371, allocations: 8 kB / 477.1 MB, free: 6.875 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.1371, allocations: 0 / 477.1 MB, free: 6.875 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.975e-05/0.1372, allocations: 4 kB / 477.1 MB, free: 6.871 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001736/0.1374, allocations: 47.91 kB / 477.2 MB, free: 6.824 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.1374, allocations: 3.938 kB / 477.2 MB, free: 6.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001009/0.1375, allocations: 19.83 kB / 477.2 MB, free: 6.801 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.351e-05/0.1375, allocations: 12.22 kB / 477.2 MB, free: 6.789 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 1 (roughness) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001063/0.1376, allocations: 133.7 kB / 477.4 MB, free: 6.648 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.036e-05/0.1376, allocations: 7.906 kB / 477.4 MB, free: 6.641 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003173/0.138, allocations: 122.4 kB / 477.5 MB, free: 6.516 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.138, allocations: 0 / 477.5 MB, free: 6.516 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.138, allocations: 4 kB / 477.5 MB, free: 6.512 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.138, allocations: 4 kB / 477.5 MB, free: 6.508 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002002/0.1382, allocations: 201.5 kB / 477.7 MB, free: 6.262 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.1382, allocations: 0 / 477.7 MB, free: 6.262 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001348/0.1384, allocations: 35.91 kB / 477.7 MB, free: 6.227 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.1384, allocations: 0 / 477.7 MB, free: 6.227 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-06/0.1384, allocations: 3.938 kB / 477.7 MB, free: 6.223 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.1384, allocations: 0 / 477.7 MB, free: 6.223 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.1384, allocations: 4 kB / 477.7 MB, free: 6.219 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002778/0.1387, allocations: 211.3 kB / 477.9 MB, free: 5.996 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.376e-05/0.1387, allocations: 88.95 kB / 478 MB, free: 5.891 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.777e-05/0.1388, allocations: 0 / 478 MB, free: 5.891 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.577e-05/0.1389, allocations: 12 kB / 478 MB, free: 5.879 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.102e-05/0.1389, allocations: 3.984 kB / 478 MB, free: 5.875 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.645e-06/0.1389, allocations: 4 kB / 478 MB, free: 5.871 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.305e-05/0.139, allocations: 91.27 kB / 478.1 MB, free: 5.781 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.139, allocations: 4 kB / 478.1 MB, free: 5.777 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002644/0.1392, allocations: 27.91 kB / 478.2 MB, free: 5.75 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001485/0.1394, allocations: 107.2 kB / 478.3 MB, free: 5.637 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002865/0.1397, allocations: 100.4 kB / 478.4 MB, free: 5.539 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.1397, allocations: 0 / 478.4 MB, free: 5.539 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001254/0.1398, allocations: 47.89 kB / 478.4 MB, free: 5.492 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002548/0.1401, allocations: 7.938 kB / 478.4 MB, free: 5.484 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004936/0.1406, allocations: 246.7 kB / 478.7 MB, free: 5.211 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002632/0.1409, allocations: 0.7157 MB / 479.4 MB, free: 4.469 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.327e-05/0.141, allocations: 20.53 kB / 479.4 MB, free: 4.449 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.96e-05/0.141, allocations: 19.44 kB / 479.4 MB, free: 4.43 MB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.141, allocations: 0 / 479.4 MB, free: 4.43 MB / 350.1 MB Notification: Performance of Templates: time 0.003589/0.1446, allocations: 0.9198 MB / 480.3 MB, free: 3.547 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/StraightPipe/dp_laminar_DPMFLOW/dp_laminar_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches