Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|V_flow.1.|V_flow.2.|V_flow.3.|a.1.|a.2.|a.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_volumeFlowRate_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|V_flow.1.|V_flow.2.|V_flow.3.|a.1.|a.2.|a.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_volumeFlowRate_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001039/0.001039, allocations: 198.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.248/1.248, allocations: 225.6 MB / 234.8 MB, free: 3.273 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001024/0.001024, allocations: 100.1 kB / 286.7 MB, free: 5.258 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1951/0.1951, allocations: 45.16 MB / 383.8 MB, free: 288 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.421e-05/1.414e-05, allocations: 4 kB / 453.2 MB, free: 75.8 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09115/0.09118, allocations: 63.25 MB / 0.5044 GB, free: 12.61 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3553/0.4465, allocations: 90.86 MB / 0.5931 GB, free: 11.71 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002351/0.4468, allocations: 102.6 kB / 0.5932 GB, free: 11.65 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Fluid/Dissipation.mo:5503:11-5506:61:writable] Error: Type mismatch in binding rho = rho, expected subtype of Real[3], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Fluid/Dissipation.mo:5514:11-5517:59:writable] Error: Type mismatch in binding rho = rho, expected subtype of Real[3], got type Real. Notification: Performance of FrontEnd - DAE generated: time 0.02148/0.4683, allocations: 7.927 MB / 0.601 GB, free: 5.062 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.4683, allocations: 0 / 0.601 GB, free: 5.062 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.333e-05/0.4684, allocations: 4 kB / 0.601 GB, free: 5.059 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0006212/0.469, allocations: 455.5 kB / 0.6014 GB, free: 4.582 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.343e-05/0.4691, allocations: 8.031 kB / 0.6014 GB, free: 4.574 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006329/0.4697, allocations: 86.98 kB / 0.6015 GB, free: 4.496 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002619/0.47, allocations: 217.9 kB / 0.6017 GB, free: 4.25 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.873e-05/0.47, allocations: 15.98 kB / 0.6017 GB, free: 4.234 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.345e-05/0.47, allocations: 8 kB / 0.6017 GB, free: 4.227 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004174/0.4705, allocations: 280.2 kB / 0.602 GB, free: 4.027 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003712/0.4708, allocations: 267.2 kB / 0.6022 GB, free: 3.809 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.4709, allocations: 0 / 0.6022 GB, free: 3.809 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.56e-05/0.4709, allocations: 0 / 0.6022 GB, free: 3.809 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.969e-05/0.4709, allocations: 15.98 kB / 0.6023 GB, free: 3.793 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001286/0.4722, allocations: 0.7783 MB / 0.603 GB, free: 3.004 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002871/0.4725, allocations: 199.1 kB / 0.6032 GB, free: 2.82 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001107/0.4726, allocations: 71.78 kB / 0.6033 GB, free: 2.758 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.407e-05/0.4727, allocations: 4 kB / 0.6033 GB, free: 2.754 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.981e-05/0.4727, allocations: 38.55 kB / 0.6033 GB, free: 2.707 MB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 1.473e-06/0.4727, allocations: 0 / 0.6033 GB, free: 2.707 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003801/0.4731, allocations: 170.6 kB / 0.6035 GB, free: 2.551 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.334e-05/0.4732, allocations: 51.41 kB / 0.6035 GB, free: 2.488 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001014/0.4733, allocations: 129.2 kB / 0.6036 GB, free: 2.367 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.378e-05/0.4733, allocations: 29.7 kB / 0.6037 GB, free: 2.332 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.488e-05/0.4734, allocations: 145.4 kB / 0.6038 GB, free: 2.191 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.598e-05/0.4734, allocations: 31.05 kB / 0.6038 GB, free: 2.164 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.491e-05/0.4734, allocations: 0 / 0.6038 GB, free: 2.164 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001244/0.4736, allocations: 324.8 kB / 0.6042 GB, free: 1.844 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.694e-05/0.4737, allocations: 59.88 kB / 0.6042 GB, free: 1.793 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001434/0.4738, allocations: 116.5 kB / 0.6043 GB, free: 1.668 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001145/0.4739, allocations: 81.8 kB / 0.6044 GB, free: 1.598 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.4739, allocations: 0 / 0.6044 GB, free: 1.598 MB / 394.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003296/0.4743, allocations: 226.9 kB / 0.6046 GB, free: 1.395 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.4743, allocations: 5.719 kB / 0.6046 GB, free: 1.391 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.4743, allocations: 4 kB / 0.6046 GB, free: 1.387 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.4743, allocations: 0 / 0.6046 GB, free: 1.387 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004305/0.4748, allocations: 79.84 kB / 0.6047 GB, free: 1.309 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000893/0.4757, allocations: 1.787 MB / 0.6064 GB, free: 15.46 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001961/0.4759, allocations: 24.05 kB / 0.6065 GB, free: 15.44 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.91e-05/0.4759, allocations: 15.17 kB / 0.6065 GB, free: 15.43 MB / 410.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 9.568e-05/0.476, allocations: 117 kB / 0.6066 GB, free: 15.31 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.804e-05/0.4761, allocations: 15.84 kB / 0.6066 GB, free: 15.29 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003841/0.4765, allocations: 220.1 kB / 0.6068 GB, free: 15.09 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.446e-06/0.4765, allocations: 8 kB / 0.6068 GB, free: 15.09 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.4765, allocations: 4 kB / 0.6068 GB, free: 15.08 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.4765, allocations: 0 / 0.6068 GB, free: 15.08 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002319/0.4767, allocations: 219.5 kB / 0.607 GB, free: 14.85 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.4767, allocations: 0 / 0.607 GB, free: 14.85 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003741/0.4771, allocations: 63.92 kB / 0.6071 GB, free: 14.79 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.4771, allocations: 0 / 0.6071 GB, free: 14.79 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.127e-05/0.4772, allocations: 10.98 kB / 0.6071 GB, free: 14.78 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008132/0.478, allocations: 1.789 MB / 0.6089 GB, free: 12.93 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.478, allocations: 0 / 0.6089 GB, free: 12.93 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003363/0.4783, allocations: 283.5 kB / 0.6091 GB, free: 12.66 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.275e-05/0.4784, allocations: 81.02 kB / 0.6092 GB, free: 12.56 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.167e-05/0.4784, allocations: 3.938 kB / 0.6092 GB, free: 12.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001968/0.4786, allocations: 15.94 kB / 0.6092 GB, free: 12.54 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.042e-05/0.4787, allocations: 15.41 kB / 0.6092 GB, free: 12.53 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.962e-05/0.4787, allocations: 7.984 kB / 0.6092 GB, free: 12.52 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.93e-05/0.4788, allocations: 102.3 kB / 0.6093 GB, free: 12.43 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4788, allocations: 0 / 0.6093 GB, free: 12.43 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003883/0.4792, allocations: 75.59 kB / 0.6094 GB, free: 12.36 MB / 410.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002703/0.4795, allocations: 148.2 kB / 0.6096 GB, free: 12.2 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004323/0.4799, allocations: 181.6 kB / 0.6097 GB, free: 12.05 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.4799, allocations: 8 kB / 0.6097 GB, free: 12.04 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002526/0.4802, allocations: 104.4 kB / 0.6098 GB, free: 11.95 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001883/0.4804, allocations: 6.438 kB / 0.6098 GB, free: 11.95 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004292/0.4808, allocations: 231.4 kB / 0.6101 GB, free: 11.7 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004091/0.4812, allocations: 0.7423 MB / 0.6108 GB, free: 10.94 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002194/0.4815, allocations: 64.92 kB / 0.6109 GB, free: 10.88 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.996e-05/0.4816, allocations: 27.39 kB / 0.6109 GB, free: 10.85 MB / 410.7 MB Notification: Performance of SimCode: time 2.41e-07/0.4816, allocations: 0 / 0.6109 GB, free: 10.85 MB / 410.7 MB Notification: Performance of Templates: time 0.005271/0.4868, allocations: 2.437 MB / 0.6133 GB, free: 8.453 MB / 410.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_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_volumeFlowRate_DPMFLOW/dp_volumeFlowRate_DPMFLOW.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches