Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001297/0.001297, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001465/0.001465, allocations: 211.2 kB / 23.73 MB, free: 4.387 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.414/1.414, allocations: 230.6 MB / 257.5 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2334/0.2334, allocations: 46.96 MB / 360.9 MB, free: 4.039 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_thickEdgedOverall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_thickEdgedOverall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002187/0.002187, allocations: 63.89 kB / 0.4961 GB, free: 7.691 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3179/0.3201, allocations: 66.04 MB / 0.5606 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW): time 0.003106/0.3232, allocations: 1.799 MB / 0.5624 GB, free: 2.441 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002062/0.3252, allocations: 1.24 MB / 0.5636 GB, free: 1.195 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.752e-05/0.3253, allocations: 0 / 0.5636 GB, free: 1.195 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002694/0.3256, allocations: 59.67 kB / 0.5637 GB, free: 1.137 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002767/0.3259, allocations: 83.56 kB / 0.5637 GB, free: 1.055 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005115/0.3264, allocations: 231.1 kB / 0.564 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004331/0.3268, allocations: 401.7 kB / 0.5643 GB, free: 444 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.401e-05/0.3269, allocations: 16.92 kB / 0.5644 GB, free: 424 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002776/0.3271, allocations: 163.2 kB / 0.5645 GB, free: 260 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002519/0.3274, allocations: 175 kB / 0.5647 GB, free: 84 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.307e-05/0.3274, allocations: 12 kB / 0.5647 GB, free: 72 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004588/0.3279, allocations: 223.5 kB / 0.5649 GB, free: 15.85 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001787/0.3281, allocations: 131.4 kB / 0.565 GB, free: 15.72 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001577/0.3282, allocations: 162.8 kB / 0.5652 GB, free: 15.56 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007265/0.3289, allocations: 0.5812 MB / 0.5657 GB, free: 14.98 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.329, allocations: 0 / 0.5657 GB, free: 14.98 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.329, allocations: 0 / 0.5657 GB, free: 14.98 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.105e-05/0.329, allocations: 0 / 0.5657 GB, free: 14.98 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.001191/0.3302, allocations: 0.7113 MB / 0.5664 GB, free: 14.23 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.3302, allocations: 12.03 kB / 0.5665 GB, free: 14.22 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001082/0.3303, allocations: 102.7 kB / 0.5666 GB, free: 14.11 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.302e-05/0.3304, allocations: 56.56 kB / 0.5666 GB, free: 14.06 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004454/0.3308, allocations: 261.7 kB / 0.5669 GB, free: 13.78 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.494e-05/0.3309, allocations: 37.36 kB / 0.5669 GB, free: 13.74 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.664e-05/0.331, allocations: 47.94 kB / 0.5669 GB, free: 13.7 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001046/0.332, allocations: 0.6953 MB / 0.5676 GB, free: 13 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.399e-05/0.332, allocations: 0 / 0.5676 GB, free: 13 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.655e-05/0.332, allocations: 16 kB / 0.5676 GB, free: 12.98 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.421e-05/0.3321, allocations: 57.28 kB / 0.5677 GB, free: 12.93 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001126/0.3332, allocations: 0.7233 MB / 0.5684 GB, free: 12.2 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002346/0.3356, allocations: 1.309 MB / 0.5697 GB, free: 10.84 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007068/0.3363, allocations: 354 kB / 0.57 GB, free: 10.49 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002847/0.3366, allocations: 141.2 kB / 0.5701 GB, free: 10.35 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.313e-05/0.3366, allocations: 8.219 kB / 0.5701 GB, free: 10.34 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.2e-05/0.3367, allocations: 42.73 kB / 0.5702 GB, free: 10.29 MB / 414.1 MB Notification: Performance of pre-optimization done (n=27): time 1.794e-06/0.3367, allocations: 0 / 0.5702 GB, free: 10.29 MB / 414.1 MB Notification: Performance of matching and sorting (n=27): time 0.001111/0.3378, allocations: 491.7 kB / 0.5707 GB, free: 9.805 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.257e-05/0.3378, allocations: 51.41 kB / 0.5707 GB, free: 9.742 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005362/0.3384, allocations: 465.5 kB / 0.5712 GB, free: 9.277 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.867e-05/0.3384, allocations: 29.7 kB / 0.5712 GB, free: 9.242 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002059/0.3386, allocations: 264.1 kB / 0.5714 GB, free: 8.977 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.381e-05/0.3387, allocations: 99.17 kB / 0.5715 GB, free: 8.879 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001226/0.3388, allocations: 85.42 kB / 0.5716 GB, free: 8.789 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001845/0.339, allocations: 354.7 kB / 0.5719 GB, free: 8.434 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002776/0.3393, allocations: 139.9 kB / 0.5721 GB, free: 8.297 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003895/0.3397, allocations: 253.3 kB / 0.5723 GB, free: 8 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007389/0.3404, allocations: 435.1 kB / 0.5727 GB, free: 7.527 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.582e-06/0.3404, allocations: 7.938 kB / 0.5727 GB, free: 7.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009122/0.3413, allocations: 481.1 kB / 0.5732 GB, free: 7.043 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.122e-05/0.3413, allocations: 8 kB / 0.5732 GB, free: 7.035 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.998e-06/0.3414, allocations: 4 kB / 0.5732 GB, free: 7.031 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.341e-05/0.3414, allocations: 7.984 kB / 0.5732 GB, free: 7.023 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006032/0.342, allocations: 159.9 kB / 0.5734 GB, free: 6.867 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002459/0.3444, allocations: 3.622 MB / 0.5769 GB, free: 3.105 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003247/0.3448, allocations: 51.58 kB / 0.577 GB, free: 3.055 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.449e-05/0.3448, allocations: 27.92 kB / 0.577 GB, free: 3.027 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.0003097/0.3451, allocations: 221.5 kB / 0.5772 GB, free: 2.801 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.387e-05/0.3452, allocations: 39.77 kB / 0.5772 GB, free: 2.762 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001115/0.3463, allocations: 0.5329 MB / 0.5778 GB, free: 2.223 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.3463, allocations: 4 kB / 0.5778 GB, free: 2.219 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.3463, allocations: 0 / 0.5778 GB, free: 2.219 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.3463, allocations: 4 kB / 0.5778 GB, free: 2.215 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005863/0.3469, allocations: 400.3 kB / 0.5781 GB, free: 1.781 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.3469, allocations: 0 / 0.5781 GB, free: 1.781 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000551/0.3475, allocations: 147.9 kB / 0.5783 GB, free: 1.637 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/0.3475, allocations: 0 / 0.5783 GB, free: 1.637 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.809e-05/0.3475, allocations: 12 kB / 0.5783 GB, free: 1.625 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002421/0.3499, allocations: 3.602 MB / 0.5818 GB, free: 13.88 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.3499, allocations: 0 / 0.5818 GB, free: 13.88 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001147/0.3511, allocations: 0.6688 MB / 0.5825 GB, free: 13.2 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002559/0.3513, allocations: 87.55 kB / 0.5826 GB, free: 13.11 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.064e-05/0.3514, allocations: 12 kB / 0.5826 GB, free: 13.1 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002073/0.3516, allocations: 15.92 kB / 0.5826 GB, free: 13.09 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.208e-05/0.3517, allocations: 35.88 kB / 0.5826 GB, free: 13.05 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.926e-05/0.3517, allocations: 12 kB / 0.5826 GB, free: 13.04 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004107/0.3521, allocations: 351.1 kB / 0.583 GB, free: 12.7 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3521, allocations: 0 / 0.583 GB, free: 12.7 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005607/0.3527, allocations: 163.5 kB / 0.5831 GB, free: 12.54 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.001692/0.3544, allocations: 1.29 MB / 0.5844 GB, free: 11.22 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00109/0.3555, allocations: 424.3 kB / 0.5848 GB, free: 10.8 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3555, allocations: 0 / 0.5848 GB, free: 10.8 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006478/0.3561, allocations: 264 kB / 0.585 GB, free: 10.55 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004287/0.3565, allocations: 33.44 kB / 0.5851 GB, free: 10.52 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006735/0.3633, allocations: 4.883 MB / 0.5898 GB, free: 5.461 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003314/0.3636, allocations: 298.1 kB / 0.5901 GB, free: 5.145 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003524/0.364, allocations: 143 kB / 0.5903 GB, free: 5.004 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002636/0.3642, allocations: 171.4 kB / 0.5904 GB, free: 4.836 MB / 430.1 MB Notification: Performance of SimCode: time 8.52e-07/0.3642, allocations: 0 / 0.5904 GB, free: 4.836 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0414/0.4056, allocations: 12.09 MB / 0.6022 GB, free: 8.973 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.81/13.21, allocations: 8 kB / 0.6022 GB, free: 8.965 MB / 446.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_thickEdgedOverall_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --stepSize=0.0002 --timeout=50 --tolerance=1e-05 ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_thickEdgedOverall_DPMFLOW.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_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.733297656755894]