Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_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_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_thickEdgedOverall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001203/0.001203, allocations: 110.4 kB / 17.78 MB, free: 5.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00125/0.00125, allocations: 187.9 kB / 18.71 MB, free: 4.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.354/1.354, allocations: 222.9 MB / 242.4 MB, free: 15.12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1915/0.1915, allocations: 44.18 MB / 336.8 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001296/0.001296, allocations: 59.91 kB / 470.1 MB, free: 13.67 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3366/0.3379, allocations: 60.83 MB / 0.5184 GB, free: 3.309 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW): time 0.00259/0.3406, allocations: 1.832 MB / 0.5202 GB, free: 2.043 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001664/0.3423, allocations: 1.332 MB / 0.5215 GB, free: 1.121 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.04e-05/0.3423, allocations: 1.281 kB / 0.5215 GB, free: 1.121 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002421/0.3426, allocations: 65.08 kB / 0.5216 GB, free: 1.086 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002282/0.3428, allocations: 81.67 kB / 0.5217 GB, free: 1.043 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004512/0.3433, allocations: 216.5 kB / 0.5219 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003538/0.3437, allocations: 400.4 kB / 0.5223 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.362e-05/0.3437, allocations: 47.36 kB / 0.5223 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002042/0.344, allocations: 154.1 kB / 0.5225 GB, free: 0.6836 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002251/0.3442, allocations: 172.7 kB / 0.5226 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.952e-05/0.3442, allocations: 14.28 kB / 0.5226 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006724/0.3449, allocations: 464.5 kB / 0.5231 GB, free: 472 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001589/0.3451, allocations: 135.4 kB / 0.5232 GB, free: 416 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001476/0.3452, allocations: 192 kB / 0.5234 GB, free: 300 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006769/0.3459, allocations: 0.6262 MB / 0.524 GB, free: 56 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.3459, allocations: 2.25 kB / 0.524 GB, free: 56 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.3459, allocations: 0 / 0.524 GB, free: 56 kB / 382.1 MB Notification: Performance of Transformations before backend: time 6.873e-06/0.3459, allocations: 0 / 0.524 GB, free: 56 kB / 382.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.001121/0.3471, allocations: 0.7676 MB / 0.5247 GB, free: 15.48 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.3471, allocations: 11.44 kB / 0.5248 GB, free: 15.48 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001124/0.3472, allocations: 101.8 kB / 0.5249 GB, free: 15.4 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.091e-05/0.3473, allocations: 52.17 kB / 0.5249 GB, free: 15.38 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004434/0.3478, allocations: 322.8 kB / 0.5252 GB, free: 15.11 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.435e-05/0.3478, allocations: 30.25 kB / 0.5252 GB, free: 15.1 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.761e-05/0.3479, allocations: 47.86 kB / 0.5253 GB, free: 15.08 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000993/0.3489, allocations: 0.7003 MB / 0.526 GB, free: 14.82 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.397e-05/0.3489, allocations: 0.5156 kB / 0.526 GB, free: 14.82 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.818e-05/0.349, allocations: 16.12 kB / 0.526 GB, free: 14.81 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.279e-05/0.349, allocations: 55.62 kB / 0.526 GB, free: 14.81 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009783/0.35, allocations: 0.7228 MB / 0.5267 GB, free: 14.49 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002285/0.3523, allocations: 1.702 MB / 0.5284 GB, free: 13.16 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006189/0.353, allocations: 361.8 kB / 0.5288 GB, free: 12.98 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002606/0.3532, allocations: 140.4 kB / 0.5289 GB, free: 12.92 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.347e-05/0.3533, allocations: 13.47 kB / 0.5289 GB, free: 12.91 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.51e-05/0.3533, allocations: 40 kB / 0.5289 GB, free: 12.87 MB / 398.1 MB Notification: Performance of pre-optimization done (n=27): time 1.593e-06/0.3533, allocations: 3.938 kB / 0.5289 GB, free: 12.86 MB / 398.1 MB Notification: Performance of matching and sorting (n=27): time 0.0009765/0.3543, allocations: 495.2 kB / 0.5294 GB, free: 12.64 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.802e-05/0.3544, allocations: 58.42 kB / 0.5295 GB, free: 12.57 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004492/0.3548, allocations: 452.9 kB / 0.5299 GB, free: 12.31 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.609e-05/0.3548, allocations: 30.8 kB / 0.5299 GB, free: 12.27 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001677/0.355, allocations: 275.4 kB / 0.5302 GB, free: 12.03 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.531e-05/0.3551, allocations: 95.59 kB / 0.5303 GB, free: 11.95 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001211/0.3552, allocations: 78.25 kB / 0.5304 GB, free: 11.9 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000131/0.3554, allocations: 354.3 kB / 0.5307 GB, free: 11.55 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002633/0.3556, allocations: 141.3 kB / 0.5308 GB, free: 11.5 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003721/0.356, allocations: 249.8 kB / 0.5311 GB, free: 11.3 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006593/0.3567, allocations: 434.2 kB / 0.5315 GB, free: 11.01 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.558e-06/0.3567, allocations: 5.25 kB / 0.5315 GB, free: 11 MB / 398.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008322/0.3575, allocations: 483.4 kB / 0.532 GB, free: 10.77 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.3576, allocations: 5.969 kB / 0.532 GB, free: 10.77 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/0.3576, allocations: 4.781 kB / 0.532 GB, free: 10.77 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.038e-05/0.3576, allocations: 13.36 kB / 0.532 GB, free: 10.77 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006125/0.3582, allocations: 161.1 kB / 0.5321 GB, free: 10.72 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001759/0.36, allocations: 3.607 MB / 0.5357 GB, free: 7.105 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003079/0.3603, allocations: 60.61 kB / 0.5357 GB, free: 7.062 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.236e-05/0.3604, allocations: 25.22 kB / 0.5357 GB, free: 7.055 MB / 398.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.0002801/0.3607, allocations: 222.1 kB / 0.5359 GB, free: 6.879 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.62e-05/0.3607, allocations: 37.14 kB / 0.536 GB, free: 6.859 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001069/0.3618, allocations: 0.5265 MB / 0.5365 GB, free: 6.578 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.476e-06/0.3618, allocations: 3.938 kB / 0.5365 GB, free: 6.578 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.3619, allocations: 3.984 kB / 0.5365 GB, free: 6.574 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.201e-06/0.3619, allocations: 1.406 kB / 0.5365 GB, free: 6.574 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007703/0.3626, allocations: 451.6 kB / 0.5369 GB, free: 6.223 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.154e-06/0.3627, allocations: 3.984 kB / 0.5369 GB, free: 6.219 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005977/0.3633, allocations: 141.7 kB / 0.5371 GB, free: 6.18 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.737e-06/0.3633, allocations: 2.156 kB / 0.5371 GB, free: 6.18 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.163e-05/0.3633, allocations: 9.844 kB / 0.5371 GB, free: 6.176 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001963/0.3653, allocations: 3.607 MB / 0.5406 GB, free: 2.555 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.3653, allocations: 0 / 0.5406 GB, free: 2.555 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001204/0.3665, allocations: 0.6585 MB / 0.5413 GB, free: 2.188 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003005/0.3668, allocations: 156.4 kB / 0.5414 GB, free: 2.051 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.765e-05/0.3669, allocations: 10.22 kB / 0.5414 GB, free: 2.043 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002168/0.3671, allocations: 21.23 kB / 0.5414 GB, free: 2.027 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.526e-05/0.3672, allocations: 32.97 kB / 0.5415 GB, free: 2.008 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.106e-05/0.3673, allocations: 15.31 kB / 0.5415 GB, free: 2.004 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000381/0.3676, allocations: 344 kB / 0.5418 GB, free: 1.809 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3676, allocations: 0 / 0.5418 GB, free: 1.809 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006474/0.3683, allocations: 169.5 kB / 0.542 GB, free: 1.762 MB / 398.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.001767/0.3701, allocations: 1.277 MB / 0.5432 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001142/0.3712, allocations: 440.7 kB / 0.5436 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.3712, allocations: 1.281 kB / 0.5436 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006658/0.3719, allocations: 251.6 kB / 0.5439 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000462/0.3724, allocations: 34.41 kB / 0.5439 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006064/0.3785, allocations: 4.877 MB / 0.5487 GB, free: 12.18 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004053/0.3789, allocations: 0.9015 MB / 0.5495 GB, free: 11.26 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003117/0.3792, allocations: 143 kB / 0.5497 GB, free: 11.12 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000225/0.3795, allocations: 171.4 kB / 0.5498 GB, free: 10.95 MB / 414.1 MB Notification: Performance of SimCode: time 1.242e-06/0.3795, allocations: 0 / 0.5498 GB, free: 10.95 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03193/0.4114, allocations: 11.46 MB / 0.561 GB, free: 15.73 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.61/12.02, allocations: 10.81 kB / 0.5611 GB, free: 15.72 MB / 430.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_thickEdgedOverall_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_thickEdgedOverall_DPMFLOW.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.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.0.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/Orifice/dp_thickEdgedOverall_DPMFLOW/dp_thickEdgedOverall_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches