Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.conf.json 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/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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|zeta_TOT.1.|zeta_TOT.2.|zeta_TOT.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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|zeta_TOT.1.|zeta_TOT.2.|zeta_TOT.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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001116/0.001117, allocations: 109.9 kB / 18.45 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001229/0.001229, allocations: 190 kB / 19.39 MB, free: 3.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.373/1.373, allocations: 222.9 MB / 243.1 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2296/0.2296, allocations: 44.19 MB / 337.4 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001336/0.001336, allocations: 55.91 kB / 471.2 MB, free: 13.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3385/0.3399, allocations: 60.83 MB / 0.5196 GB, free: 3.879 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW): time 0.003287/0.3432, allocations: 1.669 MB / 0.5212 GB, free: 2.73 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001467/0.3447, allocations: 0.7896 MB / 0.522 GB, free: 2.195 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001017/0.3448, allocations: 6.406 kB / 0.522 GB, free: 2.191 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002665/0.3451, allocations: 41.92 kB / 0.522 GB, free: 2.168 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002293/0.3454, allocations: 59.73 kB / 0.5221 GB, free: 2.133 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004459/0.3458, allocations: 93.36 kB / 0.5222 GB, free: 2.094 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002634/0.3461, allocations: 153.5 kB / 0.5223 GB, free: 2.027 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.428e-05/0.3462, allocations: 14.61 kB / 0.5224 GB, free: 2.02 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001788/0.3464, allocations: 68.56 kB / 0.5224 GB, free: 1.988 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001676/0.3465, allocations: 66.22 kB / 0.5225 GB, free: 1.965 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.592e-05/0.3466, allocations: 8.531 kB / 0.5225 GB, free: 1.961 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004104/0.347, allocations: 161.1 kB / 0.5226 GB, free: 1.918 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.314e-05/0.3471, allocations: 39.81 kB / 0.5227 GB, free: 1.902 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.839e-05/0.3472, allocations: 63.42 kB / 0.5227 GB, free: 1.867 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004369/0.3476, allocations: 206.1 kB / 0.5229 GB, free: 1.793 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.3477, allocations: 1.844 kB / 0.5229 GB, free: 1.793 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3477, allocations: 0 / 0.5229 GB, free: 1.793 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.047e-06/0.3477, allocations: 0 / 0.5229 GB, free: 1.793 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0006013/0.3483, allocations: 461.7 kB / 0.5234 GB, free: 1.371 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.3483, allocations: 9.188 kB / 0.5234 GB, free: 1.371 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005484/0.3489, allocations: 72.97 kB / 0.5235 GB, free: 1.352 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001939/0.3491, allocations: 210.7 kB / 0.5237 GB, free: 1.137 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.628e-05/0.3491, allocations: 14.23 kB / 0.5237 GB, free: 1.129 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.853e-05/0.3491, allocations: 20.8 kB / 0.5237 GB, free: 1.117 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004572/0.3496, allocations: 234.6 kB / 0.5239 GB, free: 1.027 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.3496, allocations: 0 / 0.5239 GB, free: 1.027 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.253e-05/0.3497, allocations: 9.781 kB / 0.5239 GB, free: 1.02 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.971e-05/0.3497, allocations: 17.34 kB / 0.5239 GB, free: 1.02 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004692/0.3502, allocations: 231.9 kB / 0.5242 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001139/0.3513, allocations: 0.7258 MB / 0.5249 GB, free: 388 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002171/0.3516, allocations: 86.91 kB / 0.525 GB, free: 352 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001466/0.3517, allocations: 49.27 kB / 0.525 GB, free: 336 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.414e-05/0.3517, allocations: 6.719 kB / 0.525 GB, free: 332 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.841e-05/0.3518, allocations: 39.25 kB / 0.525 GB, free: 284 kB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.262e-06/0.3518, allocations: 0 / 0.525 GB, free: 284 kB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005217/0.3523, allocations: 164.5 kB / 0.5252 GB, free: 228 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.489e-05/0.3523, allocations: 51.41 kB / 0.5253 GB, free: 164 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001643/0.3525, allocations: 193.5 kB / 0.5254 GB, free: 28 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.674e-05/0.3525, allocations: 31.08 kB / 0.5255 GB, free: 15.99 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.716e-05/0.3526, allocations: 138.8 kB / 0.5256 GB, free: 15.87 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.86e-05/0.3527, allocations: 25.94 kB / 0.5256 GB, free: 15.85 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.016e-05/0.3527, allocations: 28.03 kB / 0.5256 GB, free: 15.83 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001177/0.3529, allocations: 326.8 kB / 0.526 GB, free: 15.51 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001475/0.353, allocations: 48.53 kB / 0.526 GB, free: 15.5 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001775/0.3532, allocations: 105.4 kB / 0.5261 GB, free: 15.42 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003266/0.3535, allocations: 154.1 kB / 0.5263 GB, free: 15.33 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.648e-06/0.3536, allocations: 1.281 kB / 0.5263 GB, free: 15.33 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004173/0.354, allocations: 189 kB / 0.5264 GB, free: 15.25 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/0.354, allocations: 10.75 kB / 0.5264 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.354, allocations: 1.375 kB / 0.5264 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/0.3541, allocations: 7.109 kB / 0.5265 GB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000902/0.355, allocations: 122.3 kB / 0.5266 GB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001348/0.3563, allocations: 1.822 MB / 0.5284 GB, free: 13.42 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001716/0.3565, allocations: 25.56 kB / 0.5284 GB, free: 13.41 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.037e-05/0.3565, allocations: 4.438 kB / 0.5284 GB, free: 13.41 MB / 398.1 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001597/0.3567, allocations: 141.9 kB / 0.5285 GB, free: 13.27 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.797e-05/0.3568, allocations: 17.62 kB / 0.5285 GB, free: 13.26 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004576/0.3572, allocations: 176.9 kB / 0.5287 GB, free: 13.14 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/0.3572, allocations: 5.516 kB / 0.5287 GB, free: 13.14 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.3572, allocations: 0 / 0.5287 GB, free: 13.14 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.967e-05/0.3573, allocations: 93.36 kB / 0.5288 GB, free: 13.04 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.777e-05/0.3573, allocations: 5.281 kB / 0.5288 GB, free: 13.03 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001416/0.3575, allocations: 12.64 kB / 0.5288 GB, free: 13.02 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.19e-05/0.3576, allocations: 12.02 kB / 0.5288 GB, free: 13.02 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008758/0.3584, allocations: 299.8 kB / 0.5291 GB, free: 12.81 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006034/0.3591, allocations: 379 kB / 0.5295 GB, free: 12.53 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000161/0.3592, allocations: 58.19 kB / 0.5295 GB, free: 12.5 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001216/0.3594, allocations: 138.3 kB / 0.5297 GB, free: 12.4 MB / 398.1 MB Notification: Performance of Backend: time 3.31e-07/0.3594, allocations: 4 kB / 0.5297 GB, free: 12.39 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001601/0.361, allocations: 299.2 kB / 0.5299 GB, free: 12.24 MB / 398.1 MB Notification: Performance of SimCode: time 0.0013/0.3623, allocations: 0.853 MB / 0.5308 GB, free: 11.49 MB / 398.1 MB Notification: Performance of Templates: time 0.009751/0.3721, allocations: 3.589 MB / 0.5343 GB, free: 9.707 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/General/dp_pressureLossCoefficient_DPMFLOW/dp_pressureLossCoefficient_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches