Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|zeta_TOT.1.|zeta_TOT.2.|zeta_TOT.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_pressureLossCoefficient_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|zeta_TOT.1.|zeta_TOT.2.|zeta_TOT.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_pressureLossCoefficient_DPMFLOW") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002687/0.002687, allocations: 181.8 kB / 8.151 MB, free: 2.125 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.644/1.644, allocations: 205.2 MB / 213.8 MB, free: 13.98 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001236/0.001236, allocations: 85.48 kB / 261.8 MB, free: 13.64 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.307/0.307, allocations: 43.49 MB / 353.2 MB, free: 2.059 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 9.919e-06/1.02e-05, allocations: 0 / 417.7 MB, free: 40.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2777/0.2777, allocations: 58.83 MB / 476.6 MB, free: 5.094 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1582/0.436, allocations: 88.06 MB / 0.5514 GB, free: 11.03 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004915/0.4365, allocations: 95.44 kB / 0.5515 GB, free: 10.94 MB / 394.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Fluid/Dissipation.mo:5488:11-5489:129:writable] Error: Type mismatch in binding rho = rho, expected subtype of Real[3], got type Real. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Fluid/Dissipation.mo:5496:11-5497:123:writable] Error: Type mismatch in binding rho = rho, expected subtype of Real[3], got type Real. Notification: Performance of FrontEnd: time 0.03068/0.4672, allocations: 3.939 MB / 0.5553 GB, free: 7 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.881e-05/0.4673, allocations: 4 kB / 0.5553 GB, free: 6.996 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0008831/0.4682, allocations: 430 kB / 0.5557 GB, free: 6.531 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.317e-05/0.4683, allocations: 8.031 kB / 0.5557 GB, free: 6.523 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001813/0.4701, allocations: 99.69 kB / 0.5558 GB, free: 6.426 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004466/0.4706, allocations: 214.9 kB / 0.556 GB, free: 6.176 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.375e-05/0.4706, allocations: 7.906 kB / 0.5561 GB, free: 6.168 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.401e-05/0.4707, allocations: 8 kB / 0.5561 GB, free: 6.16 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008277/0.4715, allocations: 203.9 kB / 0.5563 GB, free: 5.961 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007251/0.4723, allocations: 201.3 kB / 0.5564 GB, free: 5.758 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.491e-05/0.4723, allocations: 0 / 0.5564 GB, free: 5.758 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.084e-05/0.4724, allocations: 0 / 0.5564 GB, free: 5.758 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.606e-05/0.4725, allocations: 19.98 kB / 0.5565 GB, free: 5.738 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002486/0.475, allocations: 0.6941 MB / 0.5571 GB, free: 4.965 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003117/0.4753, allocations: 78.53 kB / 0.5572 GB, free: 4.879 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001514/0.4755, allocations: 28.84 kB / 0.5572 GB, free: 4.848 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.879e-05/0.4755, allocations: 4 kB / 0.5573 GB, free: 4.844 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.874e-05/0.4755, allocations: 30.56 kB / 0.5573 GB, free: 4.805 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 4.869e-06/0.4756, allocations: 0 / 0.5573 GB, free: 4.805 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003934/0.476, allocations: 113.5 kB / 0.5574 GB, free: 4.688 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.008e-05/0.476, allocations: 59.41 kB / 0.5574 GB, free: 4.617 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001484/0.4762, allocations: 126.4 kB / 0.5576 GB, free: 4.488 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.668e-05/0.4762, allocations: 25.7 kB / 0.5576 GB, free: 4.457 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001181/0.4763, allocations: 210.1 kB / 0.5578 GB, free: 4.25 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.326e-05/0.4764, allocations: 23.66 kB / 0.5578 GB, free: 4.227 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.314e-05/0.4764, allocations: 0 / 0.5578 GB, free: 4.227 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001343/0.4765, allocations: 318.8 kB / 0.5581 GB, free: 3.906 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001162/0.4767, allocations: 39.92 kB / 0.5582 GB, free: 3.867 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001932/0.4769, allocations: 82.84 kB / 0.5582 GB, free: 3.762 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001491/0.477, allocations: 55.89 kB / 0.5583 GB, free: 3.707 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.4771, allocations: 4 kB / 0.5583 GB, free: 3.703 MB / 394.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003973/0.4775, allocations: 141.4 kB / 0.5584 GB, free: 3.559 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.4775, allocations: 4 kB / 0.5584 GB, free: 3.555 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.4775, allocations: 4 kB / 0.5584 GB, free: 3.551 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.4775, allocations: 4 kB / 0.5584 GB, free: 3.547 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001764/0.4793, allocations: 108.1 kB / 0.5585 GB, free: 3.441 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002344/0.4817, allocations: 1.848 MB / 0.5603 GB, free: 1.523 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002515/0.482, allocations: 12.06 kB / 0.5604 GB, free: 1.512 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.192e-05/0.482, allocations: 7.984 kB / 0.5604 GB, free: 1.504 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 (14): * Single equations (assignments): 11 * 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.452e-05/0.4821, allocations: 49.27 kB / 0.5604 GB, free: 1.449 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.587e-05/0.4822, allocations: 7.906 kB / 0.5604 GB, free: 1.441 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006003/0.4828, allocations: 150 kB / 0.5606 GB, free: 1.289 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.308e-06/0.4828, allocations: 3.984 kB / 0.5606 GB, free: 1.285 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.4828, allocations: 3.938 kB / 0.5606 GB, free: 1.281 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.4828, allocations: 4 kB / 0.5606 GB, free: 1.277 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003416/0.4832, allocations: 194.1 kB / 0.5608 GB, free: 1.051 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.4832, allocations: 0 / 0.5608 GB, free: 1.051 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001498/0.4847, allocations: 101 kB / 0.5609 GB, free: 0.9531 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.011e-06/0.4847, allocations: 0 / 0.5609 GB, free: 0.9531 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.396e-05/0.4848, allocations: 11.91 kB / 0.5609 GB, free: 0.9414 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001667/0.4864, allocations: 1.789 MB / 0.5626 GB, free: 15.08 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.4865, allocations: 0 / 0.5626 GB, free: 15.08 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003757/0.4869, allocations: 211.7 kB / 0.5628 GB, free: 14.86 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.164e-05/0.4869, allocations: 88.95 kB / 0.5629 GB, free: 14.75 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.697e-05/0.487, allocations: 3.938 kB / 0.5629 GB, free: 14.75 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002662/0.4873, allocations: 15.89 kB / 0.5629 GB, free: 14.73 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.925e-05/0.4873, allocations: 11.98 kB / 0.5629 GB, free: 14.72 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.929e-05/0.4874, allocations: 4 kB / 0.5629 GB, free: 14.72 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.831e-05/0.4875, allocations: 105.5 kB / 0.563 GB, free: 14.62 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000424/0.4879, allocations: 47.84 kB / 0.5631 GB, free: 14.57 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 (11): * Single equations (assignments): 8 * 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.0002559/0.4882, allocations: 127.2 kB / 0.5632 GB, free: 14.44 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002217/0.4904, allocations: 174.1 kB / 0.5634 GB, free: 14.27 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.4904, allocations: 0 / 0.5634 GB, free: 14.27 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00151/0.4919, allocations: 107.8 kB / 0.5635 GB, free: 14.16 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003155/0.4923, allocations: 26.77 kB / 0.5635 GB, free: 14.14 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007737/0.4931, allocations: 236.8 kB / 0.5637 GB, free: 13.88 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004865/0.4936, allocations: 0.7621 MB / 0.5645 GB, free: 13.09 MB / 410.7 MB Notification: Performance of SimCode: time 7.21e-07/0.4936, allocations: 0 / 0.5645 GB, free: 13.09 MB / 410.7 MB Notification: Performance of Templates: time 0.009207/0.5028, allocations: 4.177 MB / 0.5685 GB, free: 8.918 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_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_pressureLossCoefficient_DPMFLOW/dp_pressureLossCoefficient_DPMFLOW.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches