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.001155/0.001155, allocations: 109.8 kB / 18.45 MB, free: 4.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001253/0.001253, allocations: 209.9 kB / 19.4 MB, free: 3.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.399/1.399, allocations: 227.4 MB / 247.6 MB, free: 10.56 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2197/0.2197, allocations: 46.11 MB / 345 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001367/0.001367, allocations: 75.86 kB / 482 MB, free: 4.094 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3721/0.3735, allocations: 62.45 MB / 0.5317 GB, free: 13.65 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW): time 0.003128/0.3767, allocations: 1.829 MB / 0.5335 GB, free: 12.23 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004391/0.3811, allocations: 2.956 MB / 0.5364 GB, free: 9.891 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000112/0.3812, allocations: 1.375 kB / 0.5364 GB, free: 9.891 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002811/0.3815, allocations: 48.12 kB / 0.5364 GB, free: 9.855 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003446/0.3819, allocations: 80.06 kB / 0.5365 GB, free: 9.793 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001771/0.3837, allocations: 0.7335 MB / 0.5372 GB, free: 9.375 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003068/0.384, allocations: 240.2 kB / 0.5374 GB, free: 9.242 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.004e-05/0.3841, allocations: 25.44 kB / 0.5375 GB, free: 9.234 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002324/0.3843, allocations: 114.6 kB / 0.5376 GB, free: 9.168 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001778/0.3845, allocations: 114.8 kB / 0.5377 GB, free: 9.098 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.446e-05/0.3846, allocations: 8.906 kB / 0.5377 GB, free: 9.098 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001838/0.3864, allocations: 1.238 MB / 0.5389 GB, free: 8.316 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.262e-05/0.3865, allocations: 68.16 kB / 0.539 GB, free: 8.273 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000123/0.3867, allocations: 109 kB / 0.5391 GB, free: 8.203 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001241/0.3879, allocations: 0.9256 MB / 0.54 GB, free: 7.629 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.3879, allocations: 4.953 kB / 0.54 GB, free: 7.625 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3879, allocations: 0 / 0.54 GB, free: 7.625 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.3879, allocations: 0 / 0.54 GB, free: 7.625 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.0009545/0.3889, allocations: 0.6776 MB / 0.5406 GB, free: 7.016 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.3889, allocations: 9.125 kB / 0.5406 GB, free: 7.016 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.588e-05/0.389, allocations: 30.84 kB / 0.5407 GB, free: 7 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002735/0.3893, allocations: 246 kB / 0.5409 GB, free: 6.75 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.628e-05/0.3893, allocations: 27.02 kB / 0.5409 GB, free: 6.734 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.685e-05/0.3894, allocations: 29.08 kB / 0.541 GB, free: 6.723 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007127/0.3901, allocations: 466 kB / 0.5414 GB, free: 6.477 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.3901, allocations: 1.156 kB / 0.5414 GB, free: 6.477 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.208e-05/0.3902, allocations: 10.23 kB / 0.5414 GB, free: 6.469 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.449e-05/0.3902, allocations: 50.72 kB / 0.5415 GB, free: 6.449 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008738/0.3911, allocations: 0.5529 MB / 0.542 GB, free: 6.211 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001939/0.3931, allocations: 1.292 MB / 0.5433 GB, free: 5.148 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005472/0.3936, allocations: 279.3 kB / 0.5435 GB, free: 5.016 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002108/0.3939, allocations: 101.4 kB / 0.5436 GB, free: 4.965 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.576e-05/0.3939, allocations: 8.422 kB / 0.5436 GB, free: 4.961 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.518e-05/0.394, allocations: 39.5 kB / 0.5437 GB, free: 4.914 MB / 398.1 MB Notification: Performance of pre-optimization done (n=25): time 1.784e-06/0.394, allocations: 1.156 kB / 0.5437 GB, free: 4.914 MB / 398.1 MB Notification: Performance of matching and sorting (n=25): time 0.0008042/0.3948, allocations: 333.2 kB / 0.544 GB, free: 4.754 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.403e-05/0.3948, allocations: 54.62 kB / 0.544 GB, free: 4.691 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001272/0.395, allocations: 147.2 kB / 0.5442 GB, free: 4.559 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.309e-05/0.395, allocations: 30.73 kB / 0.5442 GB, free: 4.523 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001177/0.3951, allocations: 187.9 kB / 0.5444 GB, free: 4.352 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.094e-05/0.3952, allocations: 90.84 kB / 0.5445 GB, free: 4.273 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001027/0.3953, allocations: 66.56 kB / 0.5445 GB, free: 4.23 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001311/0.3955, allocations: 327.3 kB / 0.5449 GB, free: 3.906 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001982/0.3957, allocations: 87.42 kB / 0.5449 GB, free: 3.871 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002557/0.3959, allocations: 183.1 kB / 0.5451 GB, free: 3.695 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004602/0.3964, allocations: 286.9 kB / 0.5454 GB, free: 3.379 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.3964, allocations: 0 / 0.5454 GB, free: 3.379 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005583/0.397, allocations: 333.1 kB / 0.5457 GB, free: 3.047 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.397, allocations: 4 kB / 0.5457 GB, free: 3.043 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/0.397, allocations: 4 kB / 0.5457 GB, free: 3.039 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.06e-05/0.397, allocations: 4 kB / 0.5457 GB, free: 3.035 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004768/0.3975, allocations: 123.8 kB / 0.5458 GB, free: 2.914 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001202/0.3987, allocations: 2.356 MB / 0.5481 GB, free: 476 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001718/0.3989, allocations: 39.91 kB / 0.5482 GB, free: 436 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.904e-05/0.399, allocations: 19.98 kB / 0.5482 GB, free: 416 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.0001957/0.3992, allocations: 180.8 kB / 0.5484 GB, free: 228 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.292e-05/0.3992, allocations: 11.91 kB / 0.5484 GB, free: 216 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007547/0.4, allocations: 374.1 kB / 0.5487 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.4, allocations: 0 / 0.5487 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.4, allocations: 4 kB / 0.5487 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.4, allocations: 3.938 kB / 0.5487 GB, free: 15.83 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004004/0.4004, allocations: 345.3 kB / 0.5491 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.4004, allocations: 7.938 kB / 0.5491 GB, free: 15.44 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003968/0.4008, allocations: 99.89 kB / 0.5492 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.45e-06/0.4008, allocations: 4 kB / 0.5492 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.269e-05/0.4009, allocations: 15.98 kB / 0.5492 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001149/0.402, allocations: 2.356 MB / 0.5515 GB, free: 12.87 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.402, allocations: 0 / 0.5515 GB, free: 12.87 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005204/0.4026, allocations: 371.5 kB / 0.5518 GB, free: 12.49 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.168e-05/0.4026, allocations: 100.8 kB / 0.5519 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.78e-05/0.4027, allocations: 8 kB / 0.552 GB, free: 12.37 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001359/0.4028, allocations: 8 kB / 0.552 GB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.345e-05/0.4029, allocations: 23.97 kB / 0.552 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.902e-05/0.4029, allocations: 7.984 kB / 0.552 GB, free: 12.33 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.255e-05/0.403, allocations: 103.3 kB / 0.5521 GB, free: 12.23 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.403, allocations: 4 kB / 0.5521 GB, free: 12.22 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007886/0.4038, allocations: 247.4 kB / 0.5523 GB, free: 11.98 MB / 414.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 (29): * Single equations (assignments): 25 * 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 Backend phase and start with SimCode phase: time 0.0006743/0.4045, allocations: 346.8 kB / 0.5527 GB, free: 11.63 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007234/0.4052, allocations: 304.1 kB / 0.553 GB, free: 11.34 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.465e-05/0.4052, allocations: 3.938 kB / 0.553 GB, free: 11.33 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004171/0.4057, allocations: 183.8 kB / 0.5531 GB, free: 11.15 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003386/0.406, allocations: 20.56 kB / 0.5531 GB, free: 11.13 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001001/0.407, allocations: 0.5885 MB / 0.5537 GB, free: 10.52 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003642/0.4074, allocations: 0.7985 MB / 0.5545 GB, free: 9.691 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.136e-05/0.4075, allocations: 35.42 kB / 0.5545 GB, free: 9.656 MB / 414.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4075, allocations: 0 / 0.5545 GB, free: 9.656 MB / 414.1 MB Notification: Performance of Templates: time 0.01269/0.4202, allocations: 10.02 MB / 0.5643 GB, free: 15.64 MB / 430.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