Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.0008411/0.0008411, allocations: 80.48 kB / 19.92 MB, free: 4.633 MB / 18.57 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.001662/0.001662, allocations: 169.9 kB / 23.21 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8535/0.8535, allocations: 158.6 MB / 185 MB, free: 3.039 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1337/0.1337, allocations: 32.37 MB / 269.6 MB, free: 14.95 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_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_3_2_3_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 2.013e-06/2.013e-06, allocations: 0 / 406.9 MB, free: 2.199 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.087e-05/2.288e-05, allocations: 10.22 kB / 406.9 MB, free: 2.188 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW): time 0.002543/0.002566, allocations: 1.784 MB / 408.7 MB, free: 396 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001658/0.004224, allocations: 1.271 MB / 409.9 MB, free: 15.11 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.599e-05/0.00431, allocations: 4 kB / 409.9 MB, free: 15.1 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002745/0.004585, allocations: 51.64 kB / 410 MB, free: 15.05 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002608/0.004846, allocations: 91.48 kB / 410.1 MB, free: 14.96 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004857/0.005331, allocations: 231 kB / 410.3 MB, free: 14.73 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003111/0.005643, allocations: 413.5 kB / 410.7 MB, free: 14.33 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.132e-05/0.005694, allocations: 16.94 kB / 410.7 MB, free: 14.31 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002281/0.005922, allocations: 215.1 kB / 410.9 MB, free: 14.1 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001952/0.006117, allocations: 147.5 kB / 411.1 MB, free: 13.96 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 2.587e-05/0.006143, allocations: 12 kB / 411.1 MB, free: 13.95 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003314/0.006474, allocations: 227.5 kB / 411.3 MB, free: 13.72 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001496/0.006624, allocations: 139.4 kB / 411.5 MB, free: 13.59 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001023/0.006726, allocations: 119.5 kB / 411.6 MB, free: 13.47 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005303/0.007257, allocations: 0.5603 MB / 412.1 MB, free: 12.91 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.00726, allocations: 0 / 412.1 MB, free: 12.91 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.007262, allocations: 4 kB / 412.1 MB, free: 12.9 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.741e-06/0.007268, allocations: 0 / 412.1 MB, free: 12.9 MB / 394.7 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.0008007/0.008068, allocations: 0.7035 MB / 412.8 MB, free: 12.17 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.008105, allocations: 8.031 kB / 412.8 MB, free: 12.16 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.405e-05/0.008179, allocations: 102.7 kB / 412.9 MB, free: 12.05 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.504e-05/0.008244, allocations: 52.61 kB / 413 MB, free: 12 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003002/0.008544, allocations: 265.7 kB / 413.3 MB, free: 11.71 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.914e-05/0.008573, allocations: 33.36 kB / 413.3 MB, free: 11.68 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.635e-05/0.00862, allocations: 48.27 kB / 413.3 MB, free: 11.63 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006931/0.009313, allocations: 0.7034 MB / 414 MB, free: 10.92 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.009324, allocations: 0 / 414 MB, free: 10.92 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.71e-05/0.009351, allocations: 19.98 kB / 414.1 MB, free: 10.9 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.703e-05/0.009398, allocations: 65.25 kB / 414.1 MB, free: 10.84 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007266/0.01012, allocations: 0.7155 MB / 414.8 MB, free: 10.12 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001505/0.01163, allocations: 1.301 MB / 416.1 MB, free: 8.777 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000402/0.01203, allocations: 339.6 kB / 416.5 MB, free: 8.438 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001533/0.01219, allocations: 133.2 kB / 416.6 MB, free: 8.305 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.88e-05/0.01221, allocations: 12.22 kB / 416.6 MB, free: 8.293 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.945e-05/0.01223, allocations: 50.61 kB / 416.7 MB, free: 8.234 MB / 394.7 MB Notification: Performance of pre-optimization done (n=27): time 1.373e-06/0.01224, allocations: 0 / 416.7 MB, free: 8.234 MB / 394.7 MB Notification: Performance of matching and sorting (n=27): time 0.0006189/0.01285, allocations: 495 kB / 417.1 MB, free: 7.746 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.86e-05/0.01288, allocations: 51.41 kB / 417.2 MB, free: 7.684 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003124/0.0132, allocations: 465.4 kB / 417.7 MB, free: 7.219 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.946e-05/0.01321, allocations: 33.7 kB / 417.7 MB, free: 7.18 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001169/0.01333, allocations: 264.1 kB / 417.9 MB, free: 6.918 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.459e-05/0.01339, allocations: 99.16 kB / 418 MB, free: 6.82 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.632e-05/0.01346, allocations: 89.42 kB / 418.1 MB, free: 6.727 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.04e-05/0.01355, allocations: 350.8 kB / 418.5 MB, free: 6.375 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001649/0.01372, allocations: 143.9 kB / 418.6 MB, free: 6.234 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002108/0.01393, allocations: 249.5 kB / 418.9 MB, free: 5.941 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004023/0.01433, allocations: 426.3 kB / 419.3 MB, free: 5.477 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.01433, allocations: 4 kB / 419.3 MB, free: 5.473 MB / 394.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005055/0.01484, allocations: 484.7 kB / 419.7 MB, free: 4.992 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.01485, allocations: 4.469 kB / 419.8 MB, free: 4.988 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.405e-06/0.01486, allocations: 11.98 kB / 419.8 MB, free: 4.977 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.01488, allocations: 12 kB / 419.8 MB, free: 4.965 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003123/0.01519, allocations: 163.9 kB / 419.9 MB, free: 4.805 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001229/0.01642, allocations: 3.602 MB / 423.5 MB, free: 1.062 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001518/0.01657, allocations: 67.5 kB / 423.6 MB, free: 0.9961 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.379e-05/0.01659, allocations: 20 kB / 423.6 MB, free: 0.9766 MB / 394.7 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.0001574/0.01675, allocations: 221.5 kB / 423.8 MB, free: 0.75 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.298e-05/0.0168, allocations: 43.75 kB / 423.9 MB, free: 0.707 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006285/0.01742, allocations: 0.5319 MB / 424.4 MB, free: 172 kB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.01743, allocations: 7.984 kB / 424.4 MB, free: 164 kB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.01743, allocations: 4 kB / 424.4 MB, free: 160 kB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.01743, allocations: 0 / 424.4 MB, free: 160 kB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003401/0.01777, allocations: 404.3 kB / 424.8 MB, free: 15.72 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.01778, allocations: 0 / 424.8 MB, free: 15.72 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002644/0.01804, allocations: 139.9 kB / 425 MB, free: 15.58 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.01804, allocations: 4 kB / 425 MB, free: 15.58 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.8e-05/0.01806, allocations: 15.98 kB / 425 MB, free: 15.56 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001128/0.01919, allocations: 3.598 MB / 428.6 MB, free: 11.82 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.01919, allocations: 0 / 428.6 MB, free: 11.82 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006423/0.01983, allocations: 0.6721 MB / 429.2 MB, free: 11.14 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001105/0.01994, allocations: 88.05 kB / 429.3 MB, free: 11.05 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.71e-05/0.01998, allocations: 19.89 kB / 429.4 MB, free: 11.03 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001012/0.02008, allocations: 11.98 kB / 429.4 MB, free: 11.02 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.987e-05/0.02013, allocations: 23.97 kB / 429.4 MB, free: 11 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.838e-05/0.02015, allocations: 19.92 kB / 429.4 MB, free: 10.98 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002305/0.02038, allocations: 343.1 kB / 429.7 MB, free: 10.65 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.02038, allocations: 0 / 429.7 MB, free: 10.65 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003311/0.02071, allocations: 167.5 kB / 429.9 MB, free: 10.48 MB / 410.7 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.000983/0.0217, allocations: 1.278 MB / 431.2 MB, free: 9.18 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005953/0.02229, allocations: 427.6 kB / 431.6 MB, free: 8.762 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.02229, allocations: 0 / 431.6 MB, free: 8.762 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003276/0.02262, allocations: 252.8 kB / 431.8 MB, free: 8.516 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002837/0.0229, allocations: 37.44 kB / 431.9 MB, free: 8.477 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004279/0.02718, allocations: 4.906 MB / 436.8 MB, free: 3.395 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001903/0.02737, allocations: 302.3 kB / 437.1 MB, free: 3.078 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001989/0.02757, allocations: 143 kB / 437.2 MB, free: 2.934 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001645/0.02774, allocations: 168.4 kB / 437.4 MB, free: 2.77 MB / 410.7 MB Notification: Performance of SimCode: time 7.71e-07/0.02774, allocations: 0 / 437.4 MB, free: 2.77 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02286/0.0506, allocations: 12.25 MB / 449.6 MB, free: 6.504 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.61/7.66, allocations: 3.938 kB / 449.6 MB, free: 6.5 MB / 426.7 MB " [Timeout remaining time 652] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_thickEdgedOverall_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --stepSize=0.0002 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_thickEdgedOverall_DPMFLOW.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/Orifice/dp_thickEdgedOverall_DPMFLOW/dp_thickEdgedOverall_DPMFLOW.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 9.973147199489176]