Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001435/0.001436, allocations: 185.1 kB / 17.06 MB, free: 5.074 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.323/1.323, allocations: 223.2 MB / 241 MB, free: 11.89 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000838/0.000838, allocations: 103.3 kB / 292.2 MB, free: 10.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.34/0.34, allocations: 44.21 MB / 387.5 MB, free: 38.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002942/0.0002942, allocations: 8 kB / 459.9 MB, free: 1.496 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.367/0.3673, allocations: 61.89 MB / 0.5096 GB, free: 38.13 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1307/0.498, allocations: 94.13 MB / 0.6015 GB, free: 1.012 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000304/0.4984, allocations: 107.7 kB / 0.6016 GB, free: 0.9141 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02281/0.5212, allocations: 7.855 MB / 0.6093 GB, free: 9.023 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.5213, allocations: 0 / 0.6093 GB, free: 9.023 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.807e-06/0.5213, allocations: 4 kB / 0.6093 GB, free: 9.02 MB / 426.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.0005973/0.5219, allocations: 448.2 kB / 0.6097 GB, free: 8.535 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.5219, allocations: 8.031 kB / 0.6097 GB, free: 8.527 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.557e-05/0.522, allocations: 11.81 kB / 0.6097 GB, free: 8.516 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001322/0.5221, allocations: 171 kB / 0.6099 GB, free: 8.309 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.389e-05/0.5222, allocations: 12 kB / 0.6099 GB, free: 8.297 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.55e-05/0.5222, allocations: 19.89 kB / 0.6099 GB, free: 8.277 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003094/0.5225, allocations: 139.9 kB / 0.61 GB, free: 8.137 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.5225, allocations: 0 / 0.61 GB, free: 8.137 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.979e-05/0.5226, allocations: 11.98 kB / 0.61 GB, free: 8.125 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/0.5226, allocations: 0 / 0.61 GB, free: 8.125 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002967/0.5229, allocations: 151.9 kB / 0.6102 GB, free: 7.977 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008678/0.5238, allocations: 0.526 MB / 0.6107 GB, free: 7.383 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002395/0.524, allocations: 102.6 kB / 0.6108 GB, free: 7.273 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.126e-05/0.5241, allocations: 7.953 kB / 0.6108 GB, free: 7.266 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.149e-05/0.5241, allocations: 34.56 kB / 0.6108 GB, free: 7.223 MB / 426.7 MB Notification: Performance of pre-optimization done (n=11): time 1.252e-06/0.5241, allocations: 0 / 0.6108 GB, free: 7.223 MB / 426.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005174/0.5246, allocations: 177.8 kB / 0.611 GB, free: 7.043 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.584e-05/0.5247, allocations: 55.56 kB / 0.6111 GB, free: 6.977 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.064e-05/0.5248, allocations: 113.1 kB / 0.6112 GB, free: 6.855 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.664e-05/0.5248, allocations: 25.7 kB / 0.6112 GB, free: 6.824 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.824e-05/0.5248, allocations: 111.7 kB / 0.6113 GB, free: 6.711 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.554e-05/0.5249, allocations: 47.44 kB / 0.6114 GB, free: 6.664 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.161e-06/0.5249, allocations: 0 / 0.6114 GB, free: 6.664 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.992e-05/0.525, allocations: 314.8 kB / 0.6117 GB, free: 6.348 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001163/0.5251, allocations: 47.97 kB / 0.6117 GB, free: 6.301 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001362/0.5253, allocations: 81.11 kB / 0.6118 GB, free: 6.203 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001274/0.5254, allocations: 60.02 kB / 0.6118 GB, free: 6.145 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.5254, allocations: 0 / 0.6118 GB, free: 6.145 MB / 426.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003176/0.5257, allocations: 165.4 kB / 0.612 GB, free: 5.977 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.5258, allocations: 14.45 kB / 0.612 GB, free: 5.965 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/0.5258, allocations: 4 kB / 0.612 GB, free: 5.961 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.5258, allocations: 3.938 kB / 0.612 GB, free: 5.957 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002188/0.526, allocations: 47.97 kB / 0.6121 GB, free: 5.91 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000322/0.5264, allocations: 0.5939 MB / 0.6126 GB, free: 5.293 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001105/0.5265, allocations: 19.86 kB / 0.6127 GB, free: 5.273 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.472e-05/0.5265, allocations: 8 kB / 0.6127 GB, free: 5.266 MB / 426.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 9.589e-05/0.5266, allocations: 126.3 kB / 0.6128 GB, free: 5.133 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.93e-05/0.5266, allocations: 8 kB / 0.6128 GB, free: 5.125 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004304/0.5271, allocations: 187.7 kB / 0.613 GB, free: 4.938 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.5271, allocations: 0 / 0.613 GB, free: 4.938 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.5271, allocations: 0 / 0.613 GB, free: 4.938 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.5271, allocations: 4 kB / 0.613 GB, free: 4.934 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002441/0.5274, allocations: 217.4 kB / 0.6132 GB, free: 4.672 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.5274, allocations: 4 kB / 0.6132 GB, free: 4.668 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001998/0.5276, allocations: 39.97 kB / 0.6132 GB, free: 4.629 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.5276, allocations: 0 / 0.6132 GB, free: 4.629 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.439e-05/0.5276, allocations: 8 kB / 0.6132 GB, free: 4.621 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002774/0.5279, allocations: 0.5899 MB / 0.6138 GB, free: 4.008 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.5279, allocations: 0 / 0.6138 GB, free: 4.008 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004642/0.5284, allocations: 313.7 kB / 0.6141 GB, free: 3.688 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.905e-05/0.5285, allocations: 89.03 kB / 0.6142 GB, free: 3.582 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.128e-05/0.5285, allocations: 4 kB / 0.6142 GB, free: 3.578 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001175/0.5286, allocations: 11.98 kB / 0.6142 GB, free: 3.566 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.931e-05/0.5287, allocations: 16.05 kB / 0.6142 GB, free: 3.551 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.04e-05/0.5287, allocations: 4 kB / 0.6142 GB, free: 3.547 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.972e-05/0.5288, allocations: 91.27 kB / 0.6143 GB, free: 3.457 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.483e-06/0.5288, allocations: 0 / 0.6143 GB, free: 3.457 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004492/0.5292, allocations: 95.64 kB / 0.6144 GB, free: 3.363 MB / 426.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.0003493/0.5296, allocations: 199.3 kB / 0.6146 GB, free: 3.16 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003825/0.53, allocations: 137.2 kB / 0.6147 GB, free: 3.027 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.53, allocations: 0 / 0.6147 GB, free: 3.027 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001845/0.5302, allocations: 75.89 kB / 0.6148 GB, free: 2.953 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000207/0.5304, allocations: 11.94 kB / 0.6148 GB, free: 2.941 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006334/0.531, allocations: 368.1 kB / 0.6152 GB, free: 2.551 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002374/0.5313, allocations: 0.7083 MB / 0.6159 GB, free: 1.816 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 8.625e-05/0.5314, allocations: 16.55 kB / 0.6159 GB, free: 1.797 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.779e-05/0.5314, allocations: 15.44 kB / 0.6159 GB, free: 1.785 MB / 426.7 MB Notification: Performance of SimCode: time 1.9e-07/0.5314, allocations: 0 / 0.6159 GB, free: 1.785 MB / 426.7 MB Notification: Performance of Templates: time 0.005206/0.5366, allocations: 2.29 MB / 0.6181 GB, free: 15.53 MB / 442.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches