Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_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.General.dp_pressureLossCoefficient_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|zeta_TOT.1.|zeta_TOT.2.|zeta_TOT.3.|rho|input_mdot.1.|input_mdot.2.|input_mdot.3.|input_dp.1.|input_dp.2.|input_dp.3.|M_FLOW.1.|M_FLOW.2.|M_FLOW.3.|DP.1.|DP.2.|DP.3.|DP_plot.1.|DP_plot.2.|DP_plot.3.|input_DP.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|zeta_TOT.1.|zeta_TOT.2.|zeta_TOT.3.|rho|input_mdot.1.|input_mdot.2.|input_mdot.3.|input_dp.1.|input_dp.2.|input_dp.3.|M_FLOW.1.|M_FLOW.2.|M_FLOW.3.|DP.1.|DP.2.|DP.3.|DP_plot.1.|DP_plot.2.|DP_plot.3.|input_DP.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001128/0.001128, allocations: 114.4 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001203/0.001203, allocations: 202 kB / 19.4 MB, free: 3.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.319/1.319, allocations: 227.4 MB / 247.6 MB, free: 10.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2041/0.2041, allocations: 46.11 MB / 345 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001553/0.001553, allocations: 79.81 kB / 482 MB, free: 4.055 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3092/0.3107, allocations: 62.42 MB / 0.5317 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW): time 0.002852/0.3136, allocations: 1.688 MB / 0.5333 GB, free: 12.31 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001487/0.3151, allocations: 0.8354 MB / 0.5341 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.44e-05/0.3152, allocations: 1.219 kB / 0.5341 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002596/0.3155, allocations: 31.14 kB / 0.5342 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001857/0.3157, allocations: 58.73 kB / 0.5342 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003937/0.3161, allocations: 98.72 kB / 0.5343 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003166/0.3165, allocations: 148.3 kB / 0.5345 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.763e-05/0.3165, allocations: 26.45 kB / 0.5345 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002227/0.3167, allocations: 72.12 kB / 0.5346 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001487/0.3169, allocations: 73.67 kB / 0.5346 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.409e-05/0.3169, allocations: 4.469 kB / 0.5346 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003275/0.3173, allocations: 156.2 kB / 0.5348 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.454e-05/0.3174, allocations: 42.09 kB / 0.5348 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.072e-05/0.3175, allocations: 62.97 kB / 0.5349 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000363/0.3178, allocations: 206.2 kB / 0.5351 GB, free: 11.09 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.3178, allocations: 4 kB / 0.5351 GB, free: 11.08 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3178, allocations: 0 / 0.5351 GB, free: 11.08 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.653e-06/0.3179, allocations: 1.375 kB / 0.5351 GB, free: 11.08 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0007415/0.3186, allocations: 459.3 kB / 0.5355 GB, free: 10.64 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.3186, allocations: 9.625 kB / 0.5355 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005539/0.3192, allocations: 69.61 kB / 0.5356 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002395/0.3195, allocations: 214 kB / 0.5358 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.438e-05/0.3195, allocations: 9.969 kB / 0.5358 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.348e-05/0.3195, allocations: 15.56 kB / 0.5358 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004641/0.32, allocations: 243.3 kB / 0.5361 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.32, allocations: 0 / 0.5361 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.282e-05/0.32, allocations: 5.125 kB / 0.5361 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.698e-05/0.3201, allocations: 17.8 kB / 0.5361 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004449/0.3205, allocations: 225.4 kB / 0.5363 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00112/0.3217, allocations: 0.7339 MB / 0.537 GB, free: 9.426 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002139/0.3219, allocations: 90.89 kB / 0.5371 GB, free: 9.371 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001244/0.322, allocations: 43.94 kB / 0.5371 GB, free: 9.348 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.858e-05/0.3221, allocations: 5.031 kB / 0.5371 GB, free: 9.344 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.264e-05/0.3221, allocations: 39.78 kB / 0.5372 GB, free: 9.297 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.704e-06/0.3221, allocations: 4 kB / 0.5372 GB, free: 9.293 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005209/0.3226, allocations: 170.6 kB / 0.5373 GB, free: 9.199 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.781e-05/0.3227, allocations: 52.5 kB / 0.5374 GB, free: 9.137 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001815/0.3229, allocations: 177.9 kB / 0.5376 GB, free: 8.996 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.109e-05/0.3229, allocations: 26.3 kB / 0.5376 GB, free: 8.965 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.882e-05/0.323, allocations: 140.9 kB / 0.5377 GB, free: 8.832 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.667e-05/0.323, allocations: 31.58 kB / 0.5378 GB, free: 8.805 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.14e-05/0.3231, allocations: 32.08 kB / 0.5378 GB, free: 8.777 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000109/0.3232, allocations: 323.1 kB / 0.5381 GB, free: 8.457 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001343/0.3233, allocations: 42.39 kB / 0.5381 GB, free: 8.441 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000165/0.3235, allocations: 103.6 kB / 0.5382 GB, free: 8.348 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003101/0.3238, allocations: 161.1 kB / 0.5384 GB, free: 8.227 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.3238, allocations: 1.344 kB / 0.5384 GB, free: 8.227 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004253/0.3243, allocations: 178.3 kB / 0.5386 GB, free: 8.129 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.167e-05/0.3243, allocations: 13.8 kB / 0.5386 GB, free: 8.121 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.3243, allocations: 6.094 kB / 0.5386 GB, free: 8.117 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.001e-05/0.3243, allocations: 7.312 kB / 0.5386 GB, free: 8.113 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008728/0.3252, allocations: 118.8 kB / 0.5387 GB, free: 8.074 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001261/0.3265, allocations: 1.815 MB / 0.5405 GB, free: 6.262 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000185/0.3267, allocations: 26.36 kB / 0.5405 GB, free: 6.246 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.24e-05/0.3267, allocations: 13.45 kB / 0.5405 GB, free: 6.238 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 initialization (14): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001418/0.3269, allocations: 133.8 kB / 0.5406 GB, free: 6.113 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.389e-05/0.3269, allocations: 12.91 kB / 0.5406 GB, free: 6.105 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004818/0.3274, allocations: 189.3 kB / 0.5408 GB, free: 5.977 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.3274, allocations: 1.094 kB / 0.5408 GB, free: 5.977 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.3274, allocations: 1.062 kB / 0.5408 GB, free: 5.977 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.3274, allocations: 0 / 0.5408 GB, free: 5.977 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002883/0.3277, allocations: 232.7 kB / 0.5411 GB, free: 5.738 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.3277, allocations: 1.125 kB / 0.5411 GB, free: 5.738 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006933/0.3284, allocations: 109.3 kB / 0.5412 GB, free: 5.699 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.149e-06/0.3285, allocations: 0 / 0.5412 GB, free: 5.699 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.518e-05/0.3285, allocations: 5.562 kB / 0.5412 GB, free: 5.695 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009953/0.3295, allocations: 1.778 MB / 0.5429 GB, free: 3.898 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/0.3295, allocations: 3.984 kB / 0.5429 GB, free: 3.895 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003735/0.3299, allocations: 253.5 kB / 0.5431 GB, free: 3.699 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.521e-05/0.33, allocations: 89.39 kB / 0.5432 GB, free: 3.598 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.145e-05/0.33, allocations: 7.938 kB / 0.5432 GB, free: 3.59 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001401/0.3301, allocations: 14.36 kB / 0.5433 GB, free: 3.582 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.341e-05/0.3302, allocations: 7.391 kB / 0.5433 GB, free: 3.578 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.018e-05/0.3302, allocations: 2.688 kB / 0.5433 GB, free: 3.578 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001158/0.3303, allocations: 138.7 kB / 0.5434 GB, free: 3.477 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.3304, allocations: 0 / 0.5434 GB, free: 3.477 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003489/0.3307, allocations: 51.06 kB / 0.5434 GB, free: 3.461 MB / 398.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 (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002323/0.3309, allocations: 106.5 kB / 0.5435 GB, free: 3.367 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001187/0.3321, allocations: 235.8 kB / 0.5438 GB, free: 3.273 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.3322, allocations: 1.156 kB / 0.5438 GB, free: 3.273 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00064/0.3328, allocations: 134.1 kB / 0.5439 GB, free: 3.215 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004031/0.3332, allocations: 40.41 kB / 0.5439 GB, free: 3.191 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007248/0.334, allocations: 355.1 kB / 0.5443 GB, free: 2.938 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002934/0.3343, allocations: 0.7358 MB / 0.545 GB, free: 2.215 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.622e-05/0.3343, allocations: 15.19 kB / 0.545 GB, free: 2.211 MB / 398.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3343, allocations: 0 / 0.545 GB, free: 2.211 MB / 398.1 MB Notification: Performance of Templates: time 0.007352/0.3417, allocations: 4.454 MB / 0.5494 GB, free: 15.03 MB / 414.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/General/dp_pressureLossCoefficient_DPMFLOW/dp_pressureLossCoefficient_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches