Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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_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_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001597/0.001597, allocations: 173.8 kB / 16.08 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.586/1.586, allocations: 205.6 MB / 222.4 MB, free: 8.941 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008088/0.000809, allocations: 96.47 kB / 270.8 MB, free: 8.125 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3675/0.3675, allocations: 43.66 MB / 362.7 MB, free: 51.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003023/0.0003023, allocations: 11.98 kB / 432.3 MB, free: 4.777 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.109, allocations: 58.85 MB / 491.2 MB, free: 9.797 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.00202/0.1111, allocations: 1.489 MB / 492.7 MB, free: 8.293 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001398/0.1125, allocations: 0.9428 MB / 493.6 MB, free: 7.309 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.205e-05/0.1126, allocations: 4 kB / 493.6 MB, free: 7.305 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002192/0.1128, allocations: 31.83 kB / 493.6 MB, free: 7.273 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000277/0.1131, allocations: 71.66 kB / 493.7 MB, free: 7.203 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001847/0.1133, allocations: 51.81 kB / 493.8 MB, free: 7.152 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002325/0.1135, allocations: 207.3 kB / 494 MB, free: 6.949 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.338e-05/0.1136, allocations: 12.27 kB / 494 MB, free: 6.938 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001552/0.1138, allocations: 63.7 kB / 494 MB, free: 6.875 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001538/0.1139, allocations: 75.72 kB / 494.1 MB, free: 6.801 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.059e-05/0.114, allocations: 8 kB / 494.1 MB, free: 6.793 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001751/0.1141, allocations: 71.89 kB / 494.2 MB, free: 6.723 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.919e-05/0.1142, allocations: 27.91 kB / 494.2 MB, free: 6.695 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.721e-05/0.1143, allocations: 73.42 kB / 494.3 MB, free: 6.617 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002449/0.1146, allocations: 135.5 kB / 494.4 MB, free: 6.484 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.732e-06/0.1146, allocations: 7.938 kB / 494.4 MB, free: 6.477 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1146, allocations: 0 / 494.4 MB, free: 6.477 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.1146, allocations: 0 / 494.4 MB, free: 6.477 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.0005877/0.1152, allocations: 395.3 kB / 494.8 MB, free: 6.043 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.1152, allocations: 8.031 kB / 494.8 MB, free: 6.035 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003493/0.1156, allocations: 32.81 kB / 494.9 MB, free: 6.004 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001954/0.1158, allocations: 196.1 kB / 495.1 MB, free: 5.773 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.468e-05/0.1158, allocations: 4.375 kB / 495.1 MB, free: 5.77 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.898e-05/0.1159, allocations: 20.11 kB / 495.1 MB, free: 5.75 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003632/0.1162, allocations: 180.1 kB / 495.3 MB, free: 5.559 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.986e-06/0.1162, allocations: 0 / 495.3 MB, free: 5.559 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.645e-05/0.1163, allocations: 4 kB / 495.3 MB, free: 5.555 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.734e-05/0.1163, allocations: 11.98 kB / 495.3 MB, free: 5.543 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003171/0.1166, allocations: 151.8 kB / 495.4 MB, free: 5.395 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008849/0.1175, allocations: 0.6445 MB / 496.1 MB, free: 4.68 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003412/0.1179, allocations: 122.6 kB / 496.2 MB, free: 4.551 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001243/0.118, allocations: 44.83 kB / 496.2 MB, free: 4.504 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.211e-05/0.118, allocations: 0 / 496.2 MB, free: 4.504 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.214e-05/0.1181, allocations: 30.56 kB / 496.3 MB, free: 4.465 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 1.052e-06/0.1181, allocations: 0 / 496.3 MB, free: 4.465 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.00045/0.1185, allocations: 149.8 kB / 496.4 MB, free: 4.312 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.742e-05/0.1186, allocations: 55.41 kB / 496.5 MB, free: 4.246 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000108/0.1187, allocations: 134 kB / 496.6 MB, free: 4.105 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.607e-05/0.1187, allocations: 29.64 kB / 496.6 MB, free: 4.07 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001068/0.1188, allocations: 115.9 kB / 496.7 MB, free: 3.953 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.467e-05/0.1189, allocations: 27.64 kB / 496.8 MB, free: 3.926 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.352e-06/0.1189, allocations: 3.938 kB / 496.8 MB, free: 3.922 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001193/0.119, allocations: 326.8 kB / 497.1 MB, free: 3.594 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001223/0.1191, allocations: 39.97 kB / 497.1 MB, free: 3.555 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001432/0.1193, allocations: 99.69 kB / 497.2 MB, free: 3.43 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000292/0.1196, allocations: 159.5 kB / 497.4 MB, free: 3.246 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.1196, allocations: 0 / 497.4 MB, free: 3.246 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003334/0.12, allocations: 169.3 kB / 497.5 MB, free: 3.074 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.179e-05/0.12, allocations: 8 kB / 497.5 MB, free: 3.066 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.415e-06/0.12, allocations: 7.922 kB / 497.6 MB, free: 3.059 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.392e-05/0.12, allocations: 4 kB / 497.6 MB, free: 3.055 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001758/0.1202, allocations: 39.92 kB / 497.6 MB, free: 3.016 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/0.1202, allocations: 8.25 kB / 497.6 MB, free: 3.008 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.901e-05/0.1203, allocations: 27.83 kB / 497.6 MB, free: 2.98 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.092e-05/0.1204, allocations: 4 kB / 497.6 MB, free: 2.977 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.395e-05/0.1205, allocations: 130.2 kB / 497.8 MB, free: 2.84 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.603e-05/0.1205, allocations: 7.906 kB / 497.8 MB, free: 2.832 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003125/0.1208, allocations: 134 kB / 497.9 MB, free: 2.699 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.1208, allocations: 0 / 497.9 MB, free: 2.699 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.1208, allocations: 0 / 497.9 MB, free: 2.699 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.1208, allocations: 0 / 497.9 MB, free: 2.699 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001983/0.121, allocations: 197.6 kB / 498.1 MB, free: 2.457 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.121, allocations: 3.984 kB / 498.1 MB, free: 2.453 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001349/0.1212, allocations: 31.98 kB / 498.1 MB, free: 2.422 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.1212, allocations: 0 / 498.1 MB, free: 2.422 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.007e-05/0.1212, allocations: 7.938 kB / 498.1 MB, free: 2.414 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.1212, allocations: 0 / 498.1 MB, free: 2.414 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.1212, allocations: 0 / 498.1 MB, free: 2.414 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002946/0.1215, allocations: 227.3 kB / 498.4 MB, free: 2.176 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.966e-05/0.1216, allocations: 84.95 kB / 498.4 MB, free: 2.074 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.854e-05/0.1216, allocations: 4 kB / 498.4 MB, free: 2.07 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001009/0.1217, allocations: 15.98 kB / 498.5 MB, free: 2.055 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.155e-05/0.1218, allocations: 4 kB / 498.5 MB, free: 2.051 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.472e-06/0.1218, allocations: 0 / 498.5 MB, free: 2.051 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.925e-05/0.1218, allocations: 95.27 kB / 498.6 MB, free: 1.957 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1218, allocations: 4 kB / 498.6 MB, free: 1.953 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002542/0.1221, allocations: 20 kB / 498.6 MB, free: 1.934 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 (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.0001713/0.1223, allocations: 119 kB / 498.7 MB, free: 1.805 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000317/0.1226, allocations: 112.4 kB / 498.8 MB, free: 1.695 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.1226, allocations: 0 / 498.8 MB, free: 1.695 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001239/0.1228, allocations: 44.41 kB / 498.8 MB, free: 1.652 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002645/0.123, allocations: 15.94 kB / 498.9 MB, free: 1.637 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004628/0.1235, allocations: 313.4 kB / 499.2 MB, free: 1.301 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002324/0.1237, allocations: 0.7121 MB / 499.9 MB, free: 0.5625 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000108/0.1239, allocations: 36.5 kB / 499.9 MB, free: 0.5234 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.365e-05/0.1239, allocations: 19.36 kB / 499.9 MB, free: 0.5039 MB / 378.7 MB Notification: Performance of SimCode: time 2.21e-07/0.1239, allocations: 0 / 499.9 MB, free: 0.5039 MB / 378.7 MB Notification: Performance of Templates: time 0.1766/0.3005, allocations: 0.8157 MB / 0.489 GB, free: 42.86 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_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_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches