Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_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 trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_overall_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|MIN|A_cross|roughness|d_hyd|K.1.|K.2.|K.3.|K.4.|L|eta|rho|input_mdot.1.|input_mdot.2.|input_mdot.3.|input_mdot.4.|input_dp.1.|input_dp.2.|input_dp.3.|input_dp.4.|M_FLOW.1.|M_FLOW.2.|M_FLOW.3.|M_FLOW.4.|DP.1.|DP.2.|DP.3.|DP.4.|velocity.1.|velocity.2.|velocity.3.|velocity.4.|Re.1.|Re.2.|Re.3.|Re.4.|DP_plot.1.|DP_plot.2.|DP_plot.3.|DP_plot.4.|zeta_TOT.1.|zeta_TOT.2.|zeta_TOT.3.|zeta_TOT.4.|lambda_FRI.1.|lambda_FRI.2.|lambda_FRI.3.|lambda_FRI.4.|input_DP.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|MIN|A_cross|roughness|d_hyd|K.1.|K.2.|K.3.|K.4.|L|eta|rho|input_mdot.1.|input_mdot.2.|input_mdot.3.|input_mdot.4.|input_dp.1.|input_dp.2.|input_dp.3.|input_dp.4.|M_FLOW.1.|M_FLOW.2.|M_FLOW.3.|M_FLOW.4.|DP.1.|DP.2.|DP.3.|DP.4.|velocity.1.|velocity.2.|velocity.3.|velocity.4.|Re.1.|Re.2.|Re.3.|Re.4.|DP_plot.1.|DP_plot.2.|DP_plot.3.|DP_plot.4.|zeta_TOT.1.|zeta_TOT.2.|zeta_TOT.3.|zeta_TOT.4.|lambda_FRI.1.|lambda_FRI.2.|lambda_FRI.3.|lambda_FRI.4.|input_DP.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001208/0.001208, allocations: 114.2 kB / 18.46 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001294/0.001294, allocations: 210.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.392/1.392, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2117/0.2117, allocations: 46.11 MB / 345 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001522/0.001522, allocations: 80.16 kB / 482 MB, free: 4.074 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3673/0.3689, allocations: 62.43 MB / 0.5317 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW): time 0.002829/0.3717, allocations: 1.843 MB / 0.5335 GB, free: 12.2 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004098/0.3758, allocations: 2.951 MB / 0.5364 GB, free: 9.867 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001016/0.376, allocations: 2.312 kB / 0.5364 GB, free: 9.867 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002832/0.3763, allocations: 42.02 kB / 0.5364 GB, free: 9.836 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003085/0.3766, allocations: 76.81 kB / 0.5365 GB, free: 9.777 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001747/0.3784, allocations: 0.7449 MB / 0.5372 GB, free: 9.352 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003056/0.3787, allocations: 243 kB / 0.5374 GB, free: 9.215 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.931e-05/0.3788, allocations: 30.36 kB / 0.5375 GB, free: 9.203 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002467/0.379, allocations: 106.4 kB / 0.5376 GB, free: 9.145 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001641/0.3792, allocations: 124 kB / 0.5377 GB, free: 9.066 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.594e-05/0.3792, allocations: 8 kB / 0.5377 GB, free: 9.066 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001865/0.3811, allocations: 1.227 MB / 0.5389 GB, free: 8.297 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001059/0.3812, allocations: 72.14 kB / 0.539 GB, free: 8.25 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001237/0.3813, allocations: 112.7 kB / 0.5391 GB, free: 8.176 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001359/0.3827, allocations: 0.9338 MB / 0.54 GB, free: 7.594 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.3827, allocations: 0 / 0.54 GB, free: 7.594 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3827, allocations: 0 / 0.54 GB, free: 7.594 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.546e-06/0.3827, allocations: 1.062 kB / 0.54 GB, free: 7.594 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001094/0.3838, allocations: 0.6831 MB / 0.5407 GB, free: 6.98 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.83e-05/0.3839, allocations: 8.906 kB / 0.5407 GB, free: 6.98 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.724e-05/0.384, allocations: 29.84 kB / 0.5407 GB, free: 6.965 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003251/0.3843, allocations: 242.8 kB / 0.5409 GB, free: 6.719 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.683e-05/0.3843, allocations: 23 kB / 0.5409 GB, free: 6.707 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.936e-05/0.3844, allocations: 24.48 kB / 0.541 GB, free: 6.699 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008539/0.3853, allocations: 467.4 kB / 0.5414 GB, free: 6.453 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.425e-05/0.3853, allocations: 0 / 0.5414 GB, free: 6.453 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.473e-05/0.3853, allocations: 10.25 kB / 0.5414 GB, free: 6.445 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.145e-05/0.3854, allocations: 46.94 kB / 0.5415 GB, free: 6.43 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009128/0.3863, allocations: 0.5481 MB / 0.542 GB, free: 6.195 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001999/0.3883, allocations: 1.302 MB / 0.5433 GB, free: 5.125 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005259/0.3889, allocations: 281.9 kB / 0.5435 GB, free: 4.988 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002067/0.3891, allocations: 94.05 kB / 0.5436 GB, free: 4.945 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.062e-05/0.3892, allocations: 16.8 kB / 0.5436 GB, free: 4.934 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.895e-05/0.3892, allocations: 39.62 kB / 0.5437 GB, free: 4.887 MB / 398.1 MB Notification: Performance of pre-optimization done (n=25): time 1.563e-06/0.3892, allocations: 0 / 0.5437 GB, free: 4.887 MB / 398.1 MB Notification: Performance of matching and sorting (n=25): time 0.0007326/0.3899, allocations: 334.1 kB / 0.544 GB, free: 4.727 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.727e-05/0.39, allocations: 54.66 kB / 0.5441 GB, free: 4.664 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001183/0.3901, allocations: 147 kB / 0.5442 GB, free: 4.531 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.552e-05/0.3901, allocations: 30.83 kB / 0.5442 GB, free: 4.496 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.489e-05/0.3902, allocations: 187.2 kB / 0.5444 GB, free: 4.324 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.789e-05/0.3903, allocations: 90.17 kB / 0.5445 GB, free: 4.246 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.284e-05/0.3904, allocations: 72.47 kB / 0.5446 GB, free: 4.199 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001133/0.3905, allocations: 325.8 kB / 0.5449 GB, free: 3.875 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001935/0.3907, allocations: 87.83 kB / 0.545 GB, free: 3.84 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002752/0.391, allocations: 180.3 kB / 0.5451 GB, free: 3.684 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004589/0.3915, allocations: 286.9 kB / 0.5454 GB, free: 3.367 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.3915, allocations: 0 / 0.5454 GB, free: 3.367 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005753/0.3921, allocations: 325 kB / 0.5457 GB, free: 3.043 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.3921, allocations: 7.938 kB / 0.5457 GB, free: 3.035 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.3921, allocations: 4 kB / 0.5457 GB, free: 3.031 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.969e-05/0.3921, allocations: 4 kB / 0.5457 GB, free: 3.027 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004913/0.3926, allocations: 128.2 kB / 0.5458 GB, free: 2.902 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001119/0.3938, allocations: 2.356 MB / 0.5481 GB, free: 464 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001723/0.3939, allocations: 31.67 kB / 0.5482 GB, free: 432 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.766e-05/0.394, allocations: 27.88 kB / 0.5482 GB, free: 404 kB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (36): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * 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): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001626/0.3942, allocations: 180.6 kB / 0.5484 GB, free: 216 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.376e-05/0.3942, allocations: 12.09 kB / 0.5484 GB, free: 204 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007709/0.395, allocations: 366.4 kB / 0.5487 GB, free: 15.83 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.395, allocations: 3.984 kB / 0.5487 GB, free: 15.83 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.395, allocations: 4 kB / 0.5487 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.04e-05/0.3951, allocations: 96.8 kB / 0.5488 GB, free: 15.71 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.303e-05/0.3951, allocations: 7.938 kB / 0.5488 GB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001468/0.3953, allocations: 19.92 kB / 0.5489 GB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.965e-05/0.3953, allocations: 15.97 kB / 0.5489 GB, free: 15.67 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000877/0.3962, allocations: 460.1 kB / 0.5493 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007595/0.397, allocations: 0.586 MB / 0.5499 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002055/0.3972, allocations: 115.9 kB / 0.55 GB, free: 14.48 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.698e-05/0.3973, allocations: 99.27 kB / 0.5501 GB, free: 14.39 MB / 414.1 MB Notification: Performance of Backend: time 1.844e-06/0.3973, allocations: 0 / 0.5501 GB, free: 14.39 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001603/0.3989, allocations: 0.5328 MB / 0.5506 GB, free: 13.85 MB / 414.1 MB Notification: Performance of SimCode: time 0.001036/0.3999, allocations: 0.9742 MB / 0.5516 GB, free: 12.83 MB / 414.1 MB Notification: Performance of Templates: time 0.01208/0.412, allocations: 7.068 MB / 0.5585 GB, free: 5.785 MB / 414.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_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_overall_DPMFLOW/dp_overall_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches