Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_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.001322/0.001322, allocations: 117.8 kB / 18.5 MB, free: 4.602 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.001369/0.001369, allocations: 208.9 kB / 21.46 MB, free: 1.648 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.46/1.46, allocations: 230.2 MB / 254.5 MB, free: 15.28 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.2278/0.2278, allocations: 46.9 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_pressureLossCoefficient_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_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_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002518/0.002518, allocations: 75.88 kB / 0.4913 GB, free: 8.527 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.128/0.1305, allocations: 65.99 MB / 0.5557 GB, free: 6.406 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW): time 0.003515/0.1341, allocations: 1.704 MB / 0.5574 GB, free: 4.684 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001653/0.1357, allocations: 0.8374 MB / 0.5582 GB, free: 3.844 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.458e-05/0.1358, allocations: 4 kB / 0.5582 GB, free: 3.84 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002759/0.1361, allocations: 43.75 kB / 0.5582 GB, free: 3.797 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000244/0.1363, allocations: 55.72 kB / 0.5583 GB, free: 3.742 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004081/0.1367, allocations: 95.64 kB / 0.5584 GB, free: 3.648 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002581/0.137, allocations: 159.2 kB / 0.5585 GB, free: 3.492 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.59e-05/0.137, allocations: 12.88 kB / 0.5585 GB, free: 3.48 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000193/0.1372, allocations: 71.7 kB / 0.5586 GB, free: 3.41 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001401/0.1374, allocations: 71.67 kB / 0.5587 GB, free: 3.34 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.751e-05/0.1374, allocations: 8 kB / 0.5587 GB, free: 3.332 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003302/0.1377, allocations: 163.7 kB / 0.5588 GB, free: 3.172 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.077e-05/0.1378, allocations: 35.89 kB / 0.5589 GB, free: 3.137 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.057e-05/0.1379, allocations: 59.56 kB / 0.5589 GB, free: 3.078 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003621/0.1382, allocations: 207.2 kB / 0.5591 GB, free: 2.875 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.1382, allocations: 0 / 0.5591 GB, free: 2.875 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1382, allocations: 4 kB / 0.5591 GB, free: 2.871 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.1382, allocations: 0 / 0.5591 GB, free: 2.871 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0007237/0.139, allocations: 474.5 kB / 0.5596 GB, free: 2.359 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.139, allocations: 8.031 kB / 0.5596 GB, free: 2.352 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.909e-05/0.1391, allocations: 54.72 kB / 0.5597 GB, free: 2.289 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005007/0.1396, allocations: 56.72 kB / 0.5597 GB, free: 2.234 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002785/0.1399, allocations: 212.2 kB / 0.5599 GB, free: 1.988 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.683e-05/0.1399, allocations: 12.31 kB / 0.5599 GB, free: 1.977 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.861e-05/0.1399, allocations: 15.94 kB / 0.5599 GB, free: 1.961 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004775/0.1404, allocations: 237.3 kB / 0.5602 GB, free: 1.723 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.1404, allocations: 4 kB / 0.5602 GB, free: 1.719 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.028e-05/0.1404, allocations: 4 kB / 0.5602 GB, free: 1.715 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.479e-05/0.1405, allocations: 19.98 kB / 0.5602 GB, free: 1.695 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004705/0.1409, allocations: 223.8 kB / 0.5604 GB, free: 1.477 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001293/0.1422, allocations: 0.7326 MB / 0.5611 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002213/0.1425, allocations: 94.44 kB / 0.5612 GB, free: 0.5508 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001264/0.1426, allocations: 48.8 kB / 0.5613 GB, free: 0.5 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.087e-05/0.1426, allocations: 7.938 kB / 0.5613 GB, free: 0.4922 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.002e-05/0.1426, allocations: 34.5 kB / 0.5613 GB, free: 460 kB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 2.254e-06/0.1426, allocations: 0 / 0.5613 GB, free: 460 kB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005198/0.1432, allocations: 173.6 kB / 0.5615 GB, free: 280 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.323e-05/0.1432, allocations: 55.41 kB / 0.5615 GB, free: 212 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002081/0.1434, allocations: 191.2 kB / 0.5617 GB, free: 4 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.916e-05/0.1435, allocations: 29.7 kB / 0.5617 GB, free: 15.97 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.801e-05/0.1436, allocations: 135.8 kB / 0.5619 GB, free: 15.83 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.563e-05/0.1436, allocations: 23.8 kB / 0.5619 GB, free: 15.81 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.777e-05/0.1437, allocations: 41.64 kB / 0.5619 GB, free: 15.76 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001699/0.1438, allocations: 326.8 kB / 0.5622 GB, free: 15.43 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001352/0.144, allocations: 39.95 kB / 0.5623 GB, free: 15.39 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001897/0.1442, allocations: 105.4 kB / 0.5624 GB, free: 15.27 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003184/0.1445, allocations: 154.7 kB / 0.5625 GB, free: 15.09 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.1445, allocations: 4 kB / 0.5625 GB, free: 15.09 MB / 430.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003965/0.1449, allocations: 193.2 kB / 0.5627 GB, free: 14.89 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.1449, allocations: 8 kB / 0.5627 GB, free: 14.89 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.1449, allocations: 0 / 0.5627 GB, free: 14.89 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.962e-05/0.1449, allocations: 4.219 kB / 0.5627 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000901/0.1458, allocations: 91.89 kB / 0.5628 GB, free: 14.79 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001444/0.1473, allocations: 1.813 MB / 0.5646 GB, free: 12.91 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001594/0.1474, allocations: 27.8 kB / 0.5646 GB, free: 12.88 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.783e-05/0.1474, allocations: 8 kB / 0.5646 GB, free: 12.88 MB / 430.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.0001454/0.1476, allocations: 145.9 kB / 0.5647 GB, free: 12.72 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.693e-05/0.1476, allocations: 7.953 kB / 0.5648 GB, free: 12.71 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005216/0.1482, allocations: 182.8 kB / 0.5649 GB, free: 12.52 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.1482, allocations: 4 kB / 0.5649 GB, free: 12.52 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.1482, allocations: 4 kB / 0.5649 GB, free: 12.52 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.1482, allocations: 0 / 0.5649 GB, free: 12.52 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002995/0.1485, allocations: 233.5 kB / 0.5652 GB, free: 12.24 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.1485, allocations: 0 / 0.5652 GB, free: 12.24 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006949/0.1492, allocations: 79.91 kB / 0.5652 GB, free: 12.16 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.1492, allocations: 4 kB / 0.5652 GB, free: 12.16 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.559e-05/0.1492, allocations: 7.984 kB / 0.5652 GB, free: 12.15 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001198/0.1504, allocations: 1.77 MB / 0.567 GB, free: 10.31 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.262e-06/0.1504, allocations: 4.031 kB / 0.567 GB, free: 10.3 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000388/0.1508, allocations: 243.2 kB / 0.5672 GB, free: 10.05 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.273e-05/0.1508, allocations: 92.95 kB / 0.5673 GB, free: 9.941 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.804e-05/0.1509, allocations: 4 kB / 0.5673 GB, free: 9.938 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001343/0.151, allocations: 12.08 kB / 0.5673 GB, free: 9.926 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.565e-05/0.1511, allocations: 7.984 kB / 0.5673 GB, free: 9.918 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.073e-05/0.1511, allocations: 8 kB / 0.5673 GB, free: 9.91 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001333/0.1512, allocations: 136.9 kB / 0.5675 GB, free: 9.777 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1512, allocations: 0 / 0.5675 GB, free: 9.777 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003511/0.1516, allocations: 47.88 kB / 0.5675 GB, free: 9.73 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 (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.0008203/0.1524, allocations: 0.7944 MB / 0.5683 GB, free: 8.91 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001201/0.1536, allocations: 192.2 kB / 0.5685 GB, free: 8.723 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.1536, allocations: 0 / 0.5685 GB, free: 8.723 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006458/0.1542, allocations: 111.8 kB / 0.5686 GB, free: 8.613 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003857/0.1546, allocations: 40.45 kB / 0.5686 GB, free: 8.574 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002762/0.1574, allocations: 2.1 MB / 0.5707 GB, free: 6.352 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004118/0.1578, allocations: 0.7397 MB / 0.5714 GB, free: 5.586 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001189/0.1579, allocations: 37.34 kB / 0.5714 GB, free: 5.551 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.841e-05/0.158, allocations: 47.41 kB / 0.5715 GB, free: 5.504 MB / 430.1 MB Notification: Performance of SimCode: time 6.71e-07/0.158, allocations: 0 / 0.5715 GB, free: 5.504 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03153/0.1895, allocations: 5.126 MB / 0.5765 GB, free: 0.5898 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.66/11.85, allocations: 24.72 kB / 0.5765 GB, free: 0.5664 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --stepSize=0.0002 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_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_pressureLossCoefficient_DPMFLOW/dp_pressureLossCoefficient_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_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.033634168561548]