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_nominalDensityViscosity_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.General.dp_nominalDensityViscosity_DPMFLOW,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eta.1.|eta.2.|eta.3.|rho.1.|rho.2.|rho.3.|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_nominalDensityViscosity_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eta.1.|eta.2.|eta.3.|rho.1.|rho.2.|rho.3.|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_nominalDensityViscosity_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001215/0.001215, allocations: 179.6 kB / 14.15 MB, free: 1.176 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.293/1.293, allocations: 221.4 MB / 236 MB, free: 2.953 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009903/0.0009903, allocations: 88.06 kB / 287 MB, free: 248 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1847/0.1847, allocations: 44.15 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.42e-05/2.422e-05, allocations: 224 / 451.9 MB, free: 9.406 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1285/0.1285, allocations: 61.92 MB / 0.5017 GB, free: 11.43 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3778/0.5064, allocations: 92.09 MB / 0.5917 GB, free: 13.2 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002582/0.5067, allocations: 91.94 kB / 0.5917 GB, free: 13.11 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0161/0.5228, allocations: 6.113 MB / 0.5977 GB, free: 6.918 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.5228, allocations: 0 / 0.5977 GB, free: 6.918 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.013e-05/0.5228, allocations: 4 kB / 0.5977 GB, free: 6.914 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.0004912/0.5233, allocations: 486.3 kB / 0.5982 GB, free: 6.391 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.5234, allocations: 12.02 kB / 0.5982 GB, free: 6.379 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001264/0.5247, allocations: 199.3 kB / 0.5984 GB, free: 6.184 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003717/0.525, allocations: 266.7 kB / 0.5986 GB, free: 5.883 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.293e-05/0.5251, allocations: 24.5 kB / 0.5987 GB, free: 5.859 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.166e-05/0.5252, allocations: 31.89 kB / 0.5987 GB, free: 5.828 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00065/0.5258, allocations: 444.6 kB / 0.5991 GB, free: 5.391 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.5258, allocations: 4 kB / 0.5991 GB, free: 5.387 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.841e-05/0.5259, allocations: 12 kB / 0.5991 GB, free: 5.375 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.312e-05/0.5259, allocations: 24.55 kB / 0.5992 GB, free: 5.352 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000712/0.5266, allocations: 0.5097 MB / 0.5997 GB, free: 4.844 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001953/0.5286, allocations: 1.174 MB / 0.6008 GB, free: 3.578 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002564/0.5289, allocations: 122.4 kB / 0.6009 GB, free: 3.449 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001137/0.529, allocations: 44.83 kB / 0.601 GB, free: 3.402 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.628e-05/0.529, allocations: 8.156 kB / 0.601 GB, free: 3.395 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.903e-05/0.529, allocations: 34.56 kB / 0.601 GB, free: 3.352 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.744e-06/0.5291, allocations: 0 / 0.601 GB, free: 3.352 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003886/0.5294, allocations: 145.4 kB / 0.6011 GB, free: 3.203 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.134e-05/0.5295, allocations: 55.41 kB / 0.6012 GB, free: 3.137 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002394/0.5297, allocations: 242.9 kB / 0.6014 GB, free: 2.887 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.45e-05/0.5298, allocations: 33.64 kB / 0.6015 GB, free: 2.848 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001053/0.5299, allocations: 171.4 kB / 0.6016 GB, free: 2.676 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.861e-05/0.5299, allocations: 27.66 kB / 0.6016 GB, free: 2.648 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.492e-05/0.5299, allocations: 0 / 0.6016 GB, free: 2.648 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001077/0.53, allocations: 334.8 kB / 0.602 GB, free: 2.312 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001229/0.5302, allocations: 51.97 kB / 0.602 GB, free: 2.262 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001367/0.5303, allocations: 80.28 kB / 0.6021 GB, free: 2.172 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000138/0.5305, allocations: 63.95 kB / 0.6022 GB, free: 2.109 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.5305, allocations: 3.938 kB / 0.6022 GB, free: 2.105 MB / 410.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000358/0.5308, allocations: 193.2 kB / 0.6023 GB, free: 1.91 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.5309, allocations: 8 kB / 0.6024 GB, free: 1.902 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.5309, allocations: 0 / 0.6024 GB, free: 1.902 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.5309, allocations: 7.984 kB / 0.6024 GB, free: 1.895 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004932/0.5358, allocations: 447.4 kB / 0.6028 GB, free: 1.457 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002534/0.5384, allocations: 1.914 MB / 0.6047 GB, free: 15.47 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004159/0.5388, allocations: 51.88 kB / 0.6047 GB, free: 15.42 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.602e-05/0.5389, allocations: 4 kB / 0.6047 GB, free: 15.42 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * 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: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 8.791e-05/0.539, allocations: 107 kB / 0.6048 GB, free: 15.31 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.034e-05/0.539, allocations: 23.77 kB / 0.6048 GB, free: 15.29 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.492e-05/0.5391, allocations: 25.83 kB / 0.6049 GB, free: 15.25 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.5391, allocations: 4 kB / 0.6049 GB, free: 15.25 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.5391, allocations: 0 / 0.6049 GB, free: 15.25 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.5391, allocations: 0 / 0.6049 GB, free: 15.25 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003524/0.5395, allocations: 293.3 kB / 0.6051 GB, free: 14.91 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.5395, allocations: 0 / 0.6051 GB, free: 14.91 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004792/0.5443, allocations: 454.1 kB / 0.6056 GB, free: 14.47 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-06/0.5443, allocations: 3.984 kB / 0.6056 GB, free: 14.47 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.37e-05/0.5443, allocations: 4 kB / 0.6056 GB, free: 14.46 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002459/0.5468, allocations: 1.902 MB / 0.6074 GB, free: 12.49 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.5468, allocations: 0 / 0.6074 GB, free: 12.49 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003854/0.5472, allocations: 259.4 kB / 0.6077 GB, free: 12.22 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.317e-05/0.5473, allocations: 92.88 kB / 0.6078 GB, free: 12.11 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.886e-05/0.5473, allocations: 3.984 kB / 0.6078 GB, free: 12.11 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003691/0.5477, allocations: 19.97 kB / 0.6078 GB, free: 12.09 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.394e-05/0.5478, allocations: 11.92 kB / 0.6078 GB, free: 12.08 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.045e-05/0.5478, allocations: 12 kB / 0.6078 GB, free: 12.07 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001774/0.548, allocations: 203.1 kB / 0.608 GB, free: 11.87 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.548, allocations: 0 / 0.608 GB, free: 11.87 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003388/0.5483, allocations: 71.84 kB / 0.6081 GB, free: 11.8 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * 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: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002163/0.5485, allocations: 131.2 kB / 0.6082 GB, free: 11.66 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00456/0.5531, allocations: 475.3 kB / 0.6087 GB, free: 11.2 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.5531, allocations: 0 / 0.6087 GB, free: 11.2 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004188/0.5573, allocations: 391.5 kB / 0.609 GB, free: 10.82 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000372/0.5577, allocations: 44.48 kB / 0.6091 GB, free: 10.77 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006083/0.5583, allocations: 292.7 kB / 0.6094 GB, free: 10.46 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003423/0.5587, allocations: 0.7792 MB / 0.6101 GB, free: 9.66 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001766/0.5589, allocations: 50.23 kB / 0.6102 GB, free: 9.613 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.602e-05/0.5589, allocations: 19.42 kB / 0.6102 GB, free: 9.594 MB / 426.7 MB Notification: Performance of SimCode: time 8.62e-07/0.559, allocations: 3.938 kB / 0.6102 GB, free: 9.59 MB / 426.7 MB Notification: Performance of Templates: time 0.009166/0.5681, allocations: 5.558 MB / 0.6156 GB, free: 4.102 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/General/dp_nominalDensityViscosity_DPMFLOW/dp_nominalDensityViscosity_DPMFLOW.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches