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.001513/0.001514, allocations: 118.2 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001917/0.001917, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.447/1.447, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2253/0.2253, allocations: 46.11 MB / 344.3 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001491/0.001491, allocations: 71.88 kB / 481.3 MB, free: 4.086 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4119/0.4134, allocations: 62.45 MB / 0.531 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW): time 0.003351/0.4169, allocations: 1.676 MB / 0.5327 GB, free: 12.33 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001556/0.4184, allocations: 0.8339 MB / 0.5335 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.43e-05/0.4185, allocations: 1.094 kB / 0.5335 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000291/0.4188, allocations: 37.92 kB / 0.5335 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001993/0.419, allocations: 54.17 kB / 0.5336 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003505/0.4194, allocations: 96.94 kB / 0.5337 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002945/0.4197, allocations: 152.5 kB / 0.5338 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.214e-05/0.4198, allocations: 26.47 kB / 0.5338 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002554/0.42, allocations: 71.31 kB / 0.5339 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001699/0.4202, allocations: 69.94 kB / 0.534 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.339e-05/0.4202, allocations: 4.125 kB / 0.534 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003568/0.4206, allocations: 160.8 kB / 0.5341 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.348e-05/0.4207, allocations: 37.53 kB / 0.5342 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.402e-05/0.4208, allocations: 63.03 kB / 0.5342 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004055/0.4212, allocations: 208.8 kB / 0.5344 GB, free: 11.1 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.4212, allocations: 0 / 0.5344 GB, free: 11.1 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.4212, allocations: 0 / 0.5344 GB, free: 11.1 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.676e-06/0.4212, allocations: 1.375 kB / 0.5344 GB, free: 11.1 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.000768/0.422, allocations: 466.6 kB / 0.5349 GB, free: 10.65 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.156e-05/0.4221, allocations: 13.73 kB / 0.5349 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006389/0.4227, allocations: 66.12 kB / 0.5349 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002396/0.423, allocations: 217.5 kB / 0.5351 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.141e-05/0.423, allocations: 14.56 kB / 0.5352 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.315e-05/0.423, allocations: 20.45 kB / 0.5352 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005064/0.4236, allocations: 226.5 kB / 0.5354 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.4236, allocations: 3.938 kB / 0.5354 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.443e-05/0.4236, allocations: 5.125 kB / 0.5354 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.606e-05/0.4237, allocations: 18.39 kB / 0.5354 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004985/0.4242, allocations: 223.9 kB / 0.5356 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001264/0.4254, allocations: 0.7315 MB / 0.5364 GB, free: 9.441 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002402/0.4257, allocations: 81.48 kB / 0.5364 GB, free: 9.395 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001427/0.4258, allocations: 45.88 kB / 0.5365 GB, free: 9.371 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.573e-05/0.4259, allocations: 0 / 0.5365 GB, free: 9.371 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.868e-05/0.4259, allocations: 52.59 kB / 0.5365 GB, free: 9.312 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.052e-06/0.4259, allocations: 0 / 0.5365 GB, free: 9.312 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005899/0.4265, allocations: 166.4 kB / 0.5367 GB, free: 9.223 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.735e-05/0.4266, allocations: 51.41 kB / 0.5367 GB, free: 9.16 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001956/0.4268, allocations: 190.5 kB / 0.5369 GB, free: 9.008 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.976e-05/0.4268, allocations: 29.7 kB / 0.5369 GB, free: 8.973 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.135e-05/0.4269, allocations: 137.1 kB / 0.5371 GB, free: 8.844 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.5e-05/0.427, allocations: 28.41 kB / 0.5371 GB, free: 8.82 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.407e-05/0.427, allocations: 36.56 kB / 0.5371 GB, free: 8.789 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001295/0.4272, allocations: 322.7 kB / 0.5374 GB, free: 8.469 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001422/0.4273, allocations: 50.45 kB / 0.5375 GB, free: 8.445 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001799/0.4275, allocations: 107.1 kB / 0.5376 GB, free: 8.348 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003195/0.4278, allocations: 157.2 kB / 0.5377 GB, free: 8.23 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.4278, allocations: 0.9062 kB / 0.5377 GB, free: 8.23 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004016/0.4282, allocations: 186.5 kB / 0.5379 GB, free: 8.125 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.174e-05/0.4283, allocations: 10.81 kB / 0.5379 GB, free: 8.121 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.4283, allocations: 1.156 kB / 0.5379 GB, free: 8.121 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.236e-05/0.4283, allocations: 3.406 kB / 0.5379 GB, free: 8.121 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000874/0.4292, allocations: 126.1 kB / 0.5381 GB, free: 8.074 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00168/0.4309, allocations: 1.816 MB / 0.5398 GB, free: 6.262 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001584/0.4311, allocations: 29.73 kB / 0.5399 GB, free: 6.242 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.11e-05/0.4311, allocations: 6.219 kB / 0.5399 GB, free: 6.242 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.0001525/0.4312, allocations: 141.3 kB / 0.54 GB, free: 6.109 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.197e-05/0.4313, allocations: 12.77 kB / 0.54 GB, free: 6.102 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004793/0.4318, allocations: 173.7 kB / 0.5402 GB, free: 5.988 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.4318, allocations: 1.094 kB / 0.5402 GB, free: 5.988 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.4318, allocations: 1.469 kB / 0.5402 GB, free: 5.988 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.4318, allocations: 0 / 0.5402 GB, free: 5.988 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002796/0.4321, allocations: 236.8 kB / 0.5404 GB, free: 5.746 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.4321, allocations: 4 kB / 0.5404 GB, free: 5.742 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006682/0.4328, allocations: 113.7 kB / 0.5405 GB, free: 5.699 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.4328, allocations: 5.469 kB / 0.5405 GB, free: 5.695 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.33e-05/0.4328, allocations: 0 / 0.5405 GB, free: 5.695 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001099/0.4339, allocations: 1.783 MB / 0.5423 GB, free: 3.895 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.532e-06/0.4339, allocations: 0 / 0.5423 GB, free: 3.895 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003679/0.4343, allocations: 244.3 kB / 0.5425 GB, free: 3.707 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.149e-05/0.4344, allocations: 90.73 kB / 0.5426 GB, free: 3.605 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.994e-05/0.4344, allocations: 4 kB / 0.5426 GB, free: 3.602 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001312/0.4346, allocations: 9.859 kB / 0.5426 GB, free: 3.598 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.194e-05/0.4346, allocations: 7.016 kB / 0.5426 GB, free: 3.594 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.929e-06/0.4346, allocations: 3.312 kB / 0.5426 GB, free: 3.594 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001236/0.4348, allocations: 138.6 kB / 0.5427 GB, free: 3.492 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4348, allocations: 7.938 kB / 0.5427 GB, free: 3.484 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003308/0.4351, allocations: 51.28 kB / 0.5428 GB, free: 3.469 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.0002432/0.4354, allocations: 109.6 kB / 0.5429 GB, free: 3.375 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001172/0.4365, allocations: 224.3 kB / 0.5431 GB, free: 3.293 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.4366, allocations: 0 / 0.5431 GB, free: 3.293 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006278/0.4372, allocations: 134.2 kB / 0.5432 GB, free: 3.234 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004018/0.4376, allocations: 46.22 kB / 0.5433 GB, free: 3.207 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008716/0.4385, allocations: 339.7 kB / 0.5436 GB, free: 2.973 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004754/0.439, allocations: 0.7363 MB / 0.5443 GB, free: 2.25 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001315/0.4391, allocations: 44.11 kB / 0.5444 GB, free: 2.227 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.489e-05/0.4392, allocations: 19.48 kB / 0.5444 GB, free: 2.215 MB / 398.1 MB Notification: Performance of SimCode: time 2.01e-07/0.4392, allocations: 0 / 0.5444 GB, free: 2.215 MB / 398.1 MB Notification: Performance of Templates: time 0.006992/0.4462, allocations: 3.078 MB / 0.5474 GB, free: 444 kB / 398.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/jenkins/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/jenkins/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