Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_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.001851/0.001851, 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.002055/0.002055, 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.419/1.419, allocations: 230.5 MB / 257.4 MB, free: 7.805 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.2225/0.2225, allocations: 46.95 MB / 360.8 MB, free: 3.957 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_nominalDensityViscosity_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002388/0.002388, allocations: 83.88 kB / 0.4962 GB, free: 7.551 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3023/0.3047, allocations: 66.08 MB / 0.5607 GB, free: 4.059 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW): time 0.003371/0.308, allocations: 1.803 MB / 0.5625 GB, free: 2.246 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001153/0.3092, allocations: 0.5773 MB / 0.563 GB, free: 1.668 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.164e-05/0.3093, allocations: 0 / 0.563 GB, free: 1.668 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003372/0.3096, allocations: 51.69 kB / 0.5631 GB, free: 1.617 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001939/0.3098, allocations: 71.58 kB / 0.5632 GB, free: 1.547 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004336/0.3102, allocations: 123.5 kB / 0.5633 GB, free: 1.426 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003977/0.3106, allocations: 234.7 kB / 0.5635 GB, free: 1.195 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001139/0.3107, allocations: 8.594 kB / 0.5635 GB, free: 1.184 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001318/0.3109, allocations: 91.56 kB / 0.5636 GB, free: 1.094 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001705/0.311, allocations: 107.4 kB / 0.5637 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.295e-05/0.3111, allocations: 8 kB / 0.5637 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003401/0.3114, allocations: 159.8 kB / 0.5639 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.633e-05/0.3115, allocations: 59.64 kB / 0.5639 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001127/0.3116, allocations: 79.48 kB / 0.564 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006279/0.3122, allocations: 320.5 kB / 0.5643 GB, free: 384 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.3122, allocations: 8 kB / 0.5643 GB, free: 376 kB / 398.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.3123, allocations: 0 / 0.5643 GB, free: 376 kB / 398.1 MB Notification: Performance of Transformations before backend: time 7.835e-06/0.3123, allocations: 0 / 0.5643 GB, free: 376 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.0008519/0.3131, allocations: 465.5 kB / 0.5647 GB, free: 15.88 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.503e-05/0.3132, allocations: 8.031 kB / 0.5648 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.087e-05/0.3132, allocations: 70.66 kB / 0.5648 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001801/0.315, allocations: 204.4 kB / 0.565 GB, free: 15.6 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004053/0.3155, allocations: 218.2 kB / 0.5652 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.088e-05/0.3155, allocations: 16.88 kB / 0.5652 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.253e-05/0.3155, allocations: 20.38 kB / 0.5653 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001013/0.3165, allocations: 0.5007 MB / 0.5657 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.3166, allocations: 7.938 kB / 0.5658 GB, free: 14.81 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.525e-05/0.3166, allocations: 12 kB / 0.5658 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.72e-05/0.3166, allocations: 24.64 kB / 0.5658 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001541/0.3182, allocations: 0.5763 MB / 0.5664 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002276/0.3205, allocations: 0.93 MB / 0.5673 GB, free: 13.22 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007491/0.3212, allocations: 170.3 kB / 0.5674 GB, free: 13.05 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003534/0.3216, allocations: 76.77 kB / 0.5675 GB, free: 12.97 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.978e-05/0.3216, allocations: 7.984 kB / 0.5675 GB, free: 12.96 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.287e-05/0.3216, allocations: 38.56 kB / 0.5675 GB, free: 12.91 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.774e-06/0.3216, allocations: 0 / 0.5675 GB, free: 12.91 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.001436/0.323, allocations: 297.2 kB / 0.5678 GB, free: 12.62 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.13e-05/0.3231, allocations: 51.41 kB / 0.5679 GB, free: 12.55 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003204/0.3234, allocations: 277.9 kB / 0.5681 GB, free: 12.27 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.03e-05/0.3234, allocations: 33.58 kB / 0.5682 GB, free: 12.23 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001989/0.3236, allocations: 175.8 kB / 0.5683 GB, free: 12.06 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.872e-05/0.3237, allocations: 27.78 kB / 0.5684 GB, free: 12.03 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.19e-05/0.3238, allocations: 37.64 kB / 0.5684 GB, free: 11.99 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001716/0.3239, allocations: 330.8 kB / 0.5687 GB, free: 11.66 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003829/0.3243, allocations: 95.91 kB / 0.5688 GB, free: 11.56 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004054/0.3247, allocations: 118.7 kB / 0.5689 GB, free: 11.44 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007574/0.3255, allocations: 219.1 kB / 0.5691 GB, free: 11.21 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.3255, allocations: 0 / 0.5691 GB, free: 11.21 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0009987/0.3265, allocations: 261.2 kB / 0.5694 GB, free: 10.95 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.3265, allocations: 13.97 kB / 0.5694 GB, free: 10.94 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.3265, allocations: 3.938 kB / 0.5694 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.3265, allocations: 0 / 0.5694 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005763/0.3323, allocations: 459.3 kB / 0.5698 GB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003084/0.3354, allocations: 1.949 MB / 0.5717 GB, free: 8.465 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004138/0.3358, allocations: 47.72 kB / 0.5718 GB, free: 8.418 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.656e-05/0.3358, allocations: 7.984 kB / 0.5718 GB, free: 8.41 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (13): * Single equations (assignments): 10 * 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.0002151/0.336, allocations: 161.7 kB / 0.5719 GB, free: 8.242 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.675e-05/0.3361, allocations: 19.86 kB / 0.572 GB, free: 8.223 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.179e-05/0.3362, allocations: 25.8 kB / 0.572 GB, free: 8.191 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.3362, allocations: 8 kB / 0.572 GB, free: 8.184 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.3362, allocations: 4 kB / 0.572 GB, free: 8.18 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.3362, allocations: 0 / 0.572 GB, free: 8.18 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004901/0.3367, allocations: 244.6 kB / 0.5722 GB, free: 7.898 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.3367, allocations: 0 / 0.5722 GB, free: 7.898 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005646/0.3423, allocations: 451.3 kB / 0.5727 GB, free: 7.457 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.231e-06/0.3423, allocations: 8.094 kB / 0.5727 GB, free: 7.449 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.59e-05/0.3423, allocations: 7.922 kB / 0.5727 GB, free: 7.441 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003036/0.3454, allocations: 1.945 MB / 0.5746 GB, free: 5.426 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.3454, allocations: 0 / 0.5746 GB, free: 5.426 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009727/0.3464, allocations: 323.4 kB / 0.5749 GB, free: 5.094 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.122e-05/0.3464, allocations: 23.84 kB / 0.5749 GB, free: 5.07 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.369e-05/0.3465, allocations: 0 / 0.5749 GB, free: 5.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003662/0.3468, allocations: 15.97 kB / 0.5749 GB, free: 5.055 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.669e-05/0.3469, allocations: 19.97 kB / 0.5749 GB, free: 5.035 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.343e-05/0.3469, allocations: 11.92 kB / 0.575 GB, free: 5.023 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002286/0.3472, allocations: 205.2 kB / 0.5752 GB, free: 4.824 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3472, allocations: 0 / 0.5752 GB, free: 4.824 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003606/0.3475, allocations: 71.89 kB / 0.5752 GB, free: 4.754 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 (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.001335/0.3489, allocations: 0.8644 MB / 0.5761 GB, free: 3.863 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.006055/0.3549, allocations: 0.585 MB / 0.5766 GB, free: 3.277 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.3549, allocations: 0 / 0.5766 GB, free: 3.277 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005444/0.3604, allocations: 0.492 MB / 0.5771 GB, free: 2.785 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004257/0.3608, allocations: 48.75 kB / 0.5772 GB, free: 2.738 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005113/0.3659, allocations: 2.977 MB / 0.5801 GB, free: 15.66 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001802/0.3661, allocations: 173 kB / 0.5802 GB, free: 15.48 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001935/0.3663, allocations: 53.91 kB / 0.5803 GB, free: 15.43 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001295/0.3664, allocations: 67.41 kB / 0.5804 GB, free: 15.36 MB / 430.1 MB Notification: Performance of SimCode: time 1.042e-06/0.3664, allocations: 0 / 0.5804 GB, free: 15.36 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03808/0.4045, allocations: 9.618 MB / 0.5897 GB, free: 5.926 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.71/13.11, allocations: 8 kB / 0.5898 GB, free: 5.918 MB / 430.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201879 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_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_nominalDensityViscosity_DPMFLOW/dp_nominalDensityViscosity_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_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: 16.0798930330202]