Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_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_cpp_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.001754/0.001755, allocations: 186.3 kB / 16.4 MB, free: 5.75 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.952/1.952, allocations: 205.4 MB / 222.5 MB, free: 9.129 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.001118/0.001118, allocations: 100.1 kB / 270.9 MB, free: 8.383 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.5492/0.5492, allocations: 43.55 MB / 362.7 MB, free: 51.92 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004566/0.0004566, allocations: 16 kB / 431.4 MB, free: 5.926 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.1258, allocations: 58.84 MB / 490.2 MB, free: 11 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5023/0.6282, allocations: 89.44 MB / 0.5661 GB, free: 13.11 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003693/0.6286, allocations: 99.92 kB / 0.5662 GB, free: 13.02 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.03882/0.6675, allocations: 7.823 MB / 0.5738 GB, free: 5.211 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.6675, allocations: 3.938 kB / 0.5738 GB, free: 5.207 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.053e-05/0.6675, allocations: 0 / 0.5738 GB, free: 5.207 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.0007758/0.6683, allocations: 450.5 kB / 0.5743 GB, free: 4.723 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.6684, allocations: 8.031 kB / 0.5743 GB, free: 4.715 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001213/0.6696, allocations: 95.11 kB / 0.5744 GB, free: 4.625 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00037/0.67, allocations: 230.7 kB / 0.5746 GB, free: 4.359 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.808e-05/0.67, allocations: 13.48 kB / 0.5746 GB, free: 4.348 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.71e-05/0.6701, allocations: 12 kB / 0.5746 GB, free: 4.336 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001131/0.6712, allocations: 314.1 kB / 0.5749 GB, free: 4.023 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.6713, allocations: 0 / 0.5749 GB, free: 4.023 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.898e-05/0.6713, allocations: 11.98 kB / 0.5749 GB, free: 4.012 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.493e-05/0.6714, allocations: 21.02 kB / 0.5749 GB, free: 3.992 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001502/0.6729, allocations: 328.5 kB / 0.5753 GB, free: 3.672 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002417/0.6753, allocations: 0.8482 MB / 0.5761 GB, free: 2.738 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001418/0.6768, allocations: 222.3 kB / 0.5763 GB, free: 2.512 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.55e-05/0.6768, allocations: 4.281 kB / 0.5763 GB, free: 2.508 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.003e-05/0.6769, allocations: 35.25 kB / 0.5763 GB, free: 2.465 MB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 3.106e-06/0.6769, allocations: 0 / 0.5763 GB, free: 2.465 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.001958/0.6788, allocations: 309.5 kB / 0.5766 GB, free: 2.156 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.704e-05/0.6789, allocations: 55.41 kB / 0.5767 GB, free: 2.09 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000249/0.6792, allocations: 168.8 kB / 0.5768 GB, free: 1.918 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.401e-05/0.6792, allocations: 25.7 kB / 0.5769 GB, free: 1.887 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000131/0.6794, allocations: 209.7 kB / 0.5771 GB, free: 1.68 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.072e-05/0.6794, allocations: 43.39 kB / 0.5771 GB, free: 1.637 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.799e-05/0.6795, allocations: 0 / 0.5771 GB, free: 1.637 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001507/0.6796, allocations: 322.8 kB / 0.5774 GB, free: 1.312 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005854/0.6802, allocations: 83.89 kB / 0.5775 GB, free: 1.23 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006432/0.6809, allocations: 145.9 kB / 0.5776 GB, free: 1.066 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006177/0.6815, allocations: 103.8 kB / 0.5777 GB, free: 0.9648 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.778e-06/0.6815, allocations: 0 / 0.5777 GB, free: 0.9648 MB / 394.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001454/0.683, allocations: 273.1 kB / 0.578 GB, free: 0.6914 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/0.683, allocations: 8.219 kB / 0.578 GB, free: 0.6836 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.6831, allocations: 4 kB / 0.578 GB, free: 0.6797 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.6831, allocations: 0 / 0.578 GB, free: 0.6797 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000819/0.6839, allocations: 79.84 kB / 0.5781 GB, free: 0.6016 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00128/0.6852, allocations: 1.797 MB / 0.5798 GB, free: 14.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004143/0.6856, allocations: 19.83 kB / 0.5799 GB, free: 14.71 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.388e-05/0.6857, allocations: 15.98 kB / 0.5799 GB, free: 14.7 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 () * 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.0002385/0.686, allocations: 153.9 kB / 0.58 GB, free: 14.54 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.496e-05/0.686, allocations: 15.84 kB / 0.58 GB, free: 14.52 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001514/0.6876, allocations: 282.7 kB / 0.5803 GB, free: 14.25 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.6876, allocations: 0 / 0.5803 GB, free: 14.25 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.6876, allocations: 0 / 0.5803 GB, free: 14.25 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-06/0.6876, allocations: 4 kB / 0.5803 GB, free: 14.24 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004485/0.6881, allocations: 253.5 kB / 0.5805 GB, free: 13.95 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.125e-06/0.6881, allocations: 0 / 0.5805 GB, free: 13.95 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007056/0.6888, allocations: 67.91 kB / 0.5806 GB, free: 13.88 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.485e-06/0.6888, allocations: 7.953 kB / 0.5806 GB, free: 13.87 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.684e-05/0.6889, allocations: 11.98 kB / 0.5806 GB, free: 13.86 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001143/0.69, allocations: 1.785 MB / 0.5824 GB, free: 12 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.6901, allocations: 0 / 0.5824 GB, free: 12 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001334/0.6914, allocations: 323.3 kB / 0.5827 GB, free: 11.67 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.796e-05/0.6915, allocations: 88.92 kB / 0.5828 GB, free: 11.57 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.531e-05/0.6916, allocations: 3.953 kB / 0.5828 GB, free: 11.56 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003871/0.692, allocations: 15.98 kB / 0.5828 GB, free: 11.55 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.027e-05/0.6921, allocations: 11.97 kB / 0.5828 GB, free: 11.54 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.649e-05/0.6921, allocations: 7.984 kB / 0.5828 GB, free: 11.53 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001747/0.6923, allocations: 140.9 kB / 0.5829 GB, free: 11.39 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.6923, allocations: 0 / 0.5829 GB, free: 11.39 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005574/0.6929, allocations: 75.84 kB / 0.583 GB, free: 11.32 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 () * 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.0003354/0.6932, allocations: 155.2 kB / 0.5832 GB, free: 11.15 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001535/0.6948, allocations: 235.7 kB / 0.5834 GB, free: 10.92 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.54e-06/0.6948, allocations: 0 / 0.5834 GB, free: 10.92 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008528/0.6956, allocations: 128.2 kB / 0.5835 GB, free: 10.8 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002403/0.6959, allocations: 12 kB / 0.5835 GB, free: 10.79 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001176/0.6971, allocations: 447.4 kB / 0.5839 GB, free: 10.33 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003562/0.6975, allocations: 0.7436 MB / 0.5847 GB, free: 9.559 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002006/0.6977, allocations: 39.39 kB / 0.5847 GB, free: 9.52 MB / 410.7 MB Notification: Performance of SimCode: time 7.81e-07/0.6977, allocations: 0 / 0.5847 GB, free: 9.52 MB / 410.7 MB Notification: Performance of Templates: time 0.01097/0.7087, allocations: 5.02 MB / 0.5896 GB, free: 4.516 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW_res.mat","/var/lib/jenkins1/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_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches