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.001359/0.001359, allocations: 117.9 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00147/0.00147, allocations: 210.8 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.343/1.343, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2077/0.2077, allocations: 46.1 MB / 345 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001552/0.001552, allocations: 75.88 kB / 482 MB, free: 4.008 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3615/0.3631, allocations: 62.44 MB / 0.5317 GB, free: 13.58 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW): time 0.002909/0.366, allocations: 1.838 MB / 0.5335 GB, free: 12.16 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003886/0.3699, allocations: 2.957 MB / 0.5364 GB, free: 9.816 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.426e-05/0.37, allocations: 1.594 kB / 0.5364 GB, free: 9.816 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002399/0.3703, allocations: 39.02 kB / 0.5364 GB, free: 9.789 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002623/0.3706, allocations: 79.31 kB / 0.5365 GB, free: 9.727 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001467/0.372, allocations: 0.7366 MB / 0.5372 GB, free: 9.305 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002798/0.3723, allocations: 235.7 kB / 0.5374 GB, free: 9.176 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.045e-05/0.3724, allocations: 29.8 kB / 0.5375 GB, free: 9.164 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001977/0.3726, allocations: 111 kB / 0.5376 GB, free: 9.102 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001786/0.3728, allocations: 122.8 kB / 0.5377 GB, free: 9.023 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.439e-05/0.3728, allocations: 7.938 kB / 0.5377 GB, free: 9.023 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001675/0.3745, allocations: 1.227 MB / 0.5389 GB, free: 8.254 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.854e-05/0.3746, allocations: 73.27 kB / 0.539 GB, free: 8.207 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001083/0.3747, allocations: 109.8 kB / 0.5391 GB, free: 8.137 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001164/0.3759, allocations: 0.9323 MB / 0.54 GB, free: 7.555 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.3759, allocations: 0 / 0.54 GB, free: 7.555 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.3759, allocations: 1.125 kB / 0.54 GB, free: 7.555 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.091e-06/0.3759, allocations: 0 / 0.54 GB, free: 7.555 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.001012/0.3769, allocations: 0.6798 MB / 0.5406 GB, free: 6.945 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.377, allocations: 7.781 kB / 0.5406 GB, free: 6.945 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.464e-05/0.3771, allocations: 30.28 kB / 0.5407 GB, free: 6.93 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002806/0.3774, allocations: 242.6 kB / 0.5409 GB, free: 6.684 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.338e-05/0.3774, allocations: 31.16 kB / 0.5409 GB, free: 6.664 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.817e-05/0.3775, allocations: 21.44 kB / 0.541 GB, free: 6.66 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007689/0.3782, allocations: 466.3 kB / 0.5414 GB, free: 6.414 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.3782, allocations: 0 / 0.5414 GB, free: 6.414 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.176e-05/0.3783, allocations: 14.2 kB / 0.5414 GB, free: 6.402 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.892e-05/0.3784, allocations: 51.11 kB / 0.5415 GB, free: 6.383 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008524/0.3792, allocations: 0.5447 MB / 0.542 GB, free: 6.152 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001856/0.3811, allocations: 1.305 MB / 0.5433 GB, free: 5.078 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005329/0.3816, allocations: 274.2 kB / 0.5435 GB, free: 4.949 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000205/0.3818, allocations: 98.47 kB / 0.5436 GB, free: 4.902 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.33e-05/0.3819, allocations: 7.312 kB / 0.5436 GB, free: 4.898 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.503e-05/0.3819, allocations: 41 kB / 0.5437 GB, free: 4.852 MB / 398.1 MB Notification: Performance of pre-optimization done (n=25): time 1.964e-06/0.3819, allocations: 4 kB / 0.5437 GB, free: 4.848 MB / 398.1 MB Notification: Performance of matching and sorting (n=25): time 0.000748/0.3827, allocations: 330.1 kB / 0.544 GB, free: 4.691 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.114e-05/0.3827, allocations: 53.66 kB / 0.544 GB, free: 4.629 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001282/0.3829, allocations: 145.3 kB / 0.5442 GB, free: 4.496 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.422e-05/0.3829, allocations: 31.17 kB / 0.5442 GB, free: 4.461 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001113/0.383, allocations: 191 kB / 0.5444 GB, free: 4.285 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.456e-05/0.3831, allocations: 98.64 kB / 0.5445 GB, free: 4.199 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.605e-05/0.3832, allocations: 63.52 kB / 0.5445 GB, free: 4.16 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001309/0.3833, allocations: 326.4 kB / 0.5449 GB, free: 3.836 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000193/0.3835, allocations: 87.8 kB / 0.5449 GB, free: 3.801 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002535/0.3838, allocations: 175.7 kB / 0.5451 GB, free: 3.598 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004626/0.3842, allocations: 290.9 kB / 0.5454 GB, free: 3.277 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.3843, allocations: 4 kB / 0.5454 GB, free: 3.273 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005885/0.3849, allocations: 321 kB / 0.5457 GB, free: 2.953 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.3849, allocations: 7.938 kB / 0.5457 GB, free: 2.945 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.3849, allocations: 7.984 kB / 0.5457 GB, free: 2.938 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.211e-05/0.3849, allocations: 4.344 kB / 0.5457 GB, free: 2.934 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004698/0.3854, allocations: 123.9 kB / 0.5458 GB, free: 2.812 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001162/0.3866, allocations: 2.36 MB / 0.5481 GB, free: 368 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001704/0.3868, allocations: 35.67 kB / 0.5482 GB, free: 332 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.368e-05/0.3868, allocations: 19.94 kB / 0.5482 GB, free: 312 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.0001554/0.387, allocations: 173.8 kB / 0.5484 GB, free: 128 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.286e-05/0.387, allocations: 15.91 kB / 0.5484 GB, free: 112 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007352/0.3878, allocations: 370.2 kB / 0.5487 GB, free: 15.74 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.94e-06/0.3878, allocations: 0 / 0.5487 GB, free: 15.74 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.3878, allocations: 3.984 kB / 0.5487 GB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.432e-05/0.3878, allocations: 96.84 kB / 0.5488 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.296e-05/0.3879, allocations: 15.88 kB / 0.5488 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001426/0.388, allocations: 11.98 kB / 0.5488 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.246e-05/0.3881, allocations: 15.98 kB / 0.5489 GB, free: 15.58 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008981/0.389, allocations: 464.1 kB / 0.5493 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007823/0.3898, allocations: 0.5821 MB / 0.5499 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002061/0.39, allocations: 112 kB / 0.55 GB, free: 14.4 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.84e-05/0.3901, allocations: 106.2 kB / 0.5501 GB, free: 14.3 MB / 414.1 MB Notification: Performance of Backend: time 3.6e-07/0.3901, allocations: 0 / 0.5501 GB, free: 14.3 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001541/0.3916, allocations: 0.5328 MB / 0.5506 GB, free: 13.76 MB / 414.1 MB Notification: Performance of SimCode: time 0.001209/0.3928, allocations: 0.9756 MB / 0.5516 GB, free: 12.73 MB / 414.1 MB Notification: Performance of Templates: time 0.01263/0.4055, allocations: 7.135 MB / 0.5585 GB, free: 5.629 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