Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.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.TestCases.PressureLoss.Orifice,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice",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.001411/0.001411, allocations: 108 kB / 16.41 MB, free: 6.488 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.00134/0.00134, allocations: 188.1 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.398/1.398, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2114/0.2114, allocations: 43.52 MB / 314.1 MB, free: 480 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002008/0.002008, allocations: 79.86 kB / 441.3 MB, free: 6.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1052, allocations: 57.78 MB / 499.1 MB, free: 12.32 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice): time 0.4354/0.5407, allocations: 187.7 MB / 0.6707 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0103/0.551, allocations: 7.031 MB / 0.6776 GB, free: 8.043 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008558/0.5519, allocations: 15.88 kB / 0.6776 GB, free: 8.027 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001017/0.553, allocations: 341.7 kB / 0.6779 GB, free: 7.691 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.006117/0.5591, allocations: 2.381 MB / 0.6802 GB, free: 5.309 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002386/0.5615, allocations: 0.9472 MB / 0.6812 GB, free: 4.359 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.00249/0.564, allocations: 1.691 MB / 0.6828 GB, free: 2.66 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006994/0.5647, allocations: 450 kB / 0.6832 GB, free: 2.211 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001679/0.5664, allocations: 0.8371 MB / 0.6841 GB, free: 1.371 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007335/0.5672, allocations: 498 kB / 0.6845 GB, free: 0.8828 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001037/0.5673, allocations: 56 kB / 0.6846 GB, free: 0.8281 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00338/0.5707, allocations: 1.505 MB / 0.6861 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002552/0.5709, allocations: 175.4 kB / 0.6862 GB, free: 15.15 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0005536/0.5715, allocations: 378.3 kB / 0.6866 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.00333/0.5748, allocations: 1.741 MB / 0.6883 GB, free: 13.03 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.5749, allocations: 0 / 0.6883 GB, free: 13.03 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.727e-06/0.5749, allocations: 0 / 0.6883 GB, free: 13.03 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.054e-05/0.5749, allocations: 3.938 kB / 0.6883 GB, free: 13.03 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.002164/0.5771, allocations: 1.171 MB / 0.6894 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/0.5771, allocations: 11.89 kB / 0.6894 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001253/0.5772, allocations: 94.45 kB / 0.6895 GB, free: 11.69 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001162/0.5784, allocations: 155.5 kB / 0.6897 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009419/0.5794, allocations: 0.5124 MB / 0.6902 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.373e-05/0.5794, allocations: 35.19 kB / 0.6902 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.158e-05/0.5795, allocations: 44 kB / 0.6903 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001156/0.5807, allocations: 0.636 MB / 0.6909 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.487e-05/0.5807, allocations: 0 / 0.6909 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.379e-05/0.5807, allocations: 27.92 kB / 0.6909 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.436e-05/0.5808, allocations: 16 kB / 0.6909 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009243/0.5817, allocations: 495.6 kB / 0.6914 GB, free: 9.699 MB / 0.5294 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003373/0.5851, allocations: 2.668 MB / 0.694 GB, free: 6.844 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007026/0.5858, allocations: 325.3 kB / 0.6943 GB, free: 6.52 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002895/0.5861, allocations: 164.8 kB / 0.6945 GB, free: 6.355 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001462/0.5876, allocations: 1.296 MB / 0.6957 GB, free: 4.84 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.743e-05/0.5876, allocations: 42.56 kB / 0.6958 GB, free: 4.789 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=35): time 2.023e-06/0.5876, allocations: 0 / 0.6958 GB, free: 4.789 MB / 0.5294 GB Notification: Performance of matching and sorting (n=35): time 0.001704/0.5893, allocations: 0.7019 MB / 0.6965 GB, free: 4.059 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001025/0.5895, allocations: 162.1 kB / 0.6966 GB, free: 3.863 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006556/0.5901, allocations: 0.5223 MB / 0.6971 GB, free: 3.332 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.74e-05/0.5902, allocations: 37.7 kB / 0.6972 GB, free: 3.289 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002526/0.5904, allocations: 308.1 kB / 0.6975 GB, free: 2.984 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001146/0.5906, allocations: 123 kB / 0.6976 GB, free: 2.863 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001904/0.5908, allocations: 126.1 kB / 0.6977 GB, free: 2.734 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001894/0.591, allocations: 362.8 kB / 0.698 GB, free: 2.371 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002792/0.5912, allocations: 141 kB / 0.6982 GB, free: 2.234 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004488/0.5917, allocations: 322.9 kB / 0.6985 GB, free: 1.84 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007549/0.5925, allocations: 474.7 kB / 0.6989 GB, free: 1.312 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.5925, allocations: 0 / 0.6989 GB, free: 1.312 MB / 0.5294 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001066/0.5935, allocations: 0.5715 MB / 0.6995 GB, free: 0.7305 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.522e-05/0.5936, allocations: 8 kB / 0.6995 GB, free: 0.7227 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/0.5936, allocations: 4.625 kB / 0.6995 GB, free: 0.7188 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001559/0.5952, allocations: 240.5 kB / 0.6997 GB, free: 492 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003806/0.5956, allocations: 115.8 kB / 0.6998 GB, free: 376 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005352/0.5961, allocations: 0.5914 MB / 0.7004 GB, free: 15.75 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003445/0.5965, allocations: 56.42 kB / 0.7005 GB, free: 15.7 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.104e-05/0.5966, allocations: 48 kB / 0.7005 GB, free: 15.65 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (52): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0002798/0.5968, allocations: 201.6 kB / 0.7007 GB, free: 15.44 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001253/0.597, allocations: 67.61 kB / 0.7008 GB, free: 15.38 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001493/0.5985, allocations: 0.7347 MB / 0.7015 GB, free: 14.61 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/0.5985, allocations: 4 kB / 0.7015 GB, free: 14.61 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.5985, allocations: 0 / 0.7015 GB, free: 14.61 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.5985, allocations: 4 kB / 0.7015 GB, free: 14.6 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001527/0.6, allocations: 1.027 MB / 0.7025 GB, free: 13.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.6001, allocations: 0 / 0.7025 GB, free: 13.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002096/0.6003, allocations: 56.03 kB / 0.7026 GB, free: 13.44 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003154/0.6034, allocations: 444.2 kB / 0.703 GB, free: 13 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.978e-05/0.6035, allocations: 15.98 kB / 0.703 GB, free: 12.99 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004998/0.604, allocations: 0.5921 MB / 0.7036 GB, free: 12.37 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.44e-06/0.604, allocations: 3.938 kB / 0.7036 GB, free: 12.37 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007932/0.6048, allocations: 0.4937 MB / 0.7041 GB, free: 11.84 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001649/0.605, allocations: 140.7 kB / 0.7042 GB, free: 11.68 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001022/0.6051, allocations: 23.89 kB / 0.7042 GB, free: 11.66 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000323/0.6054, allocations: 19.92 kB / 0.7042 GB, free: 11.64 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.482e-05/0.6055, allocations: 31.84 kB / 0.7043 GB, free: 11.61 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.051e-05/0.6056, allocations: 24.05 kB / 0.7043 GB, free: 11.58 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0005694/0.6061, allocations: 438.8 kB / 0.7047 GB, free: 11.16 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6061, allocations: 0 / 0.7047 GB, free: 11.16 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000963/0.6071, allocations: 335.2 kB / 0.705 GB, free: 10.83 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (28): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002068/0.6092, allocations: 1.403 MB / 0.7064 GB, free: 9.383 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0008622/0.6101, allocations: 376.9 kB / 0.7068 GB, free: 9.016 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.6101, allocations: 3.938 kB / 0.7068 GB, free: 9.012 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003225/0.6104, allocations: 159.9 kB / 0.7069 GB, free: 8.855 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001896/0.6123, allocations: 409.8 kB / 0.7073 GB, free: 8.461 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00711/0.6194, allocations: 5.042 MB / 0.7122 GB, free: 3.172 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000524/0.62, allocations: 0.8676 MB / 0.7131 GB, free: 2.277 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0007937/0.6208, allocations: 225.1 kB / 0.7133 GB, free: 2.055 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003779/0.6212, allocations: 227.3 kB / 0.7135 GB, free: 1.832 MB / 0.545 GB Notification: Performance of SimCode: time 8.32e-07/0.6212, allocations: 0 / 0.7135 GB, free: 1.832 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05938/0.6806, allocations: 24.02 MB / 0.737 GB, free: 9.793 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.95/13.63, allocations: 19.72 kB / 0.737 GB, free: 9.773 MB / 0.5762 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/TestCases/PressureLoss/Orifice/Orifice.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches