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.001003/0.001003, allocations: 176.7 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.466/1.466, allocations: 205.3 MB / 213.7 MB, free: 1.742 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009479/0.0009478, allocations: 90.67 kB / 261.8 MB, free: 1.684 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.1842/0.1842, allocations: 43.5 MB / 353.2 MB, free: 284 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.585e-05/1.596e-05, allocations: 4 kB / 418.3 MB, free: 28.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1165/0.1165, allocations: 58.85 MB / 477.1 MB, free: 1.625 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3729/0.4894, allocations: 88.69 MB / 0.5526 GB, free: 6.594 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002497/0.4897, allocations: 99.86 kB / 0.5527 GB, free: 6.539 MB / 362.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.01909/0.5088, allocations: 7.764 MB / 0.5602 GB, free: 244 kB / 362.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.5089, allocations: 0 / 0.5602 GB, free: 244 kB / 362.7 MB Notification: Performance of Transformations before backend: time 9.879e-06/0.5089, allocations: 4 kB / 0.5602 GB, free: 240 kB / 362.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.0004546/0.5094, allocations: 433.5 kB / 0.5607 GB, free: 15.78 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.5094, allocations: 15.97 kB / 0.5607 GB, free: 15.76 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006219/0.51, allocations: 91.23 kB / 0.5608 GB, free: 15.68 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000226/0.5103, allocations: 226.4 kB / 0.561 GB, free: 15.43 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/0.5103, allocations: 4 kB / 0.561 GB, free: 15.42 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.311e-05/0.5103, allocations: 16 kB / 0.561 GB, free: 15.41 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000375/0.5107, allocations: 272 kB / 0.5612 GB, free: 15.21 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003492/0.5111, allocations: 259.7 kB / 0.5615 GB, free: 15 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.5111, allocations: 0 / 0.5615 GB, free: 15 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.301e-05/0.5111, allocations: 7.938 kB / 0.5615 GB, free: 15 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.716e-05/0.5112, allocations: 15.98 kB / 0.5615 GB, free: 14.98 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001275/0.5124, allocations: 0.7914 MB / 0.5623 GB, free: 14.18 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002638/0.5127, allocations: 196.7 kB / 0.5625 GB, free: 14 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001001/0.5128, allocations: 68.09 kB / 0.5625 GB, free: 13.94 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.463e-05/0.5129, allocations: 0 / 0.5625 GB, free: 13.94 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.935e-05/0.5129, allocations: 34.56 kB / 0.5626 GB, free: 13.89 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 9.52e-07/0.5129, allocations: 0 / 0.5626 GB, free: 13.89 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003349/0.5132, allocations: 172.5 kB / 0.5627 GB, free: 13.74 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.631e-05/0.5133, allocations: 51.41 kB / 0.5628 GB, free: 13.68 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.755e-05/0.5134, allocations: 126.2 kB / 0.5629 GB, free: 13.55 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.272e-05/0.5134, allocations: 25.8 kB / 0.5629 GB, free: 13.52 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.582e-05/0.5135, allocations: 155.1 kB / 0.5631 GB, free: 13.38 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.255e-05/0.5135, allocations: 31.23 kB / 0.5631 GB, free: 13.35 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.392e-05/0.5135, allocations: 0 / 0.5631 GB, free: 13.35 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001038/0.5136, allocations: 318.8 kB / 0.5634 GB, free: 13.04 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001004/0.5137, allocations: 63.55 kB / 0.5635 GB, free: 12.98 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001202/0.5139, allocations: 121.8 kB / 0.5636 GB, free: 12.85 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001083/0.514, allocations: 71.3 kB / 0.5637 GB, free: 12.79 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.514, allocations: 4 kB / 0.5637 GB, free: 12.79 MB / 378.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003269/0.5143, allocations: 224.4 kB / 0.5639 GB, free: 12.59 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.5144, allocations: 11.44 kB / 0.5639 GB, free: 12.58 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.5144, allocations: 0 / 0.5639 GB, free: 12.58 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.5144, allocations: 4 kB / 0.5639 GB, free: 12.57 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004417/0.5148, allocations: 79.84 kB / 0.564 GB, free: 12.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008877/0.5157, allocations: 1.796 MB / 0.5657 GB, free: 10.64 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002004/0.516, allocations: 24.14 kB / 0.5657 GB, free: 10.62 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.496e-05/0.516, allocations: 11.98 kB / 0.5658 GB, free: 10.61 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 9.109e-05/0.5161, allocations: 108.9 kB / 0.5659 GB, free: 10.5 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.773e-05/0.5161, allocations: 11.86 kB / 0.5659 GB, free: 10.49 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003985/0.5165, allocations: 224.4 kB / 0.5661 GB, free: 10.29 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.067e-06/0.5166, allocations: 4 kB / 0.5661 GB, free: 10.28 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.5166, allocations: 0 / 0.5661 GB, free: 10.28 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.5166, allocations: 0 / 0.5661 GB, free: 10.28 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002357/0.5168, allocations: 217.6 kB / 0.5663 GB, free: 10.05 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.5168, allocations: 0 / 0.5663 GB, free: 10.05 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003586/0.5172, allocations: 71.78 kB / 0.5664 GB, free: 9.98 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.5172, allocations: 3.938 kB / 0.5664 GB, free: 9.977 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.988e-05/0.5172, allocations: 7.984 kB / 0.5664 GB, free: 9.969 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008242/0.5181, allocations: 1.789 MB / 0.5681 GB, free: 8.125 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.5181, allocations: 4.094 kB / 0.5681 GB, free: 8.121 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003023/0.5184, allocations: 266.3 kB / 0.5684 GB, free: 7.863 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.79e-05/0.5184, allocations: 92.94 kB / 0.5685 GB, free: 7.754 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.02e-05/0.5185, allocations: 0 / 0.5685 GB, free: 7.754 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000204/0.5187, allocations: 15.94 kB / 0.5685 GB, free: 7.738 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.158e-05/0.5187, allocations: 19.84 kB / 0.5685 GB, free: 7.723 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.994e-05/0.5188, allocations: 15.98 kB / 0.5685 GB, free: 7.707 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.445e-05/0.5188, allocations: 104.7 kB / 0.5686 GB, free: 7.613 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5188, allocations: 0 / 0.5686 GB, free: 7.613 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003815/0.5192, allocations: 71.77 kB / 0.5687 GB, free: 7.543 MB / 378.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.0002451/0.5195, allocations: 151.2 kB / 0.5688 GB, free: 7.391 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004125/0.5199, allocations: 186.8 kB / 0.569 GB, free: 7.227 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.5199, allocations: 0 / 0.569 GB, free: 7.227 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002447/0.5201, allocations: 99.33 kB / 0.5691 GB, free: 7.141 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001673/0.5203, allocations: 15.81 kB / 0.5691 GB, free: 7.129 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003877/0.5207, allocations: 220.8 kB / 0.5693 GB, free: 6.891 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002908/0.521, allocations: 0.7434 MB / 0.5701 GB, free: 6.125 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002139/0.5212, allocations: 60.75 kB / 0.5701 GB, free: 6.066 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.29e-05/0.5213, allocations: 23.41 kB / 0.5701 GB, free: 6.043 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.5213, allocations: 0 / 0.5701 GB, free: 6.043 MB / 378.7 MB Notification: Performance of Templates: time 0.005461/0.5268, allocations: 2.438 MB / 0.5725 GB, free: 3.625 MB / 378.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