Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.0007539/0.0007539, allocations: 79.7 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.00123/0.00123, allocations: 170 kB / 23.96 MB, free: 0.5938 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.8716/0.8716, allocations: 177.1 MB / 204.2 MB, free: 5.73 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.2412/0.2412, allocations: 32.78 MB / 293.5 MB, free: 1.227 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.Bends.CurvedBend,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.182e-06/1.182e-06, allocations: 0 / 439.6 MB, free: 4.246 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.123e-05/1.241e-05, allocations: 2.281 kB / 439.6 MB, free: 4.242 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend): time 0.2854/0.2854, allocations: 161.6 MB / 0.5871 GB, free: 2.852 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.003624/0.2891, allocations: 3.417 MB / 0.5905 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002285/0.2893, allocations: 23.81 kB / 0.5905 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0006032/0.2899, allocations: 317.7 kB / 0.5908 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.002408/0.2923, allocations: 1.794 MB / 0.5926 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.000944/0.2932, allocations: 0.732 MB / 0.5933 GB, free: 12.58 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.001067/0.2943, allocations: 1.566 MB / 0.5948 GB, free: 11.01 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003779/0.2947, allocations: 352 kB / 0.5951 GB, free: 10.66 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007322/0.2954, allocations: 0.8026 MB / 0.5959 GB, free: 9.855 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000449/0.2959, allocations: 406.8 kB / 0.5963 GB, free: 9.457 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 5.778e-05/0.2959, allocations: 55.47 kB / 0.5964 GB, free: 9.406 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001383/0.2973, allocations: 1.205 MB / 0.5975 GB, free: 8.199 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001253/0.2974, allocations: 167.3 kB / 0.5977 GB, free: 8.035 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0003132/0.2977, allocations: 255.5 kB / 0.5979 GB, free: 7.785 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001506/0.2992, allocations: 1.78 MB / 0.5997 GB, free: 6 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.2993, allocations: 0 / 0.5997 GB, free: 6 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.783e-06/0.2993, allocations: 0 / 0.5997 GB, free: 6 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.333e-06/0.2993, allocations: 0 / 0.5997 GB, free: 6 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.001177/0.3004, allocations: 1.021 MB / 0.6007 GB, free: 4.945 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.3005, allocations: 15.97 kB / 0.6007 GB, free: 4.93 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.419e-05/0.3005, allocations: 86.52 kB / 0.6008 GB, free: 4.836 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004839/0.301, allocations: 135.5 kB / 0.6009 GB, free: 4.703 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000509/0.3015, allocations: 434.1 kB / 0.6013 GB, free: 4.25 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.129e-05/0.3016, allocations: 33 kB / 0.6014 GB, free: 4.219 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.948e-05/0.3016, allocations: 36 kB / 0.6014 GB, free: 4.184 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009771/0.3026, allocations: 0.8996 MB / 0.6023 GB, free: 3.172 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.3026, allocations: 0 / 0.6023 GB, free: 3.172 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.607e-05/0.3026, allocations: 16 kB / 0.6023 GB, free: 3.156 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.598e-06/0.3026, allocations: 19.92 kB / 0.6023 GB, free: 3.137 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005329/0.3032, allocations: 483.6 kB / 0.6028 GB, free: 2.664 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.001569/0.3047, allocations: 1.951 MB / 0.6047 GB, free: 0.6367 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004227/0.3052, allocations: 319.2 kB / 0.605 GB, free: 324 kB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001761/0.3053, allocations: 157.4 kB / 0.6051 GB, free: 164 kB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001391/0.3055, allocations: 56.25 kB / 0.6052 GB, free: 108 kB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.944e-05/0.3055, allocations: 30.84 kB / 0.6052 GB, free: 68 kB / 0.4948 GB Notification: Performance of pre-optimization done (n=33): time 1.232e-06/0.3055, allocations: 0 / 0.6052 GB, free: 68 kB / 0.4948 GB Notification: Performance of matching and sorting (n=33): time 0.001013/0.3065, allocations: 0.6555 MB / 0.6058 GB, free: 15.4 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.108e-05/0.3066, allocations: 144.4 kB / 0.606 GB, free: 15.23 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000365/0.3069, allocations: 485.9 kB / 0.6064 GB, free: 14.74 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.175e-05/0.307, allocations: 29.7 kB / 0.6065 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001462/0.3071, allocations: 288.3 kB / 0.6067 GB, free: 14.42 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 6.433e-05/0.3072, allocations: 118.9 kB / 0.6069 GB, free: 14.31 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000105/0.3073, allocations: 102.2 kB / 0.607 GB, free: 14.2 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.3074, allocations: 362.8 kB / 0.6073 GB, free: 13.84 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001847/0.3076, allocations: 144.9 kB / 0.6074 GB, free: 13.7 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002655/0.3078, allocations: 355.2 kB / 0.6078 GB, free: 13.28 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006065/0.3084, allocations: 447.6 kB / 0.6082 GB, free: 12.8 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.561e-06/0.3085, allocations: 0 / 0.6082 GB, free: 12.8 MB / 0.5105 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008123/0.3093, allocations: 0.543 MB / 0.6087 GB, free: 12.25 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.46e-05/0.3093, allocations: 12.03 kB / 0.6088 GB, free: 12.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.3093, allocations: 4 kB / 0.6088 GB, free: 12.23 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007849/0.3101, allocations: 244.5 kB / 0.609 GB, free: 11.99 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002146/0.3103, allocations: 103.9 kB / 0.6091 GB, free: 11.89 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003969/0.3107, allocations: 0.5914 MB / 0.6097 GB, free: 11.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002566/0.311, allocations: 47.62 kB / 0.6097 GB, free: 11.22 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.176e-05/0.311, allocations: 43.98 kB / 0.6098 GB, free: 11.18 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.0002506/0.3113, allocations: 194.7 kB / 0.6099 GB, free: 10.98 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.242e-05/0.3113, allocations: 55.67 kB / 0.61 GB, free: 10.93 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001258/0.3126, allocations: 1.09 MB / 0.6111 GB, free: 9.82 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.3126, allocations: 4 kB / 0.6111 GB, free: 9.816 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.3126, allocations: 0 / 0.6111 GB, free: 9.816 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.3126, allocations: 3.984 kB / 0.6111 GB, free: 9.812 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001029/0.3137, allocations: 0.9279 MB / 0.612 GB, free: 8.816 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.828e-06/0.3137, allocations: 0 / 0.612 GB, free: 8.816 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001089/0.3138, allocations: 55.91 kB / 0.612 GB, free: 8.762 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001437/0.3152, allocations: 436.4 kB / 0.6124 GB, free: 8.332 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.751e-05/0.3152, allocations: 11.98 kB / 0.6124 GB, free: 8.32 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004263/0.3157, allocations: 0.607 MB / 0.613 GB, free: 7.688 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/0.3157, allocations: 12.81 kB / 0.6131 GB, free: 7.676 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005633/0.3162, allocations: 0.5071 MB / 0.6136 GB, free: 7.137 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 9.403e-05/0.3163, allocations: 63.53 kB / 0.6136 GB, free: 7.074 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.486e-05/0.3164, allocations: 8 kB / 0.6136 GB, free: 7.066 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001665/0.3165, allocations: 19.98 kB / 0.6136 GB, free: 7.047 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.45e-05/0.3166, allocations: 31.89 kB / 0.6137 GB, free: 7.016 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.958e-05/0.3166, allocations: 8 kB / 0.6137 GB, free: 7.008 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.000335/0.3169, allocations: 414.8 kB / 0.6141 GB, free: 6.605 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8e-08/0.3169, allocations: 4 kB / 0.6141 GB, free: 6.602 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0008929/0.3178, allocations: 347 kB / 0.6144 GB, free: 6.262 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.001657/0.3195, allocations: 1.391 MB / 0.6158 GB, free: 4.828 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0006555/0.3202, allocations: 365.4 kB / 0.6161 GB, free: 4.473 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.3202, allocations: 0 / 0.6161 GB, free: 4.473 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002143/0.3204, allocations: 159.8 kB / 0.6163 GB, free: 4.316 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001004/0.3214, allocations: 379.8 kB / 0.6166 GB, free: 3.957 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005175/0.3266, allocations: 4.864 MB / 0.6214 GB, free: 14.89 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001895/0.3267, allocations: 263.6 kB / 0.6216 GB, free: 14.6 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0007832/0.3275, allocations: 0.5559 MB / 0.6222 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002716/0.3278, allocations: 228.4 kB / 0.6224 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of SimCode: time 1.263e-06/0.3278, allocations: 0 / 0.6224 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2062/0.534, allocations: 25.61 MB / 0.6474 GB, free: 163.7 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.182/8.716, allocations: 9.75 kB / 0.6474 GB, free: 163.7 MB / 0.5261 GB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201879 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/NewFittings/Bends/CurvedBend/CurvedBend.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 10.729492021724582]