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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001422/0.001422, allocations: 112.8 kB / 18.5 MB, free: 4.562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001651/0.001651, allocations: 193.2 kB / 21.44 MB, free: 1.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.419/1.419, allocations: 225.6 MB / 249.8 MB, free: 3.621 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2144/0.2144, allocations: 44.92 MB / 349.6 MB, free: 1.742 MB / 270.1 MB " [Timeout remaining time 180] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001908/0.001908, allocations: 67.3 kB / 491.8 MB, free: 29.94 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.1118, allocations: 64.26 MB / 0.543 GB, free: 4.129 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW): time 0.002923/0.1147, allocations: 1.657 MB / 0.5446 GB, free: 2.453 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001493/0.1162, allocations: 0.8804 MB / 0.5455 GB, free: 1.566 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.717e-05/0.1163, allocations: 0 / 0.5455 GB, free: 1.566 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002052/0.1165, allocations: 39.75 kB / 0.5455 GB, free: 1.527 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001593/0.1166, allocations: 47.75 kB / 0.5456 GB, free: 1.48 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004212/0.1171, allocations: 131.5 kB / 0.5457 GB, free: 1.352 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001984/0.1172, allocations: 143.3 kB / 0.5458 GB, free: 1.211 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.346e-05/0.1173, allocations: 17.38 kB / 0.5459 GB, free: 1.188 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.569e-05/0.1174, allocations: 51.72 kB / 0.5459 GB, free: 1.137 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001159/0.1175, allocations: 75.67 kB / 0.546 GB, free: 1.062 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.64e-05/0.1175, allocations: 4 kB / 0.546 GB, free: 1.059 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003518/0.1179, allocations: 215.6 kB / 0.5462 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.625e-05/0.1179, allocations: 39.84 kB / 0.5462 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.833e-05/0.118, allocations: 67.53 kB / 0.5463 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003578/0.1184, allocations: 239.1 kB / 0.5465 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.1184, allocations: 0 / 0.5465 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1184, allocations: 0 / 0.5465 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.1184, allocations: 0 / 0.5465 GB, free: 0.5078 MB / 398.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.0006587/0.119, allocations: 478.5 kB / 0.547 GB, free: 15.99 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.325e-05/0.1191, allocations: 8.031 kB / 0.547 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.781e-05/0.1191, allocations: 50.73 kB / 0.547 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001152/0.1203, allocations: 120.6 kB / 0.5472 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002862/0.1206, allocations: 228 kB / 0.5474 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.433e-05/0.1206, allocations: 12.38 kB / 0.5474 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.39e-05/0.1206, allocations: 12.38 kB / 0.5474 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006786/0.1213, allocations: 325.4 kB / 0.5477 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.1213, allocations: 0 / 0.5477 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.33e-05/0.1213, allocations: 4 kB / 0.5477 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.984e-05/0.1214, allocations: 27.97 kB / 0.5477 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008045/0.1222, allocations: 319.7 kB / 0.548 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001571/0.1237, allocations: 0.8224 MB / 0.5488 GB, free: 13.94 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007376/0.1245, allocations: 214.3 kB / 0.549 GB, free: 13.72 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002851/0.1248, allocations: 88.73 kB / 0.5491 GB, free: 13.63 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.046e-05/0.1248, allocations: 7.984 kB / 0.5491 GB, free: 13.62 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.169e-05/0.1248, allocations: 30.56 kB / 0.5492 GB, free: 13.59 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.473e-06/0.1248, allocations: 0 / 0.5492 GB, free: 13.59 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.001064/0.1259, allocations: 301.3 kB / 0.5495 GB, free: 13.29 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.067e-05/0.1259, allocations: 59.34 kB / 0.5495 GB, free: 13.21 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002/0.1261, allocations: 180.5 kB / 0.5497 GB, free: 13.03 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.784e-05/0.1262, allocations: 29.7 kB / 0.5497 GB, free: 12.99 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001035/0.1263, allocations: 135.8 kB / 0.5498 GB, free: 12.86 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.104e-05/0.1263, allocations: 43.69 kB / 0.5499 GB, free: 12.81 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.085e-05/0.1264, allocations: 49.67 kB / 0.5499 GB, free: 12.76 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001631/0.1266, allocations: 322.8 kB / 0.5502 GB, free: 12.43 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003016/0.1269, allocations: 91.89 kB / 0.5503 GB, free: 12.34 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003354/0.1272, allocations: 136.7 kB / 0.5505 GB, free: 12.19 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006305/0.1279, allocations: 222.6 kB / 0.5507 GB, free: 11.95 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.1279, allocations: 0 / 0.5507 GB, free: 11.95 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0007505/0.1286, allocations: 269.6 kB / 0.5509 GB, free: 11.68 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.1286, allocations: 8 kB / 0.5509 GB, free: 11.67 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.1286, allocations: 3.938 kB / 0.5509 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.1286, allocations: 4 kB / 0.5509 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004562/0.1291, allocations: 76.02 kB / 0.551 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001159/0.1303, allocations: 1.797 MB / 0.5528 GB, free: 9.719 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002256/0.1305, allocations: 24.19 kB / 0.5528 GB, free: 9.695 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.903e-05/0.1305, allocations: 15.98 kB / 0.5528 GB, free: 9.68 MB / 414.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.0001509/0.1307, allocations: 141.8 kB / 0.5529 GB, free: 9.531 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.108e-05/0.1307, allocations: 23.78 kB / 0.553 GB, free: 9.508 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000812/0.1315, allocations: 262.8 kB / 0.5532 GB, free: 9.238 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.1315, allocations: 0 / 0.5532 GB, free: 9.238 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.1315, allocations: 0 / 0.5532 GB, free: 9.238 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.1316, allocations: 0 / 0.5532 GB, free: 9.238 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00033/0.1319, allocations: 257.4 kB / 0.5535 GB, free: 8.938 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.1319, allocations: 0 / 0.5535 GB, free: 8.938 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000365/0.1322, allocations: 75.86 kB / 0.5535 GB, free: 8.863 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.1323, allocations: 0 / 0.5535 GB, free: 8.863 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.16e-05/0.1323, allocations: 7.984 kB / 0.5535 GB, free: 8.855 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001098/0.1334, allocations: 1.782 MB / 0.5553 GB, free: 7.004 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.1334, allocations: 4.062 kB / 0.5553 GB, free: 7 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007234/0.1341, allocations: 315.2 kB / 0.5556 GB, free: 6.676 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.555e-05/0.1342, allocations: 96.94 kB / 0.5557 GB, free: 6.562 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.687e-05/0.1342, allocations: 8 kB / 0.5557 GB, free: 6.555 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002069/0.1344, allocations: 7.984 kB / 0.5557 GB, free: 6.547 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.028e-05/0.1345, allocations: 11.98 kB / 0.5557 GB, free: 6.535 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.562e-05/0.1345, allocations: 19.97 kB / 0.5557 GB, free: 6.516 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001287/0.1346, allocations: 138.2 kB / 0.5559 GB, free: 6.383 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1346, allocations: 0 / 0.5559 GB, free: 6.383 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000361/0.135, allocations: 63.81 kB / 0.5559 GB, free: 6.32 MB / 414.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.001169/0.1361, allocations: 0.876 MB / 0.5568 GB, free: 5.418 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008587/0.137, allocations: 232.1 kB / 0.557 GB, free: 5.191 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.137, allocations: 0 / 0.557 GB, free: 5.191 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004584/0.1375, allocations: 135.8 kB / 0.5571 GB, free: 5.059 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002708/0.1377, allocations: 11.94 kB / 0.5571 GB, free: 5.047 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003772/0.1415, allocations: 2.337 MB / 0.5594 GB, free: 2.59 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004238/0.1419, allocations: 0.7358 MB / 0.5601 GB, free: 1.828 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002137/0.1421, allocations: 68.97 kB / 0.5602 GB, free: 1.762 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001263/0.1423, allocations: 51.39 kB / 0.5603 GB, free: 1.711 MB / 414.1 MB Notification: Performance of SimCode: time 6.71e-07/0.1423, allocations: 4 kB / 0.5603 GB, free: 1.707 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02919/0.1715, allocations: 4.9 MB / 0.565 GB, free: 13.03 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.49/11.66, allocations: 10.61 kB / 0.5651 GB, free: 13.02 MB / 430.1 MB " [Timeout remaining time 648] (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 --stepSize=0.0002 --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) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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_2/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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.85011577513069]