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.001326/0.001326, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001453/0.001453, allocations: 213.6 kB / 23.73 MB, free: 4.164 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.417/1.417, allocations: 230.5 MB / 257.4 MB, free: 7.785 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.223/0.223, allocations: 46.95 MB / 360.8 MB, free: 3.945 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.00246/0.00246, allocations: 83.86 kB / 0.4962 GB, free: 7.543 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3402/0.3426, allocations: 66.09 MB / 0.5607 GB, free: 4.168 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW): time 0.003612/0.3463, allocations: 1.67 MB / 0.5623 GB, free: 2.488 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001588/0.3478, allocations: 0.7839 MB / 0.5631 GB, free: 1.703 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.387e-05/0.3479, allocations: 0 / 0.5631 GB, free: 1.703 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002433/0.3481, allocations: 39.83 kB / 0.5631 GB, free: 1.664 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001897/0.3483, allocations: 51.67 kB / 0.5632 GB, free: 1.613 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00032/0.3486, allocations: 103.6 kB / 0.5633 GB, free: 1.512 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002132/0.3489, allocations: 159.2 kB / 0.5634 GB, free: 1.355 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.064e-05/0.3489, allocations: 13.05 kB / 0.5635 GB, free: 1.34 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001974/0.3491, allocations: 59.78 kB / 0.5635 GB, free: 1.281 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001395/0.3492, allocations: 75.61 kB / 0.5636 GB, free: 1.207 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.951e-05/0.3493, allocations: 4 kB / 0.5636 GB, free: 1.203 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000273/0.3495, allocations: 135.8 kB / 0.5637 GB, free: 1.07 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.522e-05/0.3496, allocations: 39.89 kB / 0.5638 GB, free: 1.031 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.631e-05/0.3497, allocations: 47.69 kB / 0.5638 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000332/0.35, allocations: 213.2 kB / 0.564 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.35, allocations: 3.938 kB / 0.564 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.867e-06/0.35, allocations: 4 kB / 0.564 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.35, allocations: 0 / 0.564 GB, free: 0.7734 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0006679/0.3507, allocations: 385.5 kB / 0.5644 GB, free: 376 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.897e-05/0.3507, allocations: 8.031 kB / 0.5644 GB, free: 368 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.485e-05/0.3508, allocations: 54.72 kB / 0.5644 GB, free: 304 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000485/0.3513, allocations: 64.78 kB / 0.5645 GB, free: 240 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002872/0.3516, allocations: 158.3 kB / 0.5647 GB, free: 56 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.939e-05/0.3516, allocations: 12.31 kB / 0.5647 GB, free: 44 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.732e-05/0.3516, allocations: 15.94 kB / 0.5647 GB, free: 28 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005259/0.3522, allocations: 241.2 kB / 0.5649 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.502e-05/0.3522, allocations: 0 / 0.5649 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.262e-05/0.3522, allocations: 4 kB / 0.5649 GB, free: 15.78 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.04e-05/0.3522, allocations: 19.98 kB / 0.5649 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000484/0.3527, allocations: 231.8 kB / 0.5652 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001173/0.3539, allocations: 0.5277 MB / 0.5657 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002192/0.3541, allocations: 82.5 kB / 0.5658 GB, free: 14.87 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001299/0.3542, allocations: 48.81 kB / 0.5658 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.828e-05/0.3543, allocations: 0 / 0.5658 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.122e-05/0.3543, allocations: 38.5 kB / 0.5658 GB, free: 14.77 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 9.22e-07/0.3543, allocations: 4 kB / 0.5658 GB, free: 14.77 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005057/0.3548, allocations: 169.4 kB / 0.566 GB, free: 14.6 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.076e-05/0.3549, allocations: 51.41 kB / 0.5661 GB, free: 14.54 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002126/0.3551, allocations: 191.2 kB / 0.5662 GB, free: 14.34 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.05e-05/0.3551, allocations: 25.7 kB / 0.5663 GB, free: 14.3 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.961e-05/0.3552, allocations: 143.9 kB / 0.5664 GB, free: 14.16 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.182e-05/0.3552, allocations: 31.73 kB / 0.5664 GB, free: 14.13 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.037e-05/0.3553, allocations: 33.7 kB / 0.5665 GB, free: 14.09 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001572/0.3555, allocations: 326.8 kB / 0.5668 GB, free: 13.76 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001351/0.3556, allocations: 43.95 kB / 0.5668 GB, free: 13.72 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001973/0.3558, allocations: 102.3 kB / 0.5669 GB, free: 13.6 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000326/0.3561, allocations: 166.9 kB / 0.5671 GB, free: 13.41 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.3561, allocations: 0 / 0.5671 GB, free: 13.41 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003995/0.3565, allocations: 189.2 kB / 0.5672 GB, free: 13.22 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.3565, allocations: 8 kB / 0.5673 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.3565, allocations: 224 / 0.5673 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.3566, allocations: 8 kB / 0.5673 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008843/0.3574, allocations: 87.89 kB / 0.5673 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001445/0.3589, allocations: 1.809 MB / 0.5691 GB, free: 11.24 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001473/0.359, allocations: 27.83 kB / 0.5691 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.761e-05/0.3591, allocations: 4 kB / 0.5691 GB, free: 11.21 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 (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.0001489/0.3592, allocations: 141.8 kB / 0.5693 GB, free: 11.06 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.733e-05/0.3592, allocations: 11.95 kB / 0.5693 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005048/0.3597, allocations: 190.8 kB / 0.5695 GB, free: 10.85 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.3597, allocations: 0 / 0.5695 GB, free: 10.85 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.3597, allocations: 0 / 0.5695 GB, free: 10.85 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.3598, allocations: 0 / 0.5695 GB, free: 10.85 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00029/0.36, allocations: 200.6 kB / 0.5697 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.36, allocations: 8 kB / 0.5697 GB, free: 10.6 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007276/0.3608, allocations: 79.89 kB / 0.5697 GB, free: 10.52 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.289e-06/0.3608, allocations: 0 / 0.5697 GB, free: 10.52 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.233e-05/0.3608, allocations: 0 / 0.5697 GB, free: 10.52 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001211/0.362, allocations: 1.782 MB / 0.5715 GB, free: 8.672 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.362, allocations: 4.062 kB / 0.5715 GB, free: 8.668 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003982/0.3624, allocations: 243.3 kB / 0.5717 GB, free: 8.414 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.297e-05/0.3624, allocations: 15.89 kB / 0.5717 GB, free: 8.398 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.635e-05/0.3625, allocations: 0 / 0.5717 GB, free: 8.398 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001334/0.3626, allocations: 11.98 kB / 0.5718 GB, free: 8.387 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.478e-05/0.3626, allocations: 15.97 kB / 0.5718 GB, free: 8.371 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.988e-06/0.3627, allocations: 4 kB / 0.5718 GB, free: 8.367 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001267/0.3628, allocations: 136.9 kB / 0.5719 GB, free: 8.234 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3628, allocations: 0 / 0.5719 GB, free: 8.234 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003144/0.3631, allocations: 51.89 kB / 0.5719 GB, free: 8.184 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 (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.0008225/0.3639, allocations: 0.7944 MB / 0.5727 GB, free: 7.363 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001179/0.3651, allocations: 196 kB / 0.5729 GB, free: 7.172 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.3651, allocations: 3.938 kB / 0.5729 GB, free: 7.168 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006276/0.3657, allocations: 96.06 kB / 0.573 GB, free: 7.074 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003825/0.3661, allocations: 42.09 kB / 0.573 GB, free: 7.035 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00282/0.3689, allocations: 2.107 MB / 0.5751 GB, free: 4.809 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001313/0.3691, allocations: 126.6 kB / 0.5752 GB, free: 4.664 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001093/0.3692, allocations: 29.41 kB / 0.5753 GB, free: 4.637 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.718e-05/0.3693, allocations: 43.42 kB / 0.5753 GB, free: 4.594 MB / 414.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3693, allocations: 0 / 0.5753 GB, free: 4.594 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03488/0.4041, allocations: 5.824 MB / 0.581 GB, free: 14.95 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.44/12.84, allocations: 8 kB / 0.581 GB, free: 14.94 MB / 430.1 MB " [Timeout remaining time 647] (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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/General/dp_pressureLossCoefficient_DPMFLOW/dp_pressureLossCoefficient_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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.897320828866214]