Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.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.0008272/0.0008272, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.0007929/0.0007929, allocations: 170 kB / 23.95 MB, free: 0.6055 MB / 18.57 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 0.8686/0.8686, allocations: 177.1 MB / 204.3 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.223/0.223, allocations: 32.79 MB / 293.5 MB, free: 1.215 MB / 266.7 MB " [Timeout remaining time 180] 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.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.TestComponents.NewFittings.GenericResistances.VolumeFlowRate,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_GenericResistances_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_GenericResistances_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.074e-06/2.074e-06, allocations: 0 / 439.6 MB, free: 4.223 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.269e-05/2.477e-05, allocations: 4.391 kB / 439.6 MB, free: 4.219 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.2819/0.282, allocations: 161.4 MB / 0.5869 GB, free: 3.16 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002583/0.2846, allocations: 2.046 MB / 0.5889 GB, free: 1.109 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002391/0.2848, allocations: 19.81 kB / 0.589 GB, free: 1.09 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005794/0.2854, allocations: 289.8 kB / 0.5892 GB, free: 0.8047 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002068/0.2874, allocations: 1.237 MB / 0.5904 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009176/0.2884, allocations: 0.693 MB / 0.5911 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0009897/0.2894, allocations: 1.511 MB / 0.5926 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003479/0.2897, allocations: 353.3 kB / 0.5929 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006312/0.2903, allocations: 0.7752 MB / 0.5937 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003353/0.2907, allocations: 394.8 kB / 0.5941 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 5.135e-05/0.2907, allocations: 48 kB / 0.5941 GB, free: 11.81 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007127/0.2914, allocations: 0.6824 MB / 0.5948 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001068/0.2915, allocations: 163.4 kB / 0.5949 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001553/0.2917, allocations: 231.5 kB / 0.5952 GB, free: 10.74 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0009944/0.2927, allocations: 1.293 MB / 0.5964 GB, free: 9.441 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.2927, allocations: 0 / 0.5964 GB, free: 9.441 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.412e-06/0.2927, allocations: 0 / 0.5964 GB, free: 9.441 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.392e-06/0.2927, allocations: 0 / 0.5964 GB, free: 9.441 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.001253/0.294, allocations: 0.9286 MB / 0.5973 GB, free: 8.48 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.294, allocations: 12.03 kB / 0.5973 GB, free: 8.469 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.027e-05/0.2941, allocations: 86.52 kB / 0.5974 GB, free: 8.375 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004953/0.2946, allocations: 137 kB / 0.5975 GB, free: 8.242 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004901/0.295, allocations: 394.2 kB / 0.5979 GB, free: 7.828 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.978e-05/0.2951, allocations: 29 kB / 0.598 GB, free: 7.801 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.224e-05/0.2951, allocations: 43.98 kB / 0.598 GB, free: 7.758 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000706/0.2958, allocations: 0.8489 MB / 0.5988 GB, free: 6.797 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.2958, allocations: 0 / 0.5988 GB, free: 6.797 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.694e-05/0.2959, allocations: 23.94 kB / 0.5988 GB, free: 6.773 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.654e-06/0.2959, allocations: 12 kB / 0.5989 GB, free: 6.762 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004807/0.2963, allocations: 407.6 kB / 0.5992 GB, free: 6.363 MB / 0.4948 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.001523/0.2979, allocations: 1.872 MB / 0.6011 GB, free: 4.418 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003879/0.2983, allocations: 277.9 kB / 0.6013 GB, free: 4.141 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001665/0.2984, allocations: 140.9 kB / 0.6015 GB, free: 4 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001248/0.2985, allocations: 43.97 kB / 0.6015 GB, free: 3.957 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.063e-05/0.2986, allocations: 42.56 kB / 0.6016 GB, free: 3.906 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=29): time 1.233e-06/0.2986, allocations: 3.938 kB / 0.6016 GB, free: 3.902 MB / 0.4948 GB Notification: Performance of matching and sorting (n=29): time 0.001307/0.2999, allocations: 0.6239 MB / 0.6022 GB, free: 3.273 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.376e-05/0.2999, allocations: 152.4 kB / 0.6023 GB, free: 3.094 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003315/0.3003, allocations: 441.8 kB / 0.6027 GB, free: 2.652 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.263e-05/0.3003, allocations: 33.7 kB / 0.6028 GB, free: 2.613 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001295/0.3004, allocations: 280.3 kB / 0.603 GB, free: 2.336 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.876e-05/0.3005, allocations: 99.08 kB / 0.6031 GB, free: 2.238 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001084/0.3006, allocations: 113.6 kB / 0.6032 GB, free: 2.121 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.474e-05/0.3007, allocations: 354.8 kB / 0.6036 GB, free: 1.766 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002276/0.3009, allocations: 147.8 kB / 0.6037 GB, free: 1.621 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005481/0.3015, allocations: 351.6 kB / 0.6041 GB, free: 1.207 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005193/0.302, allocations: 417.6 kB / 0.6045 GB, free: 0.7539 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.302, allocations: 0 / 0.6045 GB, free: 0.7539 MB / 0.4948 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0007448/0.3027, allocations: 0.5331 MB / 0.605 GB, free: 216 kB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.3027, allocations: 4 kB / 0.605 GB, free: 212 kB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.742e-06/0.3027, allocations: 4 kB / 0.605 GB, free: 208 kB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00101/0.3038, allocations: 276.6 kB / 0.6052 GB, free: 15.93 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002085/0.304, allocations: 107.8 kB / 0.6053 GB, free: 15.82 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005513/0.3045, allocations: 0.5993 MB / 0.6059 GB, free: 15.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001878/0.3047, allocations: 47.66 kB / 0.606 GB, free: 15.15 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.393e-05/0.3048, allocations: 55.59 kB / 0.606 GB, free: 15.1 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (41): * Single equations (assignments): 40 * 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,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001682/0.3049, allocations: 170.9 kB / 0.6062 GB, free: 14.93 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.047e-05/0.305, allocations: 55.61 kB / 0.6062 GB, free: 14.87 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001234/0.3062, allocations: 1.025 MB / 0.6072 GB, free: 13.83 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.3062, allocations: 5.312 kB / 0.6073 GB, free: 13.83 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.3062, allocations: 0 / 0.6073 GB, free: 13.83 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.3062, allocations: 0 / 0.6073 GB, free: 13.83 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009774/0.3072, allocations: 0.8972 MB / 0.6081 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.3072, allocations: 4 kB / 0.6081 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000118/0.3073, allocations: 43.95 kB / 0.6082 GB, free: 12.82 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008047/0.3081, allocations: 260.6 kB / 0.6084 GB, free: 12.56 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.995e-05/0.3082, allocations: 19.92 kB / 0.6084 GB, free: 12.54 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004933/0.3087, allocations: 0.6031 MB / 0.609 GB, free: 11.91 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.3087, allocations: 0 / 0.609 GB, free: 11.91 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006997/0.3094, allocations: 0.5079 MB / 0.6095 GB, free: 11.37 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 5.582e-05/0.3094, allocations: 55.58 kB / 0.6096 GB, free: 11.31 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.567e-05/0.3095, allocations: 19.88 kB / 0.6096 GB, free: 11.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00018/0.3097, allocations: 22.36 kB / 0.6096 GB, free: 11.27 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.811e-05/0.3097, allocations: 33.67 kB / 0.6097 GB, free: 11.24 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.119e-05/0.3097, allocations: 11.98 kB / 0.6097 GB, free: 11.23 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002922/0.31, allocations: 390.8 kB / 0.61 GB, free: 10.85 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6e-08/0.31, allocations: 0 / 0.61 GB, free: 10.85 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0004709/0.3105, allocations: 223.6 kB / 0.6102 GB, free: 10.63 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (23): * Single equations (assignments): 22 * 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 Backend phase and start with SimCode phase: time 0.001587/0.3121, allocations: 1.244 MB / 0.6115 GB, free: 9.344 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0007653/0.3128, allocations: 355.5 kB / 0.6118 GB, free: 8.996 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.3128, allocations: 4 kB / 0.6118 GB, free: 8.992 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.000385/0.3132, allocations: 154.3 kB / 0.612 GB, free: 8.844 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009136/0.3141, allocations: 353.3 kB / 0.6123 GB, free: 8.52 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004716/0.3189, allocations: 4.703 MB / 0.6169 GB, free: 3.613 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001513/0.319, allocations: 242.4 kB / 0.6171 GB, free: 3.352 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0006068/0.3196, allocations: 0.5405 MB / 0.6176 GB, free: 2.812 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004981/0.3201, allocations: 228.4 kB / 0.6179 GB, free: 2.59 MB / 0.5105 GB Notification: Performance of SimCode: time 5.71e-07/0.3201, allocations: 0 / 0.6179 GB, free: 2.59 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1847/0.5048, allocations: 21.39 MB / 0.6387 GB, free: 168.2 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.084/8.589, allocations: 7.5 kB / 0.6388 GB, free: 168.2 MB / 0.5261 GB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_GenericResistances_VolumeFlowRate_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201839 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_GenericResistances_VolumeFlowRate.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/NewFittings/GenericResistances/VolumeFlowRate/VolumeFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.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: 10.554388082586229]