Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_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.001562/0.001562, allocations: 109.1 kB / 21.22 MB, free: 0.7539 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.001763/0.001763, allocations: 216.9 kB / 24.53 MB, free: 4.012 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.396/1.396, allocations: 230.5 MB / 258.2 MB, free: 8.023 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.2199/0.2199, allocations: 46.92 MB / 361.6 MB, free: 4.195 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.Orifice.dp_thickEdgedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_thickEdgedOverall_DPMFLOW",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_thickEdgedOverall_DPMFLOW",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002223/0.002223, allocations: 67.89 kB / 0.497 GB, free: 7.75 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3011/0.3033, allocations: 66.09 MB / 0.5615 GB, free: 4.168 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW): time 0.003286/0.3066, allocations: 1.86 MB / 0.5633 GB, free: 2.301 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002361/0.309, allocations: 1.384 MB / 0.5647 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001026/0.3091, allocations: 4 kB / 0.5647 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003152/0.3094, allocations: 59.66 kB / 0.5648 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000304/0.3097, allocations: 87.56 kB / 0.5648 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005137/0.3102, allocations: 231.1 kB / 0.5651 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004672/0.3107, allocations: 401.8 kB / 0.5654 GB, free: 144 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.28e-05/0.3107, allocations: 12.94 kB / 0.5655 GB, free: 128 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002891/0.311, allocations: 167.1 kB / 0.5656 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002784/0.3113, allocations: 179.1 kB / 0.5658 GB, free: 15.79 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.131e-05/0.3113, allocations: 12 kB / 0.5658 GB, free: 15.77 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007378/0.3121, allocations: 463 kB / 0.5662 GB, free: 15.32 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001795/0.3122, allocations: 131.4 kB / 0.5664 GB, free: 15.19 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000187/0.3124, allocations: 194.6 kB / 0.5666 GB, free: 15 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000847/0.3133, allocations: 0.6319 MB / 0.5672 GB, free: 14.37 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.3133, allocations: 0 / 0.5672 GB, free: 14.37 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.3133, allocations: 3.938 kB / 0.5672 GB, free: 14.36 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.003e-06/0.3133, allocations: 3.938 kB / 0.5672 GB, free: 14.36 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: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.001175/0.3145, allocations: 0.7152 MB / 0.5679 GB, free: 13.61 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.933e-05/0.3145, allocations: 8.031 kB / 0.5679 GB, free: 13.6 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.396e-05/0.3145, allocations: 13.19 kB / 0.5679 GB, free: 13.59 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001036/0.3146, allocations: 106.7 kB / 0.568 GB, free: 13.48 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.445e-05/0.3147, allocations: 56.56 kB / 0.5681 GB, free: 13.42 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003887/0.3151, allocations: 271 kB / 0.5683 GB, free: 13.13 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.132e-05/0.3152, allocations: 33.12 kB / 0.5683 GB, free: 13.1 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.948e-05/0.3152, allocations: 40 kB / 0.5684 GB, free: 13.06 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009837/0.3162, allocations: 0.6992 MB / 0.5691 GB, free: 12.36 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/0.3162, allocations: 0 / 0.5691 GB, free: 12.36 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.112e-05/0.3163, allocations: 16 kB / 0.5691 GB, free: 12.34 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.045e-05/0.3163, allocations: 61.27 kB / 0.5691 GB, free: 12.28 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001053/0.3174, allocations: 0.7234 MB / 0.5698 GB, free: 11.56 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002486/0.3199, allocations: 1.672 MB / 0.5715 GB, free: 9.758 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006328/0.3205, allocations: 347.4 kB / 0.5718 GB, free: 9.406 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002629/0.3208, allocations: 137.2 kB / 0.5719 GB, free: 9.27 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.302e-05/0.3208, allocations: 8.219 kB / 0.5719 GB, free: 9.262 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.056e-05/0.3209, allocations: 42.78 kB / 0.572 GB, free: 9.211 MB / 414.1 MB Notification: Performance of pre-optimization done (n=27): time 2.084e-06/0.3209, allocations: 0 / 0.572 GB, free: 9.211 MB / 414.1 MB Notification: Performance of matching and sorting (n=27): time 0.001006/0.3219, allocations: 491.7 kB / 0.5725 GB, free: 8.727 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.234e-05/0.3219, allocations: 55.41 kB / 0.5725 GB, free: 8.66 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005023/0.3224, allocations: 453.5 kB / 0.5729 GB, free: 8.207 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.9e-05/0.3224, allocations: 25.7 kB / 0.573 GB, free: 8.176 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001832/0.3226, allocations: 272.1 kB / 0.5732 GB, free: 7.906 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.365e-05/0.3227, allocations: 107.1 kB / 0.5733 GB, free: 7.801 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001226/0.3228, allocations: 89.41 kB / 0.5734 GB, free: 7.707 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.323, allocations: 350.7 kB / 0.5737 GB, free: 7.355 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002743/0.3233, allocations: 139.9 kB / 0.5739 GB, free: 7.219 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003626/0.3236, allocations: 253.4 kB / 0.5741 GB, free: 6.922 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006753/0.3243, allocations: 434.1 kB / 0.5745 GB, free: 6.449 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.3243, allocations: 0 / 0.5745 GB, free: 6.449 MB / 414.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008471/0.3251, allocations: 476.9 kB / 0.575 GB, free: 5.977 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.265e-05/0.3252, allocations: 11.98 kB / 0.575 GB, free: 5.965 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.809e-06/0.3252, allocations: 4.469 kB / 0.575 GB, free: 5.961 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.938e-05/0.3252, allocations: 8 kB / 0.575 GB, free: 5.953 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006017/0.3258, allocations: 159.9 kB / 0.5752 GB, free: 5.797 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002198/0.328, allocations: 3.614 MB / 0.5787 GB, free: 2.043 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002851/0.3283, allocations: 63.48 kB / 0.5788 GB, free: 1.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.669e-05/0.3283, allocations: 23.94 kB / 0.5788 GB, free: 1.957 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (42): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * 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): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002763/0.3286, allocations: 225.5 kB / 0.579 GB, free: 1.727 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.746e-05/0.3287, allocations: 39.72 kB / 0.579 GB, free: 1.688 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001086/0.3298, allocations: 0.5329 MB / 0.5796 GB, free: 1.148 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/0.3298, allocations: 4 kB / 0.5796 GB, free: 1.145 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.3298, allocations: 0 / 0.5796 GB, free: 1.145 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.194e-06/0.3298, allocations: 3.938 kB / 0.5796 GB, free: 1.141 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005963/0.3304, allocations: 428.2 kB / 0.58 GB, free: 0.6797 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.3304, allocations: 0 / 0.58 GB, free: 0.6797 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000552/0.3309, allocations: 135.9 kB / 0.5801 GB, free: 0.5469 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.955e-06/0.3309, allocations: 4 kB / 0.5801 GB, free: 0.543 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.842e-05/0.331, allocations: 12 kB / 0.5801 GB, free: 0.5312 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002159/0.3331, allocations: 3.61 MB / 0.5836 GB, free: 12.78 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.3331, allocations: 0 / 0.5836 GB, free: 12.78 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00108/0.3342, allocations: 0.6606 MB / 0.5843 GB, free: 12.11 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002129/0.3344, allocations: 79.67 kB / 0.5844 GB, free: 12.03 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.844e-05/0.3345, allocations: 15.89 kB / 0.5844 GB, free: 12.01 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002069/0.3347, allocations: 11.98 kB / 0.5844 GB, free: 12 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.435e-05/0.3348, allocations: 31.89 kB / 0.5844 GB, free: 11.97 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.846e-05/0.3348, allocations: 16 kB / 0.5844 GB, free: 11.95 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003952/0.3352, allocations: 351.1 kB / 0.5848 GB, free: 11.61 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3352, allocations: 0 / 0.5848 GB, free: 11.61 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005489/0.3358, allocations: 163.5 kB / 0.5849 GB, free: 11.45 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (L) * 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 (33): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * 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): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001649/0.3374, allocations: 1.282 MB / 0.5862 GB, free: 10.14 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001131/0.3385, allocations: 427.5 kB / 0.5866 GB, free: 9.723 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.3385, allocations: 3.938 kB / 0.5866 GB, free: 9.719 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006778/0.3392, allocations: 252.9 kB / 0.5868 GB, free: 9.473 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004382/0.3397, allocations: 37.44 kB / 0.5869 GB, free: 9.438 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006896/0.3465, allocations: 4.878 MB / 0.5916 GB, free: 4.391 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005958/0.3471, allocations: 0.9092 MB / 0.5925 GB, free: 3.453 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003475/0.3475, allocations: 143 kB / 0.5927 GB, free: 3.312 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002713/0.3478, allocations: 163.4 kB / 0.5928 GB, free: 3.152 MB / 430.1 MB Notification: Performance of SimCode: time 7.51e-07/0.3478, allocations: 0 / 0.5928 GB, free: 3.152 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03628/0.384, allocations: 11.63 MB / 0.6042 GB, free: 7.676 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.8/13.18, allocations: 12 kB / 0.6042 GB, free: 7.664 MB / 446.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_thickEdgedOverall_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --stepSize=0.0002 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_thickEdgedOverall_DPMFLOW.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/Orifice/dp_thickEdgedOverall_DPMFLOW/dp_thickEdgedOverall_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_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.788111289031804]