Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.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.00084/0.00084, allocations: 83.69 kB / 20.67 MB, free: 3.879 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.0008982/0.0008982, allocations: 170 kB / 23.94 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.8646/0.8646, allocations: 177.1 MB / 204.2 MB, free: 5.746 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.2321/0.2321, allocations: 34.25 MB / 294.9 MB, free: 0.7188 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.Bends.CurvedBend,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.714e-06/1.714e-06, allocations: 3.938 kB / 442.2 MB, free: 1.645 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.954e-05/2.125e-05, allocations: 2.281 kB / 442.2 MB, free: 1.641 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend): time 0.286/0.286, allocations: 161.6 MB / 0.5897 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.003732/0.2898, allocations: 3.405 MB / 0.593 GB, free: 11.47 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002611/0.29, allocations: 23.81 kB / 0.593 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0006104/0.2906, allocations: 309.7 kB / 0.5933 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.002723/0.2934, allocations: 1.797 MB / 0.5951 GB, free: 9.348 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001001/0.2944, allocations: 0.7242 MB / 0.5958 GB, free: 8.629 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0009976/0.2954, allocations: 1.566 MB / 0.5973 GB, free: 7.059 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003462/0.2957, allocations: 352 kB / 0.5977 GB, free: 6.711 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006195/0.2963, allocations: 0.8103 MB / 0.5984 GB, free: 5.898 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003362/0.2967, allocations: 410.8 kB / 0.5988 GB, free: 5.496 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 5.353e-05/0.2967, allocations: 56 kB / 0.5989 GB, free: 5.441 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001242/0.298, allocations: 1.193 MB / 0.6001 GB, free: 4.246 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001106/0.2981, allocations: 167.4 kB / 0.6002 GB, free: 4.082 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001719/0.2982, allocations: 255.4 kB / 0.6005 GB, free: 3.832 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001551/0.2998, allocations: 1.78 MB / 0.6022 GB, free: 2.047 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.2998, allocations: 0 / 0.6022 GB, free: 2.047 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.714e-06/0.2998, allocations: 0 / 0.6022 GB, free: 2.047 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.2998, allocations: 0 / 0.6022 GB, free: 2.047 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: 105 * Number of variables: 105 Notification: Performance of Generate backend data structure: time 0.001107/0.3009, allocations: 1.033 MB / 0.6032 GB, free: 0.9805 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.072e-05/0.3009, allocations: 13.53 kB / 0.6032 GB, free: 0.9688 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.967e-05/0.301, allocations: 78.53 kB / 0.6033 GB, free: 0.8828 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004971/0.3015, allocations: 139.5 kB / 0.6034 GB, free: 0.7461 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000501/0.302, allocations: 426.1 kB / 0.6038 GB, free: 308 kB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.91e-05/0.302, allocations: 33 kB / 0.6039 GB, free: 276 kB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.966e-05/0.3021, allocations: 39.38 kB / 0.6039 GB, free: 240 kB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007307/0.3028, allocations: 0.9073 MB / 0.6048 GB, free: 15.21 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.3028, allocations: 0 / 0.6048 GB, free: 15.21 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.878e-05/0.3028, allocations: 20 kB / 0.6048 GB, free: 15.2 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.3028, allocations: 12 kB / 0.6048 GB, free: 15.18 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005328/0.3034, allocations: 475.5 kB / 0.6053 GB, free: 14.72 MB / 0.5105 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.001533/0.3049, allocations: 1.959 MB / 0.6072 GB, free: 12.68 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004186/0.3053, allocations: 325.3 kB / 0.6075 GB, free: 12.36 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001763/0.3055, allocations: 157.3 kB / 0.6077 GB, free: 12.2 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001287/0.3056, allocations: 48.31 kB / 0.6077 GB, free: 12.16 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.171e-05/0.3057, allocations: 41.19 kB / 0.6077 GB, free: 12.11 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=33): time 1.232e-06/0.3057, allocations: 0 / 0.6077 GB, free: 12.11 MB / 0.5105 GB Notification: Performance of matching and sorting (n=33): time 0.0009603/0.3066, allocations: 0.6523 MB / 0.6084 GB, free: 11.45 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001876/0.3068, allocations: 136.5 kB / 0.6085 GB, free: 11.29 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003434/0.3072, allocations: 493.9 kB / 0.609 GB, free: 10.79 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.948e-05/0.3072, allocations: 29.7 kB / 0.609 GB, free: 10.76 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001325/0.3073, allocations: 280.3 kB / 0.6093 GB, free: 10.48 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 6.777e-05/0.3074, allocations: 122.9 kB / 0.6094 GB, free: 10.36 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001021/0.3075, allocations: 106.1 kB / 0.6095 GB, free: 10.25 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.529e-05/0.3076, allocations: 362.8 kB / 0.6098 GB, free: 9.887 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001862/0.3078, allocations: 152.9 kB / 0.61 GB, free: 9.738 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002592/0.308, allocations: 353.5 kB / 0.6103 GB, free: 9.32 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004336/0.3085, allocations: 440.7 kB / 0.6107 GB, free: 8.844 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.3085, allocations: 0 / 0.6107 GB, free: 8.844 MB / 0.5105 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006039/0.3091, allocations: 0.5445 MB / 0.6113 GB, free: 8.289 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.3091, allocations: 8 kB / 0.6113 GB, free: 8.281 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.3091, allocations: 7.938 kB / 0.6113 GB, free: 8.273 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007283/0.3098, allocations: 241 kB / 0.6115 GB, free: 8.035 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001872/0.31, allocations: 107.9 kB / 0.6116 GB, free: 7.93 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002877/0.3103, allocations: 0.5914 MB / 0.6122 GB, free: 7.312 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001553/0.3104, allocations: 51.61 kB / 0.6122 GB, free: 7.262 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.472e-05/0.3105, allocations: 43.98 kB / 0.6123 GB, free: 7.219 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 (44): * Single equations (assignments): 43 * 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.0001516/0.3106, allocations: 186.6 kB / 0.6125 GB, free: 7.027 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.312e-05/0.3107, allocations: 51.67 kB / 0.6125 GB, free: 6.977 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001101/0.3118, allocations: 1.1 MB / 0.6136 GB, free: 5.867 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.3118, allocations: 7.938 kB / 0.6136 GB, free: 5.859 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.3118, allocations: 0 / 0.6136 GB, free: 5.859 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.3118, allocations: 0 / 0.6136 GB, free: 5.859 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008489/0.3127, allocations: 0.924 MB / 0.6145 GB, free: 4.867 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.3127, allocations: 0 / 0.6145 GB, free: 4.867 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001032/0.3128, allocations: 56.06 kB / 0.6146 GB, free: 4.812 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001346/0.3141, allocations: 444.2 kB / 0.615 GB, free: 4.375 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.19e-05/0.3141, allocations: 11.94 kB / 0.615 GB, free: 4.363 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004794/0.3146, allocations: 0.6014 MB / 0.6156 GB, free: 3.738 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.3146, allocations: 7.969 kB / 0.6156 GB, free: 3.73 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004926/0.3151, allocations: 0.5033 MB / 0.6161 GB, free: 3.195 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 6.566e-05/0.3152, allocations: 59.59 kB / 0.6161 GB, free: 3.137 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.144e-05/0.3152, allocations: 13.19 kB / 0.6161 GB, free: 3.125 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00016/0.3154, allocations: 19.98 kB / 0.6162 GB, free: 3.105 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.828e-05/0.3154, allocations: 27.89 kB / 0.6162 GB, free: 3.078 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.955e-05/0.3155, allocations: 15.98 kB / 0.6162 GB, free: 3.062 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003092/0.3158, allocations: 414.8 kB / 0.6166 GB, free: 2.66 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8e-08/0.3158, allocations: 0 / 0.6166 GB, free: 2.66 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0005838/0.3163, allocations: 346.9 kB / 0.6169 GB, free: 2.32 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 (27): * Single equations (assignments): 26 * 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.00123/0.3176, allocations: 1.388 MB / 0.6183 GB, free: 0.8867 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0005325/0.3181, allocations: 372.5 kB / 0.6186 GB, free: 0.5234 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.3181, allocations: 0 / 0.6186 GB, free: 0.5234 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002075/0.3183, allocations: 157 kB / 0.6188 GB, free: 380 kB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000927/0.3192, allocations: 368.1 kB / 0.6191 GB, free: 24 kB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004331/0.3236, allocations: 4.863 MB / 0.6239 GB, free: 10.96 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001529/0.3237, allocations: 263.5 kB / 0.6241 GB, free: 10.67 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0006305/0.3244, allocations: 0.5606 MB / 0.6247 GB, free: 10.11 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002387/0.3246, allocations: 224.4 kB / 0.6249 GB, free: 9.887 MB / 0.5261 GB Notification: Performance of SimCode: time 8.21e-07/0.3246, allocations: 0 / 0.6249 GB, free: 9.887 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1875/0.5121, allocations: 25.61 MB / 0.6499 GB, free: 163.3 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.516/9.029, allocations: 18.08 kB / 0.6499 GB, free: 163.3 MB / 0.5261 GB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201879 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/NewFittings/Bends/CurvedBend/CurvedBend.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.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: 11.020234037190676]