Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001538/0.001538, allocations: 118.6 kB / 18.5 MB, free: 4.434 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001434/0.001434, allocations: 218.6 kB / 21.47 MB, free: 1.473 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.441/1.441, allocations: 230.2 MB / 254.5 MB, free: 15.41 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2256/0.2256, allocations: 46.89 MB / 357.4 MB, free: 10.51 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalPressureLossLawDensity_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalPressureLossLawDensity_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00221/0.00221, allocations: 76.59 kB / 0.4913 GB, free: 26.93 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1204/0.1226, allocations: 65.99 MB / 0.5557 GB, free: 9.098 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW): time 0.003484/0.1261, allocations: 1.93 MB / 0.5576 GB, free: 7.148 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001881/0.128, allocations: 1.137 MB / 0.5587 GB, free: 6.008 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.952e-05/0.128, allocations: 7.938 kB / 0.5587 GB, free: 6 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003159/0.1284, allocations: 79.8 kB / 0.5588 GB, free: 5.922 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002015/0.1286, allocations: 71.53 kB / 0.5589 GB, free: 5.852 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004195/0.129, allocations: 147.4 kB / 0.559 GB, free: 5.707 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000324/0.1293, allocations: 266.4 kB / 0.5593 GB, free: 5.445 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.271e-05/0.1294, allocations: 20.75 kB / 0.5593 GB, free: 5.426 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002282/0.1296, allocations: 115.3 kB / 0.5594 GB, free: 5.312 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001827/0.1298, allocations: 119.3 kB / 0.5595 GB, free: 5.195 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.27e-05/0.1298, allocations: 12 kB / 0.5595 GB, free: 5.184 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005191/0.1303, allocations: 315.5 kB / 0.5598 GB, free: 4.875 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.33e-05/0.1304, allocations: 59.64 kB / 0.5599 GB, free: 4.816 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001258/0.1305, allocations: 111.2 kB / 0.56 GB, free: 4.707 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006161/0.1312, allocations: 438.2 kB / 0.5604 GB, free: 4.277 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.1312, allocations: 0 / 0.5604 GB, free: 4.277 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1312, allocations: 0 / 0.5604 GB, free: 4.277 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.136e-06/0.1312, allocations: 0 / 0.5604 GB, free: 4.277 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 95 * Number of variables: 95 Notification: Performance of Generate backend data structure: time 0.0008279/0.132, allocations: 0.5809 MB / 0.561 GB, free: 3.648 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.132, allocations: 8.031 kB / 0.561 GB, free: 3.641 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.379e-05/0.1321, allocations: 78.7 kB / 0.561 GB, free: 3.555 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.341e-05/0.1322, allocations: 40.7 kB / 0.5611 GB, free: 3.516 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000316/0.1325, allocations: 228 kB / 0.5613 GB, free: 3.254 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.851e-05/0.1325, allocations: 32.94 kB / 0.5613 GB, free: 3.223 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.12e-05/0.1326, allocations: 28 kB / 0.5614 GB, free: 3.195 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007712/0.1334, allocations: 0.4896 MB / 0.5618 GB, free: 2.691 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.1334, allocations: 3.938 kB / 0.5618 GB, free: 2.688 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.707e-05/0.1334, allocations: 15.98 kB / 0.5619 GB, free: 2.672 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.612e-05/0.1335, allocations: 28.98 kB / 0.5619 GB, free: 2.645 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006674/0.1341, allocations: 427.7 kB / 0.5623 GB, free: 2.227 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001627/0.1357, allocations: 1.182 MB / 0.5635 GB, free: 0.9414 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001982/0.1359, allocations: 86.39 kB / 0.5635 GB, free: 0.8477 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001102/0.1361, allocations: 36.83 kB / 0.5636 GB, free: 0.8086 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.683e-05/0.1361, allocations: 4 kB / 0.5636 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.137e-05/0.1361, allocations: 34.56 kB / 0.5636 GB, free: 0.7617 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.402e-06/0.1361, allocations: 4 kB / 0.5636 GB, free: 0.7578 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004669/0.1366, allocations: 153.7 kB / 0.5638 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.942e-05/0.1366, allocations: 55.34 kB / 0.5638 GB, free: 0.5352 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001707/0.1368, allocations: 166.4 kB / 0.564 GB, free: 368 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.108e-05/0.1368, allocations: 25.7 kB / 0.564 GB, free: 336 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001452/0.137, allocations: 220 kB / 0.5642 GB, free: 112 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.865e-05/0.137, allocations: 35.73 kB / 0.5642 GB, free: 76 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.602e-05/0.1371, allocations: 57.64 kB / 0.5643 GB, free: 12 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001704/0.1372, allocations: 322.8 kB / 0.5646 GB, free: 15.68 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001364/0.1374, allocations: 51.95 kB / 0.5646 GB, free: 15.63 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002366/0.1376, allocations: 172.2 kB / 0.5648 GB, free: 15.41 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003977/0.138, allocations: 255.9 kB / 0.5651 GB, free: 15.1 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.138, allocations: 0 / 0.5651 GB, free: 15.1 MB / 430.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004629/0.1385, allocations: 245.4 kB / 0.5653 GB, free: 14.86 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.1385, allocations: 8 kB / 0.5653 GB, free: 14.85 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-06/0.1385, allocations: 4 kB / 0.5653 GB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.1385, allocations: 8 kB / 0.5653 GB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003391/0.1389, allocations: 95.89 kB / 0.5654 GB, free: 14.74 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001194/0.14, allocations: 1.774 MB / 0.5671 GB, free: 12.9 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001471/0.1402, allocations: 31.78 kB / 0.5672 GB, free: 12.87 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.538e-05/0.1402, allocations: 16 kB / 0.5672 GB, free: 12.85 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 7 (dp_IN_con[3].target,dp_IN_con[2].target,dp_IN_con[1].target,m_flow_IN_con[3].target,m_flow_IN_con[2].target,m_flow_IN_con[1].target,NominalMassFlowRate) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 22 * 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.000254/0.1405, allocations: 186.7 kB / 0.5674 GB, free: 12.66 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.906e-05/0.1405, allocations: 19.83 kB / 0.5674 GB, free: 12.64 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004687/0.141, allocations: 186.1 kB / 0.5676 GB, free: 12.45 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.141, allocations: 4 kB / 0.5676 GB, free: 12.45 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.141, allocations: 0 / 0.5676 GB, free: 12.45 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.141, allocations: 3.984 kB / 0.5676 GB, free: 12.45 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000349/0.1413, allocations: 285.5 kB / 0.5678 GB, free: 12.12 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.1413, allocations: 0 / 0.5678 GB, free: 12.12 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002082/0.1416, allocations: 63.97 kB / 0.5679 GB, free: 12.05 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.1416, allocations: 4 kB / 0.5679 GB, free: 12.05 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.617e-05/0.1416, allocations: 11.94 kB / 0.5679 GB, free: 12.04 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001029/0.1426, allocations: 1.778 MB / 0.5696 GB, free: 10.19 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.1426, allocations: 0 / 0.5696 GB, free: 10.19 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003233/0.1429, allocations: 215.5 kB / 0.5699 GB, free: 9.965 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.5e-05/0.143, allocations: 92.98 kB / 0.5699 GB, free: 9.855 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.117e-05/0.143, allocations: 0 / 0.5699 GB, free: 9.855 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.834e-05/0.1431, allocations: 8.094 kB / 0.5699 GB, free: 9.848 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.44e-05/0.1432, allocations: 15.98 kB / 0.57 GB, free: 9.832 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.879e-06/0.1432, allocations: 4 kB / 0.57 GB, free: 9.828 MB / 430.1 MB Notification: Performance of sorting global known variables: time 9.437e-05/0.1433, allocations: 115.1 kB / 0.5701 GB, free: 9.715 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1433, allocations: 0 / 0.5701 GB, free: 9.715 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004537/0.1437, allocations: 107.5 kB / 0.5702 GB, free: 9.609 MB / 430.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 (7): * Single equations (assignments): 4 * 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.0008234/0.1445, allocations: 0.7947 MB / 0.571 GB, free: 8.789 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0005649/0.1451, allocations: 179.8 kB / 0.5711 GB, free: 8.613 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1451, allocations: 1.125 kB / 0.5711 GB, free: 8.613 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002738/0.1454, allocations: 87.95 kB / 0.5712 GB, free: 8.527 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002553/0.1456, allocations: 19.88 kB / 0.5712 GB, free: 8.508 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002704/0.1483, allocations: 2.215 MB / 0.5734 GB, free: 6.098 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004413/0.1488, allocations: 0.7943 MB / 0.5742 GB, free: 5.277 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001599/0.1489, allocations: 65.19 kB / 0.5742 GB, free: 5.215 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001043/0.149, allocations: 77.28 kB / 0.5743 GB, free: 5.141 MB / 430.1 MB Notification: Performance of SimCode: time 4.3e-07/0.149, allocations: 0 / 0.5743 GB, free: 5.141 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02932/0.1784, allocations: 5.358 MB / 0.5795 GB, free: 15.96 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.72/11.9, allocations: 8.562 kB / 0.5795 GB, free: 15.96 MB / 446.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalPressureLossLawDensity_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --stepSize=0.0002 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalPressureLossLawDensity_DPMFLOW.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_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_nominalPressureLossLawDensity_DPMFLOW/dp_nominalPressureLossLawDensity_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_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: 15.052094511222094]