Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00523/0.00523, allocations: 100.8 kB / 15.87 MB, free: 6.316 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.001224/0.001224, allocations: 195.8 kB / 16.79 MB, free: 6.242 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.39/1.39, allocations: 205.1 MB / 222.6 MB, free: 4.738 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3393/0.3393, allocations: 43.49 MB / 313.5 MB, free: 8.516 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001389/0.001389, allocations: 75.89 kB / 382.2 MB, free: 8.609 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1248/0.1262, allocations: 57.78 MB / 439.9 MB, free: 14.72 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW): time 0.003178/0.1295, allocations: 1.723 MB / 441.7 MB, free: 12.98 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001321/0.1308, allocations: 0.8539 MB / 442.5 MB, free: 12.12 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.882e-05/0.1309, allocations: 4 kB / 442.5 MB, free: 12.11 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002365/0.1312, allocations: 35.83 kB / 442.6 MB, free: 12.08 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001551/0.1313, allocations: 47.73 kB / 442.6 MB, free: 12.03 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002539/0.1316, allocations: 83.77 kB / 442.7 MB, free: 11.95 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002328/0.1318, allocations: 207.2 kB / 442.9 MB, free: 11.75 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.998e-05/0.1319, allocations: 21.38 kB / 442.9 MB, free: 11.72 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001164/0.132, allocations: 55.67 kB / 443 MB, free: 11.67 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001319/0.1322, allocations: 79.72 kB / 443 MB, free: 11.59 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.831e-05/0.1322, allocations: 4 kB / 443.1 MB, free: 11.59 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002882/0.1325, allocations: 163.7 kB / 443.2 MB, free: 11.43 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.219e-05/0.1326, allocations: 31.89 kB / 443.2 MB, free: 11.39 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.659e-05/0.1326, allocations: 59.56 kB / 443.3 MB, free: 11.34 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003348/0.133, allocations: 203.3 kB / 443.5 MB, free: 11.14 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.279e-06/0.133, allocations: 0 / 443.5 MB, free: 11.14 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.133, allocations: 4 kB / 443.5 MB, free: 11.13 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.151e-05/0.133, allocations: 0 / 443.5 MB, free: 11.13 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.0006956/0.1337, allocations: 466.9 kB / 444 MB, free: 10.63 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/0.1338, allocations: 8.031 kB / 444 MB, free: 10.62 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.69e-05/0.1338, allocations: 54.72 kB / 444 MB, free: 10.56 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005071/0.1344, allocations: 60.69 kB / 444.1 MB, free: 10.5 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002344/0.1346, allocations: 224 kB / 444.3 MB, free: 10.24 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.649e-05/0.1346, allocations: 12.38 kB / 444.3 MB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.173e-05/0.1347, allocations: 19.88 kB / 444.3 MB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004549/0.1351, allocations: 237.5 kB / 444.6 MB, free: 9.973 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.1351, allocations: 0 / 444.6 MB, free: 9.973 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.309e-05/0.1352, allocations: 8 kB / 444.6 MB, free: 9.965 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.561e-05/0.1352, allocations: 19.77 kB / 444.6 MB, free: 9.945 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004155/0.1356, allocations: 219.8 kB / 444.8 MB, free: 9.73 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001098/0.1367, allocations: 0.7325 MB / 445.5 MB, free: 8.91 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002093/0.137, allocations: 90.45 kB / 445.6 MB, free: 8.812 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001257/0.1371, allocations: 44.81 kB / 445.7 MB, free: 8.766 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.022e-05/0.1371, allocations: 3.938 kB / 445.7 MB, free: 8.762 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.768e-05/0.1372, allocations: 46.5 kB / 445.7 MB, free: 8.707 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.323e-06/0.1372, allocations: 0 / 445.7 MB, free: 8.707 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004999/0.1377, allocations: 157.5 kB / 445.9 MB, free: 8.547 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.645e-05/0.1377, allocations: 55.41 kB / 445.9 MB, free: 8.48 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001813/0.1379, allocations: 187.2 kB / 446.1 MB, free: 8.289 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.041e-05/0.1379, allocations: 25.7 kB / 446.1 MB, free: 8.258 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.393e-05/0.138, allocations: 147.7 kB / 446.3 MB, free: 8.109 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.578e-05/0.1381, allocations: 27.59 kB / 446.3 MB, free: 8.082 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.268e-05/0.1381, allocations: 33.7 kB / 446.3 MB, free: 8.043 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001204/0.1383, allocations: 322.8 kB / 446.7 MB, free: 7.719 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001326/0.1384, allocations: 43.95 kB / 446.7 MB, free: 7.676 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001735/0.1386, allocations: 110.8 kB / 446.8 MB, free: 7.543 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002896/0.1389, allocations: 154.7 kB / 447 MB, free: 7.367 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.1389, allocations: 3.938 kB / 447 MB, free: 7.363 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003606/0.1393, allocations: 185.5 kB / 447.1 MB, free: 7.176 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.1393, allocations: 4 kB / 447.1 MB, free: 7.172 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.1393, allocations: 4 kB / 447.1 MB, free: 7.168 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.1393, allocations: 0 / 447.1 MB, free: 7.168 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009046/0.1402, allocations: 123.8 kB / 447.3 MB, free: 7.047 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001197/0.1414, allocations: 1.821 MB / 449.1 MB, free: 5.156 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000144/0.1416, allocations: 19.75 kB / 449.1 MB, free: 5.137 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.734e-05/0.1416, allocations: 11.98 kB / 449.1 MB, free: 5.125 MB / 382.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.0001304/0.1418, allocations: 145.6 kB / 449.3 MB, free: 4.973 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.555e-05/0.1418, allocations: 11.89 kB / 449.3 MB, free: 4.961 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004397/0.1422, allocations: 175 kB / 449.4 MB, free: 4.781 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.1423, allocations: 3.984 kB / 449.4 MB, free: 4.777 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.1423, allocations: 0 / 449.4 MB, free: 4.777 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.1423, allocations: 3.938 kB / 449.5 MB, free: 4.773 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002519/0.1425, allocations: 241.4 kB / 449.7 MB, free: 4.488 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.1426, allocations: 3.938 kB / 449.7 MB, free: 4.484 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007012/0.1433, allocations: 111.9 kB / 449.8 MB, free: 4.375 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.1433, allocations: 0 / 449.8 MB, free: 4.375 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.41e-05/0.1433, allocations: 4 kB / 449.8 MB, free: 4.371 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008976/0.1442, allocations: 1.774 MB / 451.6 MB, free: 2.527 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.1442, allocations: 4 kB / 451.6 MB, free: 2.523 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003354/0.1445, allocations: 255.5 kB / 451.8 MB, free: 2.258 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.574e-05/0.1446, allocations: 89 kB / 451.9 MB, free: 2.152 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.546e-05/0.1446, allocations: 0 / 451.9 MB, free: 2.152 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001341/0.1448, allocations: 11.98 kB / 451.9 MB, free: 2.141 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.1e-05/0.1448, allocations: 4 kB / 451.9 MB, free: 2.137 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.818e-06/0.1449, allocations: 4 kB / 451.9 MB, free: 2.133 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001037/0.145, allocations: 144.9 kB / 452.1 MB, free: 1.992 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.523e-06/0.145, allocations: 0 / 452.1 MB, free: 1.992 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003071/0.1453, allocations: 51.78 kB / 452.1 MB, free: 1.941 MB / 382.1 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.0006582/0.1459, allocations: 0.7863 MB / 452.9 MB, free: 1.129 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001133/0.1471, allocations: 232.1 kB / 453.1 MB, free: 0.9023 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1471, allocations: 0 / 453.1 MB, free: 0.9023 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00062/0.1477, allocations: 127.8 kB / 453.3 MB, free: 0.7773 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003704/0.1481, allocations: 35.97 kB / 453.3 MB, free: 0.7422 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1732/0.3213, allocations: 2.125 MB / 455.4 MB, free: 48.39 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001905/0.3215, allocations: 0.7395 MB / 456.2 MB, free: 47.69 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001548/0.3217, allocations: 33.28 kB / 456.2 MB, free: 47.69 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.298e-05/0.3218, allocations: 41.55 kB / 456.2 MB, free: 47.68 MB / 382.1 MB Notification: Performance of SimCode: time 9.22e-07/0.3218, allocations: 0 / 456.2 MB, free: 47.68 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0158/0.3376, allocations: 4.732 MB / 461 MB, free: 47.23 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001846/0.3378, allocations: 296.6 kB / 461.3 MB, free: 46.85 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.767/2.104, allocations: 0 / 461.3 MB, free: 46.85 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/General/dp_pressureLossCoefficient_DPMFLOW/dp_pressureLossCoefficient_DPMFLOW.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches