Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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_3.2.3_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_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001007/0.001007, allocations: 183.4 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.381/1.381, allocations: 205.2 MB / 218.9 MB, free: 9.215 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007737/0.0007738, allocations: 82.56 kB / 267 MB, free: 9.277 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3145/0.3145, allocations: 43.46 MB / 358.6 MB, free: 52.38 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.452e-05/2.465e-05, allocations: 4 kB / 425.3 MB, free: 8.871 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1034/0.1034, allocations: 58.85 MB / 484.2 MB, free: 13.92 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3289/0.4324, allocations: 89.34 MB / 0.5601 GB, free: 15.67 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002704/0.4327, allocations: 99.52 kB / 0.5602 GB, free: 15.57 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Fluid/Dissipation.mo:5587:11-5590: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 3.2.3+maint.om/Fluid/Dissipation.mo:5598:11-5601: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.02313/0.4559, allocations: 7.826 MB / 0.5678 GB, free: 7.77 MB / 394.7 MB Notification: Performance of FrontEnd: time 4.248e-06/0.456, allocations: 4 kB / 0.5678 GB, free: 7.766 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.711e-05/0.456, allocations: 0 / 0.5678 GB, free: 7.766 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.0007054/0.4567, allocations: 449.5 kB / 0.5683 GB, free: 7.285 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/0.4568, allocations: 8.031 kB / 0.5683 GB, free: 7.277 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007116/0.4575, allocations: 91.11 kB / 0.5683 GB, free: 7.191 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003094/0.4578, allocations: 223.8 kB / 0.5686 GB, free: 6.934 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.452e-05/0.4578, allocations: 13.48 kB / 0.5686 GB, free: 6.922 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.98e-05/0.4579, allocations: 15.98 kB / 0.5686 GB, free: 6.906 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006046/0.4585, allocations: 294.1 kB / 0.5689 GB, free: 6.613 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.4586, allocations: 3.938 kB / 0.5689 GB, free: 6.609 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.668e-05/0.4586, allocations: 9.375 kB / 0.5689 GB, free: 6.602 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.457e-05/0.4586, allocations: 15.94 kB / 0.5689 GB, free: 6.586 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004445/0.4591, allocations: 287.7 kB / 0.5692 GB, free: 6.305 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001684/0.4608, allocations: 0.8441 MB / 0.57 GB, free: 5.371 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003655/0.4612, allocations: 194.4 kB / 0.5702 GB, free: 5.172 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001332/0.4613, allocations: 73.12 kB / 0.5702 GB, free: 5.098 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.707e-05/0.4614, allocations: 3.938 kB / 0.5703 GB, free: 5.094 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.787e-05/0.4614, allocations: 30.56 kB / 0.5703 GB, free: 5.055 MB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 1.803e-06/0.4614, allocations: 8 kB / 0.5703 GB, free: 5.047 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004873/0.4619, allocations: 177.4 kB / 0.5705 GB, free: 4.867 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.726e-05/0.462, allocations: 51.41 kB / 0.5705 GB, free: 4.805 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002001/0.4622, allocations: 170.4 kB / 0.5707 GB, free: 4.629 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.161e-05/0.4622, allocations: 29.7 kB / 0.5707 GB, free: 4.594 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.538e-05/0.4623, allocations: 139.5 kB / 0.5708 GB, free: 4.453 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.185e-05/0.4624, allocations: 31.55 kB / 0.5709 GB, free: 4.422 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.508e-05/0.4624, allocations: 4 kB / 0.5709 GB, free: 4.418 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001423/0.4626, allocations: 322.8 kB / 0.5712 GB, free: 4.094 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001221/0.4627, allocations: 67.94 kB / 0.5712 GB, free: 4.027 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001558/0.4629, allocations: 126.8 kB / 0.5714 GB, free: 3.879 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001351/0.463, allocations: 79.86 kB / 0.5714 GB, free: 3.801 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.463, allocations: 0 / 0.5714 GB, free: 3.801 MB / 394.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004125/0.4634, allocations: 245.1 kB / 0.5717 GB, free: 3.555 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/0.4635, allocations: 4 kB / 0.5717 GB, free: 3.551 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.218e-06/0.4635, allocations: 8.156 kB / 0.5717 GB, free: 3.543 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/0.4635, allocations: 8 kB / 0.5717 GB, free: 3.535 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004712/0.464, allocations: 83.84 kB / 0.5718 GB, free: 3.453 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001109/0.4651, allocations: 1.782 MB / 0.5735 GB, free: 1.602 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002391/0.4654, allocations: 31.77 kB / 0.5735 GB, free: 1.57 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.383e-05/0.4654, allocations: 11.98 kB / 0.5735 GB, free: 1.559 MB / 394.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.915e-05/0.4655, allocations: 108.9 kB / 0.5737 GB, free: 1.445 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.952e-05/0.4656, allocations: 27.75 kB / 0.5737 GB, free: 1.418 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004787/0.4661, allocations: 231 kB / 0.5739 GB, free: 1.188 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/0.4661, allocations: 4 kB / 0.5739 GB, free: 1.184 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/0.4661, allocations: 0 / 0.5739 GB, free: 1.184 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.4661, allocations: 0 / 0.5739 GB, free: 1.184 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003055/0.4664, allocations: 249.6 kB / 0.5741 GB, free: 0.8906 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.4664, allocations: 7.938 kB / 0.5741 GB, free: 0.8828 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003776/0.4668, allocations: 63.92 kB / 0.5742 GB, free: 0.8203 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.655e-06/0.4668, allocations: 3.953 kB / 0.5742 GB, free: 0.8164 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.742e-05/0.4668, allocations: 15.97 kB / 0.5742 GB, free: 0.8008 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000872/0.4677, allocations: 1.785 MB / 0.576 GB, free: 14.95 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.4677, allocations: 0 / 0.576 GB, free: 14.95 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003494/0.4681, allocations: 279.2 kB / 0.5762 GB, free: 14.66 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.248e-05/0.4682, allocations: 89.14 kB / 0.5763 GB, free: 14.55 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.381e-05/0.4682, allocations: 15.95 kB / 0.5763 GB, free: 14.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001956/0.4684, allocations: 7.984 kB / 0.5763 GB, free: 14.53 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.483e-05/0.4685, allocations: 15.97 kB / 0.5764 GB, free: 14.51 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.206e-05/0.4685, allocations: 11.98 kB / 0.5764 GB, free: 14.5 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001065/0.4686, allocations: 137.8 kB / 0.5765 GB, free: 14.37 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4686, allocations: 0 / 0.5765 GB, free: 14.37 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003796/0.469, allocations: 71.83 kB / 0.5766 GB, free: 14.3 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.0002946/0.4693, allocations: 155.8 kB / 0.5767 GB, free: 14.14 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005585/0.4699, allocations: 195.7 kB / 0.5769 GB, free: 13.95 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.4699, allocations: 3.938 kB / 0.5769 GB, free: 13.94 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003038/0.4702, allocations: 112.5 kB / 0.577 GB, free: 13.83 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001903/0.4704, allocations: 8.188 kB / 0.577 GB, free: 13.82 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000438/0.4709, allocations: 232 kB / 0.5772 GB, free: 13.59 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002675/0.4711, allocations: 0.7474 MB / 0.578 GB, free: 12.81 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002181/0.4714, allocations: 65.16 kB / 0.578 GB, free: 12.75 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.336e-05/0.4714, allocations: 31.41 kB / 0.5781 GB, free: 12.72 MB / 410.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4715, allocations: 4 kB / 0.5781 GB, free: 12.71 MB / 410.7 MB Notification: Performance of Templates: time 0.005537/0.477, allocations: 2.821 MB / 0.5808 GB, free: 9.926 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/General/dp_volumeFlowRate_DPMFLOW/dp_volumeFlowRate_DPMFLOW.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches