Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_cpp_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_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00145/0.00145, allocations: 175.5 kB / 16.72 MB, free: 4.961 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.224/1.224, allocations: 205.4 MB / 222.9 MB, free: 9.016 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006945/0.0006945, allocations: 92.73 kB / 271.2 MB, free: 8.238 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.285/0.285, allocations: 43.56 MB / 363.1 MB, free: 51.88 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003785/0.0003787, allocations: 12 kB / 432 MB, free: 5.57 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.1091, allocations: 58.85 MB / 490.8 MB, free: 10.64 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.001772/0.1109, allocations: 1.481 MB / 492.3 MB, free: 9.141 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001136/0.1121, allocations: 0.7727 MB / 493.1 MB, free: 8.363 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.956e-05/0.1121, allocations: 0 / 493.1 MB, free: 8.363 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000191/0.1123, allocations: 31.83 kB / 493.1 MB, free: 8.332 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002328/0.1126, allocations: 75.64 kB / 493.2 MB, free: 8.258 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001473/0.1127, allocations: 47.81 kB / 493.2 MB, free: 8.211 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001801/0.1129, allocations: 175.3 kB / 493.4 MB, free: 8.039 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.424e-05/0.113, allocations: 7.984 kB / 493.4 MB, free: 8.031 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001275/0.1131, allocations: 51.78 kB / 493.5 MB, free: 7.98 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001397/0.1133, allocations: 83.77 kB / 493.6 MB, free: 7.898 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.665e-05/0.1133, allocations: 7.938 kB / 493.6 MB, free: 7.891 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001485/0.1135, allocations: 63.89 kB / 493.6 MB, free: 7.828 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.756e-05/0.1135, allocations: 31.91 kB / 493.7 MB, free: 7.797 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.639e-05/0.1136, allocations: 57.5 kB / 493.7 MB, free: 7.734 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001658/0.1138, allocations: 96.02 kB / 493.8 MB, free: 7.641 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.1138, allocations: 0 / 493.8 MB, free: 7.641 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.462e-06/0.1138, allocations: 3.938 kB / 493.8 MB, free: 7.637 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.888e-06/0.1138, allocations: 0 / 493.8 MB, free: 7.637 MB / 378.7 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.0005/0.1143, allocations: 403.2 kB / 494.2 MB, free: 7.195 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.1143, allocations: 12.03 kB / 494.2 MB, free: 7.184 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002827/0.1146, allocations: 36.81 kB / 494.3 MB, free: 7.148 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001659/0.1148, allocations: 192.1 kB / 494.4 MB, free: 6.922 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.043e-05/0.1148, allocations: 12.31 kB / 494.5 MB, free: 6.91 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.498e-05/0.1148, allocations: 12.12 kB / 494.5 MB, free: 6.898 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003457/0.1152, allocations: 184.1 kB / 494.6 MB, free: 6.703 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.298e-06/0.1152, allocations: 4 kB / 494.7 MB, free: 6.699 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.704e-05/0.1152, allocations: 3.984 kB / 494.7 MB, free: 6.695 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.907e-05/0.1153, allocations: 15.92 kB / 494.7 MB, free: 6.68 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003033/0.1156, allocations: 143.9 kB / 494.8 MB, free: 6.539 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007789/0.1164, allocations: 0.6445 MB / 495.5 MB, free: 5.824 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000296/0.1167, allocations: 122.6 kB / 495.6 MB, free: 5.695 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001107/0.1168, allocations: 40.83 kB / 495.6 MB, free: 5.652 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.683e-05/0.1168, allocations: 0 / 495.6 MB, free: 5.652 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.062e-05/0.1168, allocations: 34.56 kB / 495.6 MB, free: 5.609 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 9.72e-07/0.1169, allocations: 4 kB / 495.7 MB, free: 5.605 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004089/0.1173, allocations: 149.5 kB / 495.8 MB, free: 5.453 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.444e-05/0.1173, allocations: 51.41 kB / 495.8 MB, free: 5.391 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.525e-05/0.1174, allocations: 130 kB / 496 MB, free: 5.254 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.673e-05/0.1175, allocations: 25.7 kB / 496 MB, free: 5.223 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.195e-05/0.1175, allocations: 119.9 kB / 496.1 MB, free: 5.102 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.367e-05/0.1176, allocations: 27.8 kB / 496.1 MB, free: 5.074 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.644e-06/0.1176, allocations: 4 kB / 496.1 MB, free: 5.07 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001056/0.1177, allocations: 318.8 kB / 496.5 MB, free: 4.75 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001116/0.1178, allocations: 43.97 kB / 496.5 MB, free: 4.707 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001324/0.1179, allocations: 95.48 kB / 496.6 MB, free: 4.59 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002539/0.1182, allocations: 159.5 kB / 496.8 MB, free: 4.406 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.568e-06/0.1182, allocations: 4 kB / 496.8 MB, free: 4.402 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003101/0.1185, allocations: 169.3 kB / 496.9 MB, free: 4.23 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.1186, allocations: 7.281 kB / 496.9 MB, free: 4.227 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.1186, allocations: 4 kB / 496.9 MB, free: 4.223 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.1186, allocations: 4 kB / 496.9 MB, free: 4.219 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001659/0.1188, allocations: 44.16 kB / 497 MB, free: 4.176 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.1188, allocations: 4.391 kB / 497 MB, free: 4.172 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.52e-05/0.1189, allocations: 27.83 kB / 497 MB, free: 4.145 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.025e-05/0.1189, allocations: 7.938 kB / 497 MB, free: 4.137 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001149/0.119, allocations: 133.7 kB / 497.1 MB, free: 3.996 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.611e-05/0.119, allocations: 7.906 kB / 497.2 MB, free: 3.988 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003037/0.1194, allocations: 137.9 kB / 497.3 MB, free: 3.852 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.1194, allocations: 0 / 497.3 MB, free: 3.852 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.1194, allocations: 4 kB / 497.3 MB, free: 3.848 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.1194, allocations: 0 / 497.3 MB, free: 3.848 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001908/0.1196, allocations: 201.5 kB / 497.5 MB, free: 3.602 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.1196, allocations: 3.938 kB / 497.5 MB, free: 3.598 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001306/0.1197, allocations: 31.98 kB / 497.5 MB, free: 3.566 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.1197, allocations: 0 / 497.5 MB, free: 3.566 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.139e-05/0.1198, allocations: 7.984 kB / 497.5 MB, free: 3.559 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.1198, allocations: 0 / 497.5 MB, free: 3.559 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1198, allocations: 0 / 497.5 MB, free: 3.559 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002826/0.1201, allocations: 223.3 kB / 497.8 MB, free: 3.324 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.618e-05/0.1201, allocations: 84.95 kB / 497.8 MB, free: 3.223 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.722e-05/0.1201, allocations: 7.984 kB / 497.8 MB, free: 3.215 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.285e-05/0.1202, allocations: 8 kB / 497.9 MB, free: 3.207 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.904e-05/0.1203, allocations: 7.984 kB / 497.9 MB, free: 3.199 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.575e-06/0.1203, allocations: 8 kB / 497.9 MB, free: 3.191 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.173e-05/0.1203, allocations: 99.2 kB / 498 MB, free: 3.094 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1203, allocations: 0 / 498 MB, free: 3.094 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002381/0.1206, allocations: 20 kB / 498 MB, free: 3.074 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001442/0.1207, allocations: 107.2 kB / 498.1 MB, free: 2.957 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003052/0.121, allocations: 107.9 kB / 498.2 MB, free: 2.852 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.1211, allocations: 0 / 498.2 MB, free: 2.852 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001108/0.1212, allocations: 48.41 kB / 498.2 MB, free: 2.805 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002327/0.1214, allocations: 15.94 kB / 498.3 MB, free: 2.789 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004193/0.1218, allocations: 338.7 kB / 498.6 MB, free: 2.422 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002161/0.1221, allocations: 0.7083 MB / 499.3 MB, free: 1.688 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.961e-05/0.1221, allocations: 15.42 kB / 499.3 MB, free: 1.672 MB / 378.7 MB Notification: Performance of SimCode: time 3.21e-07/0.1221, allocations: 0 / 499.3 MB, free: 1.672 MB / 378.7 MB Notification: Performance of Templates: time 0.002465/0.1246, allocations: 1.289 MB / 0.4889 GB, free: 396 kB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/StraightPipe/dp_laminar_DPMFLOW/dp_laminar_DPMFLOW.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches