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.001516/0.001515, allocations: 180.9 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.035/2.035, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001064/0.001063, allocations: 82.64 kB / 267.5 MB, free: 14.05 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.272/0.272, allocations: 43.5 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.641e-05/3.657e-05, allocations: 4 kB / 425.3 MB, free: 23.34 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.1158, allocations: 58.84 MB / 484.2 MB, free: 12.45 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5203/0.6362, allocations: 89.35 MB / 0.5601 GB, free: 14.23 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003772/0.6367, allocations: 103 kB / 0.5602 GB, free: 14.17 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.03863/0.6753, allocations: 7.818 MB / 0.5678 GB, free: 7.535 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.814e-06/0.6754, allocations: 0 / 0.5678 GB, free: 7.535 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.582e-05/0.6754, allocations: 4 kB / 0.5678 GB, free: 7.531 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.0007531/0.6762, allocations: 436.8 kB / 0.5682 GB, free: 7.07 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.408e-05/0.6762, allocations: 8.031 kB / 0.5682 GB, free: 7.062 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001253/0.6775, allocations: 87 kB / 0.5683 GB, free: 6.984 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004039/0.6779, allocations: 233.9 kB / 0.5685 GB, free: 6.723 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.473e-05/0.678, allocations: 19.3 kB / 0.5685 GB, free: 6.711 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.482e-05/0.678, allocations: 11.69 kB / 0.5686 GB, free: 6.703 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007417/0.6788, allocations: 291.4 kB / 0.5688 GB, free: 6.473 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/0.6788, allocations: 0 / 0.5688 GB, free: 6.473 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.562e-05/0.6789, allocations: 7.688 kB / 0.5688 GB, free: 6.469 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.092e-05/0.6789, allocations: 19.92 kB / 0.5689 GB, free: 6.449 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007127/0.6797, allocations: 279.8 kB / 0.5691 GB, free: 6.25 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002613/0.6823, allocations: 0.8478 MB / 0.57 GB, free: 5.387 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006079/0.683, allocations: 199.8 kB / 0.5701 GB, free: 5.203 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002087/0.6832, allocations: 66.72 kB / 0.5702 GB, free: 5.145 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.126e-05/0.6833, allocations: 11.67 kB / 0.5702 GB, free: 5.137 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.949e-05/0.6833, allocations: 30.56 kB / 0.5703 GB, free: 5.098 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 2.985e-06/0.6833, allocations: 0 / 0.5703 GB, free: 5.098 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0006833/0.684, allocations: 184.9 kB / 0.5704 GB, free: 4.93 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.434e-05/0.6841, allocations: 51.41 kB / 0.5705 GB, free: 4.867 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002512/0.6843, allocations: 168.9 kB / 0.5706 GB, free: 4.707 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.777e-05/0.6844, allocations: 29.7 kB / 0.5707 GB, free: 4.672 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001259/0.6845, allocations: 208.4 kB / 0.5709 GB, free: 4.48 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.484e-05/0.6846, allocations: 35.22 kB / 0.5709 GB, free: 4.449 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.322e-05/0.6846, allocations: 3.688 kB / 0.5709 GB, free: 4.449 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001329/0.6848, allocations: 318.8 kB / 0.5712 GB, free: 4.129 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002207/0.685, allocations: 68 kB / 0.5713 GB, free: 4.074 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002712/0.6853, allocations: 130.9 kB / 0.5714 GB, free: 3.938 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002472/0.6855, allocations: 73.41 kB / 0.5715 GB, free: 3.875 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.6856, allocations: 0 / 0.5715 GB, free: 3.875 MB / 378.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0007285/0.6863, allocations: 241.8 kB / 0.5717 GB, free: 3.66 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.337e-05/0.6863, allocations: 4 kB / 0.5717 GB, free: 3.656 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.19e-05/0.6864, allocations: 4 kB / 0.5717 GB, free: 3.652 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.139e-05/0.6864, allocations: 0 / 0.5717 GB, free: 3.652 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008917/0.6873, allocations: 87.16 kB / 0.5718 GB, free: 3.57 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001382/0.6887, allocations: 1.787 MB / 0.5735 GB, free: 1.727 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004888/0.6892, allocations: 35.61 kB / 0.5736 GB, free: 1.695 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.223e-05/0.6893, allocations: 11.98 kB / 0.5736 GB, free: 1.684 MB / 378.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 0.0001525/0.6895, allocations: 110.6 kB / 0.5737 GB, free: 1.574 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.11e-05/0.6895, allocations: 19.77 kB / 0.5737 GB, free: 1.555 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008502/0.6904, allocations: 237.1 kB / 0.5739 GB, free: 1.344 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.67e-06/0.6904, allocations: 0 / 0.5739 GB, free: 1.344 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.336e-06/0.6904, allocations: 4 kB / 0.5739 GB, free: 1.34 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.6905, allocations: 0 / 0.5739 GB, free: 1.34 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004553/0.6909, allocations: 250.8 kB / 0.5742 GB, free: 1.066 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.102e-06/0.6909, allocations: 4 kB / 0.5742 GB, free: 1.062 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007701/0.6917, allocations: 67.09 kB / 0.5742 GB, free: 1 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.089e-05/0.6917, allocations: 3.953 kB / 0.5742 GB, free: 0.9961 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.91e-05/0.6918, allocations: 15.17 kB / 0.5743 GB, free: 0.9844 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00122/0.693, allocations: 1.783 MB / 0.576 GB, free: 15.14 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.6931, allocations: 0 / 0.576 GB, free: 15.14 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006455/0.6937, allocations: 278.5 kB / 0.5763 GB, free: 14.88 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.445e-05/0.6938, allocations: 96.88 kB / 0.5764 GB, free: 14.77 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.532e-05/0.6939, allocations: 7.953 kB / 0.5764 GB, free: 14.76 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004307/0.6943, allocations: 7.984 kB / 0.5764 GB, free: 14.75 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.357e-05/0.6944, allocations: 19.47 kB / 0.5764 GB, free: 14.73 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.812e-05/0.6945, allocations: 12.05 kB / 0.5764 GB, free: 14.72 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001818/0.6947, allocations: 135.9 kB / 0.5765 GB, free: 14.61 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.6947, allocations: 0 / 0.5765 GB, free: 14.61 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005583/0.6953, allocations: 70.78 kB / 0.5766 GB, free: 14.54 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 () * 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.0003715/0.6956, allocations: 154 kB / 0.5767 GB, free: 14.39 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0009179/0.6966, allocations: 202.8 kB / 0.5769 GB, free: 14.21 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.6966, allocations: 0 / 0.5769 GB, free: 14.21 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005201/0.6971, allocations: 109.9 kB / 0.577 GB, free: 14.12 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002742/0.6974, allocations: 11.88 kB / 0.5771 GB, free: 14.11 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007189/0.6982, allocations: 256.7 kB / 0.5773 GB, free: 13.86 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004296/0.6986, allocations: 0.7551 MB / 0.578 GB, free: 13.07 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002173/0.6989, allocations: 35.14 kB / 0.5781 GB, free: 13.04 MB / 394.7 MB Notification: Performance of SimCode: time 1.403e-06/0.6989, allocations: 0 / 0.5781 GB, free: 13.04 MB / 394.7 MB Notification: Performance of Templates: time 0.01487/0.7137, allocations: 5 MB / 0.583 GB, free: 8.051 MB / 394.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