Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00132/0.00132, allocations: 199.6 kB / 8.536 MB, free: 1.844 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.28/1.28, allocations: 225.5 MB / 234.4 MB, free: 3.43 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008993/0.0008993, allocations: 90.89 kB / 286.3 MB, free: 5.25 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1804/0.1804, allocations: 45.15 MB / 383.3 MB, free: 0.5859 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 9.548e-06/9.748e-06, allocations: 0 / 452.6 MB, free: 76.21 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.106, allocations: 63.24 MB / 0.5038 GB, free: 13.03 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.386/0.4921, allocations: 90.79 MB / 0.5925 GB, free: 12.12 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002709/0.4924, allocations: 88.88 kB / 0.5925 GB, free: 12.07 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Fluid/Dissipation.mo:5503:11-5506: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 trunk/Fluid/Dissipation.mo:5514:11-5517:59:writable] Error: Type mismatch in binding rho = rho, expected subtype of Real[3], got type Real. Notification: Performance of FrontEnd: time 0.02251/0.5149, allocations: 7.588 MB / 0.6 GB, free: 5.797 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.366e-06/0.515, allocations: 0 / 0.6 GB, free: 5.797 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.0004995/0.5155, allocations: 455.1 kB / 0.6004 GB, free: 5.32 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.5155, allocations: 12.03 kB / 0.6004 GB, free: 5.309 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007077/0.5163, allocations: 98.58 kB / 0.6005 GB, free: 5.219 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002378/0.5165, allocations: 225.1 kB / 0.6007 GB, free: 4.965 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/0.5165, allocations: 4 kB / 0.6007 GB, free: 4.961 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.556e-05/0.5166, allocations: 8 kB / 0.6007 GB, free: 4.953 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000412/0.517, allocations: 291.5 kB / 0.601 GB, free: 4.742 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003673/0.5174, allocations: 280.6 kB / 0.6013 GB, free: 4.512 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.5174, allocations: 0 / 0.6013 GB, free: 4.512 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.62e-05/0.5174, allocations: 0 / 0.6013 GB, free: 4.512 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.684e-05/0.5175, allocations: 19.98 kB / 0.6013 GB, free: 4.492 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001398/0.5189, allocations: 0.7858 MB / 0.6021 GB, free: 3.695 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003139/0.5192, allocations: 215 kB / 0.6023 GB, free: 3.496 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001147/0.5193, allocations: 67.12 kB / 0.6023 GB, free: 3.438 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.012e-05/0.5193, allocations: 7.984 kB / 0.6023 GB, free: 3.43 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.064e-05/0.5194, allocations: 34.56 kB / 0.6024 GB, free: 3.387 MB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 1.303e-06/0.5194, allocations: 0 / 0.6024 GB, free: 3.387 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003884/0.5198, allocations: 187.3 kB / 0.6025 GB, free: 3.215 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.904e-05/0.5198, allocations: 51.41 kB / 0.6026 GB, free: 3.152 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.103e-05/0.5199, allocations: 129.5 kB / 0.6027 GB, free: 3.031 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.327e-05/0.5199, allocations: 25.7 kB / 0.6027 GB, free: 3 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.654e-05/0.52, allocations: 143.2 kB / 0.6029 GB, free: 2.859 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.174e-05/0.52, allocations: 29.5 kB / 0.6029 GB, free: 2.836 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.691e-05/0.5201, allocations: 4 kB / 0.6029 GB, free: 2.832 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001265/0.5202, allocations: 325.5 kB / 0.6032 GB, free: 2.508 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001048/0.5203, allocations: 69.88 kB / 0.6033 GB, free: 2.445 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001345/0.5205, allocations: 120.8 kB / 0.6034 GB, free: 2.316 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001218/0.5206, allocations: 86.17 kB / 0.6035 GB, free: 2.242 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.5206, allocations: 0 / 0.6035 GB, free: 2.242 MB / 394.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003653/0.521, allocations: 227.7 kB / 0.6037 GB, free: 2.035 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.521, allocations: 4 kB / 0.6037 GB, free: 2.031 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.521, allocations: 4 kB / 0.6037 GB, free: 2.027 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.521, allocations: 4 kB / 0.6037 GB, free: 2.023 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004974/0.5215, allocations: 82.97 kB / 0.6038 GB, free: 1.945 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008658/0.5224, allocations: 1.801 MB / 0.6055 GB, free: 92 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002291/0.5226, allocations: 28.14 kB / 0.6056 GB, free: 64 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.972e-05/0.5227, allocations: 11.98 kB / 0.6056 GB, free: 52 kB / 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 (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.0001182/0.5228, allocations: 116 kB / 0.6057 GB, free: 15.93 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.224e-05/0.5229, allocations: 7.906 kB / 0.6057 GB, free: 15.93 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004818/0.5233, allocations: 244.9 kB / 0.6059 GB, free: 15.7 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-06/0.5234, allocations: 0 / 0.6059 GB, free: 15.7 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.5234, allocations: 8 kB / 0.6059 GB, free: 15.69 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.5234, allocations: 3.984 kB / 0.6059 GB, free: 15.69 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002548/0.5236, allocations: 223.2 kB / 0.6062 GB, free: 15.45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.5236, allocations: 3.938 kB / 0.6062 GB, free: 15.45 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004026/0.5241, allocations: 67.41 kB / 0.6062 GB, free: 15.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.989e-06/0.5241, allocations: 4 kB / 0.6062 GB, free: 15.38 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.266e-05/0.5241, allocations: 3.984 kB / 0.6062 GB, free: 15.38 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008074/0.5249, allocations: 1.804 MB / 0.608 GB, free: 13.52 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.5249, allocations: 0 / 0.608 GB, free: 13.52 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003275/0.5253, allocations: 286.8 kB / 0.6083 GB, free: 13.24 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.124e-05/0.5253, allocations: 85.02 kB / 0.6084 GB, free: 13.14 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.872e-05/0.5254, allocations: 3.984 kB / 0.6084 GB, free: 13.13 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002324/0.5256, allocations: 20.08 kB / 0.6084 GB, free: 13.11 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.764e-05/0.5256, allocations: 11.97 kB / 0.6084 GB, free: 13.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.401e-05/0.5257, allocations: 11.61 kB / 0.6084 GB, free: 13.09 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.878e-05/0.5257, allocations: 97.89 kB / 0.6085 GB, free: 13 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003761/0.5261, allocations: 79.61 kB / 0.6086 GB, free: 12.93 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 (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.0002428/0.5264, allocations: 155.5 kB / 0.6087 GB, free: 12.77 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004942/0.5269, allocations: 208.9 kB / 0.6089 GB, free: 12.58 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.5269, allocations: 0 / 0.6089 GB, free: 12.58 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003518/0.5272, allocations: 118.6 kB / 0.609 GB, free: 12.48 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001728/0.5274, allocations: 8.891 kB / 0.609 GB, free: 12.47 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005232/0.528, allocations: 250.7 kB / 0.6093 GB, free: 12.21 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004197/0.5284, allocations: 0.788 MB / 0.61 GB, free: 11.4 MB / 410.7 MB Notification: Performance of SimCode: time 2.71e-07/0.5284, allocations: 0 / 0.61 GB, free: 11.4 MB / 410.7 MB Notification: Performance of Templates: time 0.005626/0.534, allocations: 3.225 MB / 0.6132 GB, free: 8.215 MB / 410.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/General/dp_volumeFlowRate_DPMFLOW/dp_volumeFlowRate_DPMFLOW.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches