Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.0009077/0.0009077, 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.001099/0.001099, allocations: 170.3 kB / 23.95 MB, free: 0.6094 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.8936/0.8936, allocations: 177.1 MB / 204.3 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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.2529/0.2529, allocations: 34.24 MB / 294.9 MB, free: 0.7266 MB / 266.7 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.TestComponents.NewFittings.GenericResistances.VolumeFlowRate,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_NewFittings_GenericResistances_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_NewFittings_GenericResistances_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 442.2 MB, free: 1.652 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.14e-05/2.289e-05, allocations: 6.281 kB / 442.2 MB, free: 1.645 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.2993/0.2994, allocations: 161.4 MB / 0.5895 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.003481/0.3028, allocations: 2.035 MB / 0.5915 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004906/0.3033, allocations: 19.81 kB / 0.5915 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0007541/0.3041, allocations: 293.8 kB / 0.5917 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.002571/0.3067, allocations: 1.24 MB / 0.593 GB, free: 11.53 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.00133/0.308, allocations: 0.6979 MB / 0.5936 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.00175/0.3097, allocations: 1.507 MB / 0.5951 GB, free: 9.324 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005824/0.3103, allocations: 348 kB / 0.5954 GB, free: 8.984 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001095/0.3114, allocations: 0.7791 MB / 0.5962 GB, free: 8.203 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004922/0.3119, allocations: 390.8 kB / 0.5966 GB, free: 7.82 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 7.43e-05/0.312, allocations: 48 kB / 0.5966 GB, free: 7.773 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001189/0.3132, allocations: 0.6824 MB / 0.5973 GB, free: 7.09 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0003907/0.3136, allocations: 171.3 kB / 0.5975 GB, free: 6.922 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.000208/0.3138, allocations: 223.5 kB / 0.5977 GB, free: 6.703 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001629/0.3154, allocations: 1.293 MB / 0.5989 GB, free: 5.406 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.3154, allocations: 0 / 0.5989 GB, free: 5.406 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.864e-06/0.3154, allocations: 0 / 0.5989 GB, free: 5.406 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.104e-05/0.3154, allocations: 0 / 0.5989 GB, free: 5.406 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.001508/0.3169, allocations: 0.9301 MB / 0.5998 GB, free: 4.445 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.882e-05/0.317, allocations: 9.531 kB / 0.5998 GB, free: 4.438 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001077/0.3171, allocations: 86.53 kB / 0.5999 GB, free: 4.344 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000904/0.318, allocations: 143.4 kB / 0.6001 GB, free: 4.203 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008946/0.3189, allocations: 402.2 kB / 0.6005 GB, free: 3.781 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.941e-05/0.3189, allocations: 33 kB / 0.6005 GB, free: 3.75 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.35e-05/0.319, allocations: 39.98 kB / 0.6005 GB, free: 3.711 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000953/0.3199, allocations: 0.8489 MB / 0.6014 GB, free: 2.75 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/0.3199, allocations: 3.938 kB / 0.6014 GB, free: 2.746 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.246e-05/0.32, allocations: 16 kB / 0.6014 GB, free: 2.73 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.658e-06/0.32, allocations: 12 kB / 0.6014 GB, free: 2.719 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005573/0.3205, allocations: 411.6 kB / 0.6018 GB, free: 2.316 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.001887/0.3224, allocations: 1.873 MB / 0.6036 GB, free: 376 kB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004104/0.3228, allocations: 266.8 kB / 0.6039 GB, free: 100 kB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001779/0.323, allocations: 144.2 kB / 0.604 GB, free: 15.95 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001552/0.3232, allocations: 43.97 kB / 0.604 GB, free: 15.91 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.625e-05/0.3232, allocations: 40.84 kB / 0.6041 GB, free: 15.86 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=29): time 2.003e-06/0.3232, allocations: 4 kB / 0.6041 GB, free: 15.86 MB / 0.5105 GB Notification: Performance of matching and sorting (n=29): time 0.001434/0.3246, allocations: 0.6252 MB / 0.6047 GB, free: 15.23 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.244e-05/0.3247, allocations: 136.5 kB / 0.6048 GB, free: 15.06 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003521/0.325, allocations: 453.8 kB / 0.6053 GB, free: 14.61 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.859e-05/0.3251, allocations: 37.64 kB / 0.6053 GB, free: 14.57 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001357/0.3252, allocations: 276.2 kB / 0.6056 GB, free: 14.3 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 6.295e-05/0.3253, allocations: 107.1 kB / 0.6057 GB, free: 14.19 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000117/0.3254, allocations: 101.6 kB / 0.6058 GB, free: 14.09 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001032/0.3255, allocations: 358.8 kB / 0.6061 GB, free: 13.73 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002403/0.3257, allocations: 147.5 kB / 0.6062 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003062/0.326, allocations: 347.7 kB / 0.6066 GB, free: 13.18 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005362/0.3266, allocations: 413.6 kB / 0.607 GB, free: 12.73 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.3266, allocations: 3.938 kB / 0.607 GB, free: 12.72 MB / 0.5105 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0007516/0.3273, allocations: 0.537 MB / 0.6075 GB, free: 12.18 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.156e-05/0.3273, allocations: 8 kB / 0.6075 GB, free: 12.17 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.3274, allocations: 4 kB / 0.6075 GB, free: 12.16 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001033/0.3284, allocations: 272.5 kB / 0.6078 GB, free: 11.89 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002124/0.3286, allocations: 103.9 kB / 0.6079 GB, free: 11.79 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005622/0.3292, allocations: 0.5992 MB / 0.6084 GB, free: 11.17 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002119/0.3294, allocations: 51.66 kB / 0.6085 GB, free: 11.12 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.394e-05/0.3294, allocations: 47.98 kB / 0.6085 GB, free: 11.07 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.0001724/0.3296, allocations: 179.2 kB / 0.6087 GB, free: 10.89 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.141e-05/0.3297, allocations: 55.61 kB / 0.6088 GB, free: 10.83 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001245/0.3309, allocations: 1.023 MB / 0.6098 GB, free: 9.793 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.3309, allocations: 4 kB / 0.6098 GB, free: 9.789 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.167e-06/0.3309, allocations: 0 / 0.6098 GB, free: 9.789 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.3309, allocations: 0 / 0.6098 GB, free: 9.789 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001034/0.332, allocations: 0.8972 MB / 0.6106 GB, free: 8.824 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.332, allocations: 4.672 kB / 0.6106 GB, free: 8.82 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001225/0.3321, allocations: 47.97 kB / 0.6107 GB, free: 8.773 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008221/0.3329, allocations: 256.6 kB / 0.6109 GB, free: 8.52 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.156e-05/0.3329, allocations: 11.98 kB / 0.6109 GB, free: 8.508 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005093/0.3334, allocations: 0.6101 MB / 0.6115 GB, free: 7.875 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.3334, allocations: 4.031 kB / 0.6115 GB, free: 7.871 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007243/0.3342, allocations: 0.5056 MB / 0.612 GB, free: 7.332 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 6.586e-05/0.3342, allocations: 55.58 kB / 0.6121 GB, free: 7.277 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.993e-05/0.3343, allocations: 15.94 kB / 0.6121 GB, free: 7.262 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001844/0.3345, allocations: 17.67 kB / 0.6121 GB, free: 7.246 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.343e-05/0.3345, allocations: 35.89 kB / 0.6122 GB, free: 7.211 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.304e-05/0.3346, allocations: 19.98 kB / 0.6122 GB, free: 7.191 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.000307/0.3349, allocations: 382.8 kB / 0.6125 GB, free: 6.816 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8e-08/0.3349, allocations: 4 kB / 0.6125 GB, free: 6.812 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0005546/0.3354, allocations: 219.6 kB / 0.6128 GB, free: 6.598 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.001346/0.3368, allocations: 1.251 MB / 0.614 GB, free: 5.309 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0007887/0.3376, allocations: 361.2 kB / 0.6143 GB, free: 4.957 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.3376, allocations: 0 / 0.6143 GB, free: 4.957 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0003748/0.3379, allocations: 153 kB / 0.6145 GB, free: 4.809 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009335/0.3389, allocations: 352.1 kB / 0.6148 GB, free: 4.48 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005149/0.344, allocations: 4.699 MB / 0.6194 GB, free: 15.58 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000179/0.3442, allocations: 250.3 kB / 0.6196 GB, free: 15.31 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0006971/0.3449, allocations: 0.5481 MB / 0.6202 GB, free: 14.77 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000276/0.3452, allocations: 220.4 kB / 0.6204 GB, free: 14.56 MB / 0.5261 GB Notification: Performance of SimCode: time 7.81e-07/0.3452, allocations: 4 kB / 0.6204 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1953/0.5405, allocations: 21.4 MB / 0.6413 GB, free: 165.6 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.239/8.78, allocations: 1.312 kB / 0.6413 GB, free: 165.6 MB / 0.5261 GB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_NewFittings_GenericResistances_VolumeFlowRate_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201839 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_NewFittings_GenericResistances_VolumeFlowRate.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/NewFittings/GenericResistances/VolumeFlowRate/VolumeFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.843956212513149]