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.0009802/0.0009803, allocations: 202.2 kB / 15.8 MB, free: 6.332 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.267/1.267, allocations: 226.6 MB / 243.1 MB, free: 14.31 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007597/0.0007598, allocations: 104.6 kB / 295.1 MB, free: 10.08 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1906/0.1906, allocations: 44.83 MB / 392 MB, free: 9.355 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002189/0.0002189, allocations: 4 kB / 464.8 MB, free: 49.77 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08774/0.08797, allocations: 62.96 MB / 0.5153 GB, free: 2.773 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.0018/0.0898, allocations: 1.494 MB / 0.5168 GB, free: 1.262 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.1749/0.2647, allocations: 1.267 MB / 0.518 GB, free: 9.848 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001021/0.2649, allocations: 0 / 0.518 GB, free: 9.848 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001808/0.265, allocations: 30.25 kB / 0.5181 GB, free: 9.848 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001683/0.2652, allocations: 51.73 kB / 0.5181 GB, free: 9.848 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005833/0.2658, allocations: 201.6 kB / 0.5183 GB, free: 9.848 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001184/0.2659, allocations: 95.23 kB / 0.5184 GB, free: 9.84 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.267e-05/0.266, allocations: 8.062 kB / 0.5184 GB, free: 9.84 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001629/0.2662, allocations: 53.73 kB / 0.5185 GB, free: 9.824 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.205e-05/0.2663, allocations: 48.28 kB / 0.5185 GB, free: 9.812 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.435e-05/0.2663, allocations: 3.656 kB / 0.5185 GB, free: 9.812 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007029/0.267, allocations: 487.1 kB / 0.519 GB, free: 9.785 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.991e-05/0.267, allocations: 16.64 kB / 0.519 GB, free: 9.781 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.577e-05/0.2671, allocations: 40.3 kB / 0.519 GB, free: 9.746 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003179/0.2674, allocations: 225 kB / 0.5192 GB, free: 9.723 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.2674, allocations: 5.062 kB / 0.5192 GB, free: 9.719 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.2674, allocations: 0 / 0.5192 GB, free: 9.719 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.838e-06/0.2674, allocations: 0 / 0.5192 GB, free: 9.719 MB / 346.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.0004314/0.2678, allocations: 432.4 kB / 0.5197 GB, free: 9.312 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.27e-05/0.2679, allocations: 8.969 kB / 0.5197 GB, free: 9.312 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.59e-05/0.2679, allocations: 14.03 kB / 0.5197 GB, free: 9.305 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.485e-05/0.268, allocations: 172.3 kB / 0.5198 GB, free: 9.102 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.922e-05/0.268, allocations: 12.06 kB / 0.5199 GB, free: 9.098 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.342e-05/0.2681, allocations: 12.94 kB / 0.5199 GB, free: 9.098 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002957/0.2684, allocations: 148 kB / 0.52 GB, free: 9.062 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.747e-06/0.2684, allocations: 0 / 0.52 GB, free: 9.062 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.357e-05/0.2684, allocations: 6.344 kB / 0.52 GB, free: 9.062 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.2684, allocations: 3 kB / 0.52 GB, free: 9.062 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003028/0.2687, allocations: 150.6 kB / 0.5202 GB, free: 9.055 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006992/0.2694, allocations: 0.5132 MB / 0.5207 GB, free: 8.668 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002386/0.2697, allocations: 105.9 kB / 0.5208 GB, free: 8.641 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001298/0.2698, allocations: 60.05 kB / 0.5208 GB, free: 8.629 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.294e-05/0.2698, allocations: 3.938 kB / 0.5208 GB, free: 8.629 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.151e-05/0.2699, allocations: 35.91 kB / 0.5209 GB, free: 8.59 MB / 346.7 MB Notification: Performance of pre-optimization done (n=11): time 1.132e-06/0.2699, allocations: 0 / 0.5209 GB, free: 8.59 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004556/0.2703, allocations: 175.9 kB / 0.521 GB, free: 8.551 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.015e-05/0.2704, allocations: 53.12 kB / 0.5211 GB, free: 8.488 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.726e-05/0.2704, allocations: 120 kB / 0.5212 GB, free: 8.387 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.177e-05/0.2705, allocations: 27.67 kB / 0.5212 GB, free: 8.355 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.854e-05/0.2705, allocations: 118.5 kB / 0.5213 GB, free: 8.25 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.951e-05/0.2705, allocations: 44.73 kB / 0.5214 GB, free: 8.223 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.312e-06/0.2705, allocations: 0 / 0.5214 GB, free: 8.223 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 3.785e-05/0.2706, allocations: 319.7 kB / 0.5217 GB, free: 7.91 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001217/0.2707, allocations: 41.95 kB / 0.5217 GB, free: 7.91 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001303/0.2709, allocations: 89.52 kB / 0.5218 GB, free: 7.859 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001323/0.271, allocations: 56.41 kB / 0.5219 GB, free: 7.855 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.271, allocations: 5.75 kB / 0.5219 GB, free: 7.852 MB / 346.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003215/0.2713, allocations: 165 kB / 0.522 GB, free: 7.809 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.2714, allocations: 7.344 kB / 0.522 GB, free: 7.809 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.2714, allocations: 6.406 kB / 0.522 GB, free: 7.805 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.301e-05/0.2714, allocations: 7.078 kB / 0.522 GB, free: 7.801 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002136/0.2716, allocations: 51.44 kB / 0.5221 GB, free: 7.797 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002192/0.2718, allocations: 0.5819 MB / 0.5227 GB, free: 7.215 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001057/0.272, allocations: 27.94 kB / 0.5227 GB, free: 7.199 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.405e-05/0.272, allocations: 13.98 kB / 0.5227 GB, free: 7.195 MB / 346.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.256e-05/0.272, allocations: 114.2 kB / 0.5228 GB, free: 7.082 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.837e-05/0.2721, allocations: 8.031 kB / 0.5228 GB, free: 7.078 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003955/0.2725, allocations: 185.6 kB / 0.523 GB, free: 7.031 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.2725, allocations: 2.344 kB / 0.523 GB, free: 7.031 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.2725, allocations: 0.6094 kB / 0.523 GB, free: 7.031 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.2725, allocations: 0.7031 kB / 0.523 GB, free: 7.031 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001934/0.2727, allocations: 220.1 kB / 0.5232 GB, free: 6.836 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.2727, allocations: 7.938 kB / 0.5232 GB, free: 6.828 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001986/0.2729, allocations: 43.42 kB / 0.5233 GB, free: 6.828 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.2729, allocations: 1.062 kB / 0.5233 GB, free: 6.828 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.251e-05/0.2729, allocations: 6.344 kB / 0.5233 GB, free: 6.828 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001565/0.2731, allocations: 0.5921 MB / 0.5238 GB, free: 6.234 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.2731, allocations: 0 / 0.5238 GB, free: 6.234 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000426/0.2735, allocations: 308.5 kB / 0.5241 GB, free: 6.094 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.929e-05/0.2736, allocations: 97.14 kB / 0.5242 GB, free: 5.988 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.925e-05/0.2736, allocations: 5.062 kB / 0.5242 GB, free: 5.988 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001121/0.2737, allocations: 12.03 kB / 0.5242 GB, free: 5.988 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.356e-05/0.2738, allocations: 13.31 kB / 0.5243 GB, free: 5.984 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.708e-06/0.2738, allocations: 4.484 kB / 0.5243 GB, free: 5.984 MB / 346.7 MB Notification: Performance of sorting global known variables: time 2.849e-05/0.2738, allocations: 92.22 kB / 0.5244 GB, free: 5.91 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2738, allocations: 0 / 0.5244 GB, free: 5.91 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003095/0.2742, allocations: 71.31 kB / 0.5244 GB, free: 5.895 MB / 346.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.0002559/0.2744, allocations: 178.1 kB / 0.5246 GB, free: 5.785 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003704/0.2748, allocations: 136.5 kB / 0.5247 GB, free: 5.773 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.2748, allocations: 4 kB / 0.5247 GB, free: 5.773 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001946/0.275, allocations: 79.5 kB / 0.5248 GB, free: 5.766 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002404/0.2753, allocations: 17.69 kB / 0.5248 GB, free: 5.762 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005702/0.2758, allocations: 396.4 kB / 0.5252 GB, free: 5.516 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001152/0.276, allocations: 0.7026 MB / 0.5259 GB, free: 4.82 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.462e-05/0.276, allocations: 20.66 kB / 0.5259 GB, free: 4.812 MB / 346.7 MB Notification: Performance of SimCode: time 2.31e-07/0.276, allocations: 288 / 0.5259 GB, free: 4.812 MB / 346.7 MB Notification: Performance of Templates: time 0.004289/0.2803, allocations: 2.549 MB / 0.5284 GB, free: 4.582 MB / 346.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