Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_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_cpp_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_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001468/0.001468, allocations: 198.3 kB / 16.1 MB, free: 5.707 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.241/1.241, allocations: 226.5 MB / 243.4 MB, free: 6.391 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008459/0.0008459, allocations: 99.48 kB / 295.5 MB, free: 6.652 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2926/0.2926, allocations: 44.82 MB / 392.3 MB, free: 35.66 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002548/0.0002548, allocations: 8 kB / 465.3 MB, free: 12.62 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2801/0.2804, allocations: 62.96 MB / 0.5159 GB, free: 37.14 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.001541/0.282, allocations: 1.491 MB / 0.5174 GB, free: 36.06 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001384/0.2834, allocations: 1.282 MB / 0.5186 GB, free: 35.18 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.552e-05/0.2834, allocations: 0 / 0.5186 GB, free: 35.18 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001469/0.2836, allocations: 31.2 kB / 0.5186 GB, free: 35.16 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001311/0.2837, allocations: 46.83 kB / 0.5187 GB, free: 35.13 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003615/0.2841, allocations: 204 kB / 0.5189 GB, free: 35.05 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 9.357e-05/0.2842, allocations: 101.5 kB / 0.519 GB, free: 35 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.636e-05/0.2842, allocations: 7.516 kB / 0.519 GB, free: 35 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001547/0.2844, allocations: 50.59 kB / 0.519 GB, free: 34.97 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.869e-05/0.2845, allocations: 47.56 kB / 0.5191 GB, free: 34.95 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.514e-05/0.2845, allocations: 2.969 kB / 0.5191 GB, free: 34.95 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005103/0.285, allocations: 486.8 kB / 0.5195 GB, free: 34.8 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.084e-05/0.2851, allocations: 21.19 kB / 0.5196 GB, free: 34.79 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.578e-05/0.2851, allocations: 68.31 kB / 0.5196 GB, free: 34.73 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002607/0.2854, allocations: 225.6 kB / 0.5198 GB, free: 34.67 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.2854, allocations: 4 kB / 0.5198 GB, free: 34.67 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.2854, allocations: 0 / 0.5198 GB, free: 34.67 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.048e-06/0.2854, allocations: 4 kB / 0.5198 GB, free: 34.66 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0004102/0.2858, allocations: 421.3 kB / 0.5203 GB, free: 34.26 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.251e-05/0.2859, allocations: 8.688 kB / 0.5203 GB, free: 34.26 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.621e-05/0.2859, allocations: 14.44 kB / 0.5203 GB, free: 34.25 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.462e-05/0.286, allocations: 182.1 kB / 0.5204 GB, free: 34.04 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.112e-05/0.286, allocations: 7.281 kB / 0.5205 GB, free: 34.04 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.928e-05/0.286, allocations: 17 kB / 0.5205 GB, free: 34.03 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002521/0.2863, allocations: 142.4 kB / 0.5206 GB, free: 33.96 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.2863, allocations: 0 / 0.5206 GB, free: 33.96 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.344e-05/0.2863, allocations: 6.844 kB / 0.5206 GB, free: 33.96 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.778e-06/0.2863, allocations: 2.812 kB / 0.5206 GB, free: 33.96 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002575/0.2866, allocations: 151.9 kB / 0.5208 GB, free: 33.92 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006724/0.2873, allocations: 0.512 MB / 0.5213 GB, free: 33.47 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000223/0.2875, allocations: 113 kB / 0.5214 GB, free: 33.41 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001164/0.2876, allocations: 56.53 kB / 0.5214 GB, free: 33.39 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.89e-05/0.2877, allocations: 13.97 kB / 0.5214 GB, free: 33.38 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.227e-05/0.2877, allocations: 30.56 kB / 0.5215 GB, free: 33.34 MB / 378.7 MB Notification: Performance of pre-optimization done (n=11): time 1.132e-06/0.2877, allocations: 0 / 0.5215 GB, free: 33.34 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004186/0.2881, allocations: 182.4 kB / 0.5216 GB, free: 33.27 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.349e-05/0.2882, allocations: 54.44 kB / 0.5217 GB, free: 33.21 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.664e-05/0.2882, allocations: 111 kB / 0.5218 GB, free: 33.11 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.186e-05/0.2883, allocations: 29.7 kB / 0.5218 GB, free: 33.07 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.781e-05/0.2883, allocations: 116.3 kB / 0.5219 GB, free: 32.96 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.512e-05/0.2883, allocations: 40.55 kB / 0.522 GB, free: 32.93 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.897e-06/0.2883, allocations: 4 kB / 0.522 GB, free: 32.93 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.327e-05/0.2884, allocations: 328.8 kB / 0.5223 GB, free: 32.6 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001026/0.2885, allocations: 40.14 kB / 0.5223 GB, free: 32.59 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001154/0.2886, allocations: 87.73 kB / 0.5224 GB, free: 32.53 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002204/0.2888, allocations: 146.5 kB / 0.5226 GB, free: 32.44 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.2889, allocations: 0 / 0.5226 GB, free: 32.44 MB / 378.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003422/0.2892, allocations: 171.3 kB / 0.5227 GB, free: 32.37 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.2892, allocations: 5.562 kB / 0.5227 GB, free: 32.37 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.2892, allocations: 0 / 0.5227 GB, free: 32.37 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.2893, allocations: 2.938 kB / 0.5227 GB, free: 32.37 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002009/0.2895, allocations: 46.88 kB / 0.5228 GB, free: 32.36 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002018/0.2897, allocations: 0.5955 MB / 0.5234 GB, free: 31.77 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.668e-05/0.2898, allocations: 20.09 kB / 0.5234 GB, free: 31.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.295e-05/0.2898, allocations: 12.53 kB / 0.5234 GB, free: 31.75 MB / 378.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 () * Number of clocked 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 6.893e-05/0.2899, allocations: 119.8 kB / 0.5235 GB, free: 31.63 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.727e-05/0.2899, allocations: 6.719 kB / 0.5235 GB, free: 31.62 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000363/0.2903, allocations: 181.2 kB / 0.5237 GB, free: 31.54 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.125e-06/0.2903, allocations: 3.031 kB / 0.5237 GB, free: 31.54 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.2903, allocations: 7.938 kB / 0.5237 GB, free: 31.54 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.155e-06/0.2903, allocations: 0 / 0.5237 GB, free: 31.54 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001857/0.2905, allocations: 211.4 kB / 0.5239 GB, free: 31.32 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.2905, allocations: 0 / 0.5239 GB, free: 31.32 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001815/0.2907, allocations: 51 kB / 0.5239 GB, free: 31.31 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.776e-06/0.2907, allocations: 2.875 kB / 0.5239 GB, free: 31.31 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.091e-05/0.2907, allocations: 0 / 0.5239 GB, free: 31.31 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001585/0.2909, allocations: 0.5992 MB / 0.5245 GB, free: 30.71 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2909, allocations: 0 / 0.5245 GB, free: 30.71 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003831/0.2913, allocations: 305.5 kB / 0.5248 GB, free: 30.53 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.146e-05/0.2913, allocations: 94.7 kB / 0.5249 GB, free: 30.42 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.006e-05/0.2914, allocations: 6.25 kB / 0.5249 GB, free: 30.42 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/0.2915, allocations: 13 kB / 0.5249 GB, free: 30.41 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.402e-05/0.2915, allocations: 16.2 kB / 0.5249 GB, free: 30.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.848e-06/0.2915, allocations: 8.641 kB / 0.5249 GB, free: 30.41 MB / 378.7 MB Notification: Performance of sorting global known variables: time 2.771e-05/0.2916, allocations: 95.92 kB / 0.525 GB, free: 30.32 MB / 378.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2916, allocations: 0 / 0.525 GB, free: 30.32 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003258/0.2919, allocations: 75.78 kB / 0.5251 GB, free: 30.3 MB / 378.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 () * Number of clocked 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.0002528/0.2922, allocations: 172.2 kB / 0.5253 GB, free: 30.18 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003428/0.2925, allocations: 126.8 kB / 0.5254 GB, free: 30.16 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.2925, allocations: 12.19 kB / 0.5254 GB, free: 30.15 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001738/0.2927, allocations: 79.47 kB / 0.5255 GB, free: 30.13 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002594/0.293, allocations: 10.94 kB / 0.5255 GB, free: 30.12 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005497/0.2935, allocations: 399.4 kB / 0.5259 GB, free: 29.86 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001152/0.2937, allocations: 0.7086 MB / 0.5266 GB, free: 29.16 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.152e-05/0.2937, allocations: 16 kB / 0.5266 GB, free: 29.15 MB / 378.7 MB Notification: Performance of SimCode: time 3.01e-07/0.2937, allocations: 0 / 0.5266 GB, free: 29.15 MB / 378.7 MB Notification: Performance of Templates: time 0.003557/0.2973, allocations: 2.558 MB / 0.5291 GB, free: 28.91 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_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_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches