Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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.1.0-beta.om_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.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00178/0.00178, allocations: 103.7 kB / 17.63 MB, free: 5.52 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001714/0.001714, allocations: 208.6 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.494/1.494, allocations: 227.4 MB / 246.8 MB, free: 10.6 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2413/0.2413, allocations: 46.12 MB / 344.2 MB, free: 11.58 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002289/0.002289, allocations: 80.42 kB / 417.7 MB, free: 19.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1349/0.1372, allocations: 62.46 MB / 480.1 MB, free: 5.223 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.003423/0.1407, allocations: 1.802 MB / 481.9 MB, free: 3.406 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001572/0.1423, allocations: 0.8374 MB / 482.8 MB, free: 2.566 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.406e-05/0.1424, allocations: 0 / 482.8 MB, free: 2.566 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00027/0.1427, allocations: 39.75 kB / 482.8 MB, free: 2.527 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002884/0.143, allocations: 71.64 kB / 482.9 MB, free: 2.457 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002144/0.1433, allocations: 71.67 kB / 482.9 MB, free: 2.387 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001858/0.1435, allocations: 131.5 kB / 483.1 MB, free: 2.258 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.013e-05/0.1435, allocations: 12 kB / 483.1 MB, free: 2.246 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000219/0.1437, allocations: 75.69 kB / 483.2 MB, free: 2.172 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001504/0.1439, allocations: 75.72 kB / 483.2 MB, free: 2.098 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.096e-05/0.1439, allocations: 4 kB / 483.2 MB, free: 2.094 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001701/0.1441, allocations: 71.89 kB / 483.3 MB, free: 2.023 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.959e-05/0.1442, allocations: 39.77 kB / 483.3 MB, free: 1.984 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.061e-05/0.1443, allocations: 35.8 kB / 483.4 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002549/0.1445, allocations: 143.8 kB / 483.5 MB, free: 1.809 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.1445, allocations: 0 / 483.5 MB, free: 1.809 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.775e-06/0.1445, allocations: 0 / 483.5 MB, free: 1.809 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.712e-06/0.1446, allocations: 4 kB / 483.5 MB, free: 1.805 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.0007368/0.1453, allocations: 407.2 kB / 483.9 MB, free: 1.359 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.1453, allocations: 8.031 kB / 483.9 MB, free: 1.352 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003978/0.1458, allocations: 40.8 kB / 484 MB, free: 1.312 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000233/0.146, allocations: 180.2 kB / 484.1 MB, free: 1.098 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.535e-05/0.146, allocations: 8.375 kB / 484.2 MB, free: 1.09 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.913e-05/0.1461, allocations: 16.06 kB / 484.2 MB, free: 1.074 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004341/0.1465, allocations: 184.1 kB / 484.4 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.1465, allocations: 0 / 484.4 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.945e-05/0.1465, allocations: 3.984 kB / 484.4 MB, free: 0.875 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.662e-05/0.1466, allocations: 12 kB / 484.4 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003455/0.1469, allocations: 135.7 kB / 484.5 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000958/0.1479, allocations: 0.6445 MB / 485.1 MB, free: 16 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003958/0.1483, allocations: 106.7 kB / 485.2 MB, free: 15.9 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001346/0.1485, allocations: 40.81 kB / 485.3 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.736e-05/0.1485, allocations: 0 / 485.3 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.88e-05/0.1485, allocations: 46.48 kB / 485.3 MB, free: 15.8 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.222e-06/0.1485, allocations: 0 / 485.3 MB, free: 15.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004855/0.149, allocations: 133.5 kB / 485.5 MB, free: 15.67 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.811e-05/0.1491, allocations: 51.41 kB / 485.5 MB, free: 15.61 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001323/0.1492, allocations: 125.7 kB / 485.6 MB, free: 15.47 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.285e-05/0.1493, allocations: 25.7 kB / 485.7 MB, free: 15.44 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001073/0.1494, allocations: 131.9 kB / 485.8 MB, free: 15.3 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.703e-05/0.1494, allocations: 27.66 kB / 485.8 MB, free: 15.28 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.486e-05/0.1495, allocations: 33.7 kB / 485.9 MB, free: 15.24 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001454/0.1496, allocations: 310.8 kB / 486.2 MB, free: 14.93 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001224/0.1498, allocations: 39.95 kB / 486.2 MB, free: 14.89 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000156/0.1499, allocations: 99.62 kB / 486.3 MB, free: 14.76 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002862/0.1502, allocations: 147.5 kB / 486.4 MB, free: 14.59 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.1502, allocations: 0 / 486.4 MB, free: 14.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003757/0.1506, allocations: 157.4 kB / 486.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.1506, allocations: 4 kB / 486.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/0.1507, allocations: 4 kB / 486.6 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.667e-05/0.1507, allocations: 4 kB / 486.6 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001758/0.1509, allocations: 35.97 kB / 486.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.221e-05/0.1509, allocations: 7.938 kB / 486.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001035/0.151, allocations: 27.77 kB / 486.7 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.537e-05/0.151, allocations: 8.188 kB / 486.7 MB, free: 14.34 MB / 366.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.0001204/0.1512, allocations: 129.7 kB / 486.8 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.022e-05/0.1512, allocations: 7.906 kB / 486.8 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003356/0.1515, allocations: 133.9 kB / 486.9 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.1515, allocations: 0 / 486.9 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.1516, allocations: 0 / 486.9 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.1516, allocations: 0 / 486.9 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002414/0.1518, allocations: 201.6 kB / 487.1 MB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.1518, allocations: 0 / 487.1 MB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001353/0.152, allocations: 27.97 kB / 487.2 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.152, allocations: 4 kB / 487.2 MB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.849e-06/0.152, allocations: 0 / 487.2 MB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.152, allocations: 0 / 487.2 MB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.152, allocations: 0 / 487.2 MB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000343/0.1523, allocations: 227.7 kB / 487.4 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.715e-05/0.1524, allocations: 84.95 kB / 487.5 MB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.149e-05/0.1524, allocations: 4 kB / 487.5 MB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.452e-05/0.1525, allocations: 7.984 kB / 487.5 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.019e-05/0.1526, allocations: 4 kB / 487.5 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.069e-06/0.1526, allocations: 0 / 487.5 MB, free: 13.43 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.13e-05/0.1527, allocations: 99.27 kB / 487.6 MB, free: 13.33 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1527, allocations: 4 kB / 487.6 MB, free: 13.32 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002664/0.153, allocations: 20 kB / 487.6 MB, free: 13.3 MB / 366.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.0001638/0.1531, allocations: 103.2 kB / 487.7 MB, free: 13.2 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003319/0.1535, allocations: 108.3 kB / 487.8 MB, free: 13.09 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1535, allocations: 0 / 487.8 MB, free: 13.09 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001238/0.1536, allocations: 47.89 kB / 487.9 MB, free: 13.04 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002552/0.1539, allocations: 15.88 kB / 487.9 MB, free: 13.03 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006363/0.1545, allocations: 250.6 kB / 488.1 MB, free: 12.76 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000416/0.155, allocations: 0.7127 MB / 488.8 MB, free: 12.02 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001042/0.1551, allocations: 32.52 kB / 488.9 MB, free: 11.99 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.721e-05/0.1551, allocations: 11.44 kB / 488.9 MB, free: 11.98 MB / 366.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1551, allocations: 0 / 488.9 MB, free: 11.98 MB / 366.1 MB Notification: Performance of Templates: time 0.004374/0.1595, allocations: 0.9231 MB / 489.8 MB, free: 11.09 MB / 366.1 MB make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.makefile (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/StraightPipe/dp_laminar_DPMFLOW/dp_laminar_DPMFLOW.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches