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_volumeFlowRate_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: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_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.001086/0.001086, allocations: 106.2 kB / 17.21 MB, free: 6.293 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.001102/0.001102, allocations: 194 kB / 18.12 MB, free: 5.383 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.341/1.341, allocations: 222.9 MB / 241.8 MB, free: 15.35 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.2176/0.2176, allocations: 44.18 MB / 336.1 MB, free: 2.973 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001493/0.001493, allocations: 59.09 kB / 407.8 MB, free: 27.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1295/0.131, allocations: 60.83 MB / 468.7 MB, free: 14.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW): time 0.003078/0.1341, allocations: 1.699 MB / 470.4 MB, free: 12.99 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001542/0.1357, allocations: 0.8804 MB / 471.2 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.262e-05/0.1358, allocations: 0 / 471.2 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002062/0.136, allocations: 39.83 kB / 471.3 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001893/0.1362, allocations: 51.73 kB / 471.3 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000468/0.1367, allocations: 115.7 kB / 471.4 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002289/0.1369, allocations: 187.3 kB / 471.6 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.849e-05/0.137, allocations: 13.45 kB / 471.6 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.052e-05/0.1371, allocations: 47.73 kB / 471.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001297/0.1372, allocations: 75.67 kB / 471.8 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.023e-05/0.1373, allocations: 4 kB / 471.8 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000374/0.1376, allocations: 207.6 kB / 472 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.965e-05/0.1377, allocations: 43.83 kB / 472 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.995e-05/0.1378, allocations: 55.61 kB / 472.1 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004062/0.1382, allocations: 243.4 kB / 472.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/0.1382, allocations: 0 / 472.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.1382, allocations: 0 / 472.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.542e-06/0.1383, allocations: 0 / 472.3 MB, free: 11.04 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0005857/0.1388, allocations: 467 kB / 472.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.1389, allocations: 8.031 kB / 472.8 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.812e-05/0.139, allocations: 58.7 kB / 472.8 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001192/0.1402, allocations: 112.6 kB / 472.9 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002305/0.1404, allocations: 232 kB / 473.2 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/0.1404, allocations: 4.375 kB / 473.2 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.565e-05/0.1405, allocations: 20.3 kB / 473.2 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006511/0.1411, allocations: 325.9 kB / 473.5 MB, free: 9.738 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.1411, allocations: 0 / 473.5 MB, free: 9.738 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.704e-05/0.1412, allocations: 7.984 kB / 473.5 MB, free: 9.73 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.614e-05/0.1412, allocations: 23.97 kB / 473.5 MB, free: 9.707 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007535/0.142, allocations: 319.7 kB / 473.8 MB, free: 9.395 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001457/0.1434, allocations: 0.8259 MB / 474.7 MB, free: 8.477 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007051/0.1442, allocations: 222.3 kB / 474.9 MB, free: 8.25 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002787/0.1445, allocations: 88.8 kB / 475 MB, free: 8.16 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.565e-05/0.1445, allocations: 4 kB / 475 MB, free: 8.156 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.087e-05/0.1445, allocations: 30.56 kB / 475 MB, free: 8.117 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.283e-06/0.1445, allocations: 0 / 475 MB, free: 8.117 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.001006/0.1455, allocations: 305.2 kB / 475.3 MB, free: 7.812 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.373e-05/0.1456, allocations: 51.41 kB / 475.3 MB, free: 7.75 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000167/0.1457, allocations: 187.2 kB / 475.5 MB, free: 7.555 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.395e-05/0.1458, allocations: 29.7 kB / 475.6 MB, free: 7.52 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.6e-05/0.1459, allocations: 131.6 kB / 475.7 MB, free: 7.387 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.078e-05/0.1459, allocations: 43.39 kB / 475.7 MB, free: 7.344 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.283e-05/0.146, allocations: 49.67 kB / 475.8 MB, free: 7.289 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001014/0.1461, allocations: 326.8 kB / 476.1 MB, free: 6.961 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003009/0.1464, allocations: 87.89 kB / 476.2 MB, free: 6.875 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003221/0.1467, allocations: 145.2 kB / 476.3 MB, free: 6.711 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005902/0.1473, allocations: 226.6 kB / 476.5 MB, free: 6.465 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/0.1474, allocations: 0 / 476.5 MB, free: 6.465 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0007308/0.1481, allocations: 277 kB / 476.8 MB, free: 6.188 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.1481, allocations: 4 kB / 476.8 MB, free: 6.184 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.266e-06/0.1481, allocations: 7.938 kB / 476.8 MB, free: 6.176 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.1482, allocations: 0 / 476.8 MB, free: 6.176 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004295/0.1486, allocations: 79.92 kB / 476.9 MB, free: 6.098 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008668/0.1495, allocations: 1.789 MB / 478.7 MB, free: 4.238 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002257/0.1497, allocations: 32.11 kB / 478.7 MB, free: 4.207 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.158e-05/0.1497, allocations: 15.98 kB / 478.7 MB, free: 4.191 MB / 350.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 (17): * Single equations (assignments): 14 * 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.0001306/0.1499, allocations: 133.8 kB / 478.9 MB, free: 4.051 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.721e-05/0.1499, allocations: 23.75 kB / 478.9 MB, free: 4.027 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007802/0.1507, allocations: 267.1 kB / 479.2 MB, free: 3.766 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.1507, allocations: 4 kB / 479.2 MB, free: 3.762 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/0.1508, allocations: 0 / 479.2 MB, free: 3.762 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.1508, allocations: 0 / 479.2 MB, free: 3.762 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002831/0.1511, allocations: 249.5 kB / 479.4 MB, free: 3.469 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.1511, allocations: 0 / 479.4 MB, free: 3.469 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003575/0.1514, allocations: 79.8 kB / 479.5 MB, free: 3.391 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.1514, allocations: 0 / 479.5 MB, free: 3.391 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.223e-05/0.1515, allocations: 11.98 kB / 479.5 MB, free: 3.379 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009226/0.1524, allocations: 1.782 MB / 481.3 MB, free: 1.527 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.1524, allocations: 0 / 481.3 MB, free: 1.527 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007296/0.1531, allocations: 319.1 kB / 481.6 MB, free: 1.199 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.137e-05/0.1532, allocations: 89 kB / 481.7 MB, free: 1.094 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.615e-05/0.1533, allocations: 0 / 481.7 MB, free: 1.094 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002123/0.1535, allocations: 11.98 kB / 481.7 MB, free: 1.082 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.424e-05/0.1536, allocations: 16.06 kB / 481.7 MB, free: 1.066 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.489e-05/0.1536, allocations: 15.98 kB / 481.7 MB, free: 1.051 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001139/0.1537, allocations: 131.9 kB / 481.8 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1537, allocations: 0 / 481.8 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003752/0.1541, allocations: 63.84 kB / 481.9 MB, free: 0.8594 MB / 350.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 (10): * Single equations (assignments): 7 * 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.001148/0.1553, allocations: 0.8842 MB / 482.8 MB, free: 15.95 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008034/0.1561, allocations: 239.9 kB / 483 MB, free: 15.71 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.1561, allocations: 4 kB / 483 MB, free: 15.71 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004473/0.1565, allocations: 131.8 kB / 483.2 MB, free: 15.58 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002641/0.1568, allocations: 8 kB / 483.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003542/0.1604, allocations: 2.38 MB / 485.5 MB, free: 13.07 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003268/0.1607, allocations: 0.7358 MB / 486.3 MB, free: 12.31 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002298/0.1609, allocations: 73.33 kB / 486.4 MB, free: 12.24 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001269/0.1611, allocations: 51.39 kB / 486.4 MB, free: 12.19 MB / 366.1 MB Notification: Performance of SimCode: time 7.71e-07/0.1611, allocations: 0 / 486.4 MB, free: 12.19 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01744/0.1785, allocations: 4.51 MB / 490.9 MB, free: 7.91 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002398/0.1788, allocations: 297.2 kB / 491.2 MB, free: 7.523 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.782/1.961, allocations: 2.5 kB / 491.2 MB, free: 7.523 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_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_volumeFlowRate_DPMFLOW/dp_volumeFlowRate_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches