Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_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.Orifice.dp_suddenChange_DPMFLOW,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|frac_A1toA2|frac_A1toA2|A_1|A_2|C_1|C_2|eta|rho|input_mdot|input_dp|M_FLOW|DP|d_hyd|velocity|Re|DP_plot|zeta_TOT|input_DP.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|frac_A1toA2|frac_A1toA2|A_1|A_2|C_1|C_2|eta|rho|input_mdot|input_dp|M_FLOW|DP|d_hyd|velocity|Re|DP_plot|zeta_TOT|input_DP.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_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.001566/0.001566, allocations: 193.8 kB / 8.538 MB, free: 1.828 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.246/1.246, allocations: 225.5 MB / 234.4 MB, free: 3.402 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001183/0.001183, allocations: 94.22 kB / 286.3 MB, free: 5.258 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1855/0.1855, allocations: 45.14 MB / 383.3 MB, free: 0.5469 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 7.705e-06/7.865e-06, allocations: 0 / 452.6 MB, free: 76.18 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/0.1161, allocations: 63.24 MB / 0.5038 GB, free: 13 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3947/0.5109, allocations: 94.38 MB / 0.596 GB, free: 8.523 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002892/0.5112, allocations: 91.69 kB / 0.596 GB, free: 8.473 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.02347/0.5347, allocations: 7.603 MB / 0.6035 GB, free: 2.02 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.746e-06/0.5348, allocations: 0 / 0.6035 GB, free: 2.02 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0006122/0.5354, allocations: 448.1 kB / 0.6039 GB, free: 1.547 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.629e-05/0.5354, allocations: 8.031 kB / 0.6039 GB, free: 1.539 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.423e-05/0.5355, allocations: 11.81 kB / 0.6039 GB, free: 1.527 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001455/0.5356, allocations: 174.9 kB / 0.6041 GB, free: 1.316 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.71e-05/0.5357, allocations: 4 kB / 0.6041 GB, free: 1.312 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.776e-05/0.5357, allocations: 8 kB / 0.6041 GB, free: 1.305 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001968/0.5359, allocations: 106.1 kB / 0.6042 GB, free: 1.238 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000173/0.5361, allocations: 109.8 kB / 0.6043 GB, free: 1.148 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.5361, allocations: 0 / 0.6043 GB, free: 1.148 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.588e-05/0.5361, allocations: 3.906 kB / 0.6043 GB, free: 1.145 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.762e-06/0.5361, allocations: 4 kB / 0.6043 GB, free: 1.141 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009468/0.5371, allocations: 0.4889 MB / 0.6048 GB, free: 0.6445 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001593/0.5373, allocations: 71.5 kB / 0.6049 GB, free: 0.582 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.833e-05/0.5373, allocations: 39.12 kB / 0.6049 GB, free: 0.5547 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.584e-05/0.5374, allocations: 7.938 kB / 0.6049 GB, free: 0.5469 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.075e-05/0.5374, allocations: 30.56 kB / 0.6049 GB, free: 0.5078 MB / 394.7 MB Notification: Performance of pre-optimization done (n=11): time 1.523e-06/0.5374, allocations: 4 kB / 0.6049 GB, free: 0.5039 MB / 394.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002632/0.5377, allocations: 97.2 kB / 0.605 GB, free: 428 kB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.015e-05/0.5377, allocations: 51.41 kB / 0.6051 GB, free: 364 kB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.551e-05/0.5378, allocations: 112.7 kB / 0.6052 GB, free: 244 kB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.484e-05/0.5379, allocations: 25.7 kB / 0.6052 GB, free: 212 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.969e-05/0.5379, allocations: 111.6 kB / 0.6053 GB, free: 100 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.755e-05/0.5379, allocations: 38.33 kB / 0.6054 GB, free: 68 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.093e-06/0.538, allocations: 0 / 0.6054 GB, free: 68 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001376/0.5381, allocations: 318 kB / 0.6057 GB, free: 15.75 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.276e-05/0.5381, allocations: 26.05 kB / 0.6057 GB, free: 15.73 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.943e-05/0.5382, allocations: 62.22 kB / 0.6057 GB, free: 15.66 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.631e-05/0.5383, allocations: 30.3 kB / 0.6058 GB, free: 15.64 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.5383, allocations: 4 kB / 0.6058 GB, free: 15.64 MB / 410.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001971/0.5385, allocations: 123.1 kB / 0.6059 GB, free: 15.53 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.5385, allocations: 7.281 kB / 0.6059 GB, free: 15.52 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.5385, allocations: 0 / 0.6059 GB, free: 15.52 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.858e-05/0.5386, allocations: 7.984 kB / 0.6059 GB, free: 15.52 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002422/0.5388, allocations: 48.06 kB / 0.6059 GB, free: 15.47 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004317/0.5392, allocations: 0.6013 MB / 0.6065 GB, free: 14.85 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001189/0.5394, allocations: 19.83 kB / 0.6066 GB, free: 14.83 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.911e-05/0.5394, allocations: 4 kB / 0.6066 GB, free: 14.83 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001056/0.5395, allocations: 113 kB / 0.6067 GB, free: 14.71 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.522e-05/0.5396, allocations: 11.91 kB / 0.6067 GB, free: 14.7 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000333/0.5399, allocations: 145.5 kB / 0.6068 GB, free: 14.58 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.5399, allocations: 3.906 kB / 0.6068 GB, free: 14.57 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.972e-06/0.5399, allocations: 4 kB / 0.6068 GB, free: 14.57 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.5399, allocations: 0 / 0.6068 GB, free: 14.57 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002202/0.5402, allocations: 180.1 kB / 0.607 GB, free: 14.37 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.5402, allocations: 3.938 kB / 0.607 GB, free: 14.37 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002168/0.5404, allocations: 51.89 kB / 0.6071 GB, free: 14.32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.5404, allocations: 4 kB / 0.6071 GB, free: 14.31 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.334e-05/0.5404, allocations: 0 / 0.6071 GB, free: 14.31 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003524/0.5408, allocations: 0.5889 MB / 0.6076 GB, free: 13.71 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.423e-06/0.5408, allocations: 8.109 kB / 0.6076 GB, free: 13.7 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002612/0.5411, allocations: 249.8 kB / 0.6079 GB, free: 13.47 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.681e-05/0.5411, allocations: 95.98 kB / 0.608 GB, free: 13.36 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.529e-05/0.5412, allocations: 0 / 0.608 GB, free: 13.36 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001352/0.5413, allocations: 11.98 kB / 0.608 GB, free: 13.35 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.993e-05/0.5414, allocations: 8.047 kB / 0.608 GB, free: 13.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.257e-05/0.5414, allocations: 14.97 kB / 0.608 GB, free: 13.33 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.079e-05/0.5414, allocations: 86.53 kB / 0.6081 GB, free: 13.25 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004518/0.5419, allocations: 91.17 kB / 0.6082 GB, free: 13.16 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (frac_A1toA2) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000387/0.5423, allocations: 214 kB / 0.6084 GB, free: 12.95 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002873/0.5426, allocations: 100.3 kB / 0.6085 GB, free: 12.87 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.5426, allocations: 0 / 0.6085 GB, free: 12.87 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001445/0.5428, allocations: 54.23 kB / 0.6085 GB, free: 12.82 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002037/0.543, allocations: 3.5 kB / 0.6085 GB, free: 12.82 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005439/0.5435, allocations: 186 kB / 0.6087 GB, free: 12.62 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002873/0.5438, allocations: 0.727 MB / 0.6094 GB, free: 11.87 MB / 410.7 MB Notification: Performance of SimCode: time 2.3e-07/0.5438, allocations: 0 / 0.6094 GB, free: 11.87 MB / 410.7 MB Notification: Performance of Templates: time 0.005469/0.5493, allocations: 2.431 MB / 0.6118 GB, free: 9.484 MB / 410.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/Orifice/dp_suddenChange_DPMFLOW/dp_suddenChange_DPMFLOW.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches