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.001156/0.001156, allocations: 183.9 kB / 15.76 MB, free: 6.367 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.691/1.691, allocations: 205.4 MB / 221.9 MB, free: 13.85 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.0008955/0.0008955, allocations: 86.84 kB / 270.2 MB, free: 13.38 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2107/0.2107, allocations: 43.56 MB / 362.1 MB, free: 11.33 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003839/0.000384, allocations: 8 kB / 431.4 MB, free: 19.6 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1063/0.1067, allocations: 58.86 MB / 490.3 MB, free: 8.676 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3482/0.455, allocations: 89.44 MB / 0.5661 GB, free: 10.37 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002501/0.4553, allocations: 98.75 kB / 0.5662 GB, free: 10.31 MB / 378.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.0228/0.4781, allocations: 7.825 MB / 0.5739 GB, free: 3.66 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.488e-06/0.4781, allocations: 0 / 0.5739 GB, free: 3.66 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.335e-05/0.4782, allocations: 7.938 kB / 0.5739 GB, free: 3.652 MB / 378.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.0005863/0.4788, allocations: 441.2 kB / 0.5743 GB, free: 3.184 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.4788, allocations: 12.02 kB / 0.5743 GB, free: 3.172 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006877/0.4795, allocations: 94.52 kB / 0.5744 GB, free: 3.086 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002992/0.4798, allocations: 236.5 kB / 0.5746 GB, free: 2.824 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.665e-05/0.4798, allocations: 6.938 kB / 0.5746 GB, free: 2.82 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.676e-05/0.4799, allocations: 15.25 kB / 0.5746 GB, free: 2.809 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006339/0.4805, allocations: 317.1 kB / 0.5749 GB, free: 2.555 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.206e-06/0.4805, allocations: 0 / 0.5749 GB, free: 2.555 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.558e-05/0.4806, allocations: 3.312 kB / 0.5749 GB, free: 2.555 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.216e-05/0.4806, allocations: 19.92 kB / 0.575 GB, free: 2.535 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007242/0.4813, allocations: 327.7 kB / 0.5753 GB, free: 2.289 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001435/0.4828, allocations: 0.8524 MB / 0.5761 GB, free: 1.426 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006717/0.4835, allocations: 220.2 kB / 0.5763 GB, free: 1.223 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.737e-05/0.4835, allocations: 11.92 kB / 0.5763 GB, free: 1.211 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.232e-05/0.4835, allocations: 34.56 kB / 0.5764 GB, free: 1.168 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 1.293e-06/0.4835, allocations: 0 / 0.5764 GB, free: 1.168 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.001035/0.4846, allocations: 310.7 kB / 0.5767 GB, free: 0.8906 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.119e-05/0.4846, allocations: 51.41 kB / 0.5767 GB, free: 0.8281 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001783/0.4848, allocations: 173.4 kB / 0.5769 GB, free: 0.6641 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.985e-05/0.4849, allocations: 29.7 kB / 0.5769 GB, free: 0.6289 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.749e-05/0.485, allocations: 143.9 kB / 0.577 GB, free: 0.5 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.283e-05/0.485, allocations: 34.8 kB / 0.5771 GB, free: 480 kB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.566e-05/0.485, allocations: 3.25 kB / 0.5771 GB, free: 480 kB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.4852, allocations: 326.1 kB / 0.5774 GB, free: 148 kB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000298/0.4855, allocations: 87.91 kB / 0.5775 GB, free: 72 kB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003724/0.4859, allocations: 149.4 kB / 0.5776 GB, free: 15.92 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003137/0.4862, allocations: 93.11 kB / 0.5777 GB, free: 15.84 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.4862, allocations: 4 kB / 0.5777 GB, free: 15.84 MB / 394.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0007503/0.487, allocations: 279.9 kB / 0.578 GB, free: 15.59 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.487, allocations: 4 kB / 0.578 GB, free: 15.58 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.487, allocations: 8.219 kB / 0.578 GB, free: 15.57 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.487, allocations: 4 kB / 0.578 GB, free: 15.57 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004812/0.4875, allocations: 83.22 kB / 0.5781 GB, free: 15.49 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001028/0.4886, allocations: 1.785 MB / 0.5798 GB, free: 13.65 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002542/0.4888, allocations: 26.95 kB / 0.5798 GB, free: 13.63 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.758e-05/0.4889, allocations: 11.98 kB / 0.5798 GB, free: 13.62 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 () * Number of clocked 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 0.0001889/0.4891, allocations: 147.7 kB / 0.58 GB, free: 13.47 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.62e-05/0.4891, allocations: 15.86 kB / 0.58 GB, free: 13.46 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00083/0.49, allocations: 280.2 kB / 0.5803 GB, free: 13.21 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.49, allocations: 7.938 kB / 0.5803 GB, free: 13.2 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.49, allocations: 0 / 0.5803 GB, free: 13.2 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.49, allocations: 3.984 kB / 0.5803 GB, free: 13.2 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003143/0.4903, allocations: 259.2 kB / 0.5805 GB, free: 12.91 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.4903, allocations: 0 / 0.5805 GB, free: 12.91 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003932/0.4907, allocations: 66.97 kB / 0.5806 GB, free: 12.85 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.4907, allocations: 7.953 kB / 0.5806 GB, free: 12.84 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.109e-05/0.4908, allocations: 7.984 kB / 0.5806 GB, free: 12.84 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008546/0.4916, allocations: 1.785 MB / 0.5823 GB, free: 11 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.4917, allocations: 0 / 0.5823 GB, free: 11 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007281/0.4924, allocations: 324.2 kB / 0.5827 GB, free: 10.69 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.101e-05/0.4925, allocations: 92.91 kB / 0.5827 GB, free: 10.58 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.149e-05/0.4925, allocations: 7.516 kB / 0.5827 GB, free: 10.57 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002178/0.4927, allocations: 11.98 kB / 0.5828 GB, free: 10.56 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.57e-05/0.4928, allocations: 11.97 kB / 0.5828 GB, free: 10.55 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.616e-05/0.4928, allocations: 14.73 kB / 0.5828 GB, free: 10.54 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001214/0.493, allocations: 141.1 kB / 0.5829 GB, free: 10.42 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.493, allocations: 4.188 kB / 0.5829 GB, free: 10.41 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00043/0.4934, allocations: 67.27 kB / 0.583 GB, free: 10.35 MB / 394.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 () * Number of clocked 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.0003067/0.4937, allocations: 157.2 kB / 0.5831 GB, free: 10.19 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0009013/0.4946, allocations: 234.2 kB / 0.5834 GB, free: 9.984 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.4947, allocations: 0 / 0.5834 GB, free: 9.984 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004573/0.4951, allocations: 133.3 kB / 0.5835 GB, free: 9.867 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002081/0.4953, allocations: 11.56 kB / 0.5835 GB, free: 9.859 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000895/0.4963, allocations: 423.2 kB / 0.5839 GB, free: 9.441 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003474/0.4966, allocations: 0.7418 MB / 0.5846 GB, free: 8.676 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002553/0.4969, allocations: 69.34 kB / 0.5847 GB, free: 8.609 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.943e-05/0.497, allocations: 30.34 kB / 0.5847 GB, free: 8.582 MB / 394.7 MB Notification: Performance of SimCode: time 6.31e-07/0.497, allocations: 0 / 0.5847 GB, free: 8.582 MB / 394.7 MB Notification: Performance of Templates: time 0.006086/0.5031, allocations: 2.769 MB / 0.5874 GB, free: 5.832 MB / 394.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