Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001615/0.001615, allocations: 107.5 kB / 19.69 MB, free: 2.203 MB / 14.72 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.002103/0.002103, allocations: 226.3 kB / 23.01 MB, free: 5.039 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.389/1.389, allocations: 207.6 MB / 233.8 MB, free: 9.969 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.212/0.212, allocations: 44.25 MB / 330.3 MB, free: 9.598 MB / 270.1 MB " [Timeout remaining time 180] 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.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_3_2_3_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002129/0.002129, allocations: 68.42 kB / 467.5 MB, free: 4.496 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1102, allocations: 61.04 MB / 0.5162 GB, free: 7.324 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend): time 0.4292/0.5394, allocations: 191 MB / 0.7027 GB, free: 4.629 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.009823/0.5492, allocations: 6.122 MB / 0.7087 GB, free: 14.49 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007391/0.5499, allocations: 23.81 kB / 0.7087 GB, free: 14.47 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001164/0.5511, allocations: 333.8 kB / 0.709 GB, free: 14.14 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.00535/0.5565, allocations: 1.985 MB / 0.711 GB, free: 12.15 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001979/0.5584, allocations: 0.7265 MB / 0.7117 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002189/0.5606, allocations: 1.547 MB / 0.7132 GB, free: 9.871 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006957/0.5613, allocations: 348.1 kB / 0.7135 GB, free: 9.523 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001159/0.5625, allocations: 0.5994 MB / 0.7141 GB, free: 8.922 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008151/0.5633, allocations: 482 kB / 0.7146 GB, free: 8.449 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001398/0.5634, allocations: 52 kB / 0.7146 GB, free: 8.398 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004731/0.5682, allocations: 2.601 MB / 0.7171 GB, free: 5.793 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002854/0.5684, allocations: 167.3 kB / 0.7173 GB, free: 5.629 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0005782/0.569, allocations: 338.5 kB / 0.7176 GB, free: 5.297 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.004274/0.5733, allocations: 2.099 MB / 0.7197 GB, free: 3.191 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.323e-06/0.5733, allocations: 0 / 0.7197 GB, free: 3.191 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.924e-06/0.5733, allocations: 4 kB / 0.7197 GB, free: 3.188 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.668e-05/0.5733, allocations: 4 kB / 0.7197 GB, free: 3.184 MB / 0.545 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.002553/0.5759, allocations: 1.064 MB / 0.7207 GB, free: 2.082 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.5759, allocations: 12.03 kB / 0.7207 GB, free: 2.07 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001237/0.5761, allocations: 82.52 kB / 0.7208 GB, free: 1.98 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001056/0.5771, allocations: 143.5 kB / 0.7209 GB, free: 1.84 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009499/0.5781, allocations: 433.6 kB / 0.7214 GB, free: 1.391 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.93e-05/0.5781, allocations: 33 kB / 0.7214 GB, free: 1.355 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.632e-05/0.5782, allocations: 40 kB / 0.7214 GB, free: 1.316 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001164/0.5793, allocations: 0.5905 MB / 0.722 GB, free: 0.6875 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.614e-05/0.5794, allocations: 0 / 0.722 GB, free: 0.6875 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.978e-05/0.5794, allocations: 19.98 kB / 0.722 GB, free: 0.668 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.197e-05/0.5794, allocations: 12 kB / 0.722 GB, free: 0.6562 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009545/0.5804, allocations: 479.5 kB / 0.7225 GB, free: 192 kB / 0.545 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.003789/0.5842, allocations: 2.643 MB / 0.7251 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008655/0.585, allocations: 323.5 kB / 0.7254 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003495/0.5854, allocations: 161.3 kB / 0.7255 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00103/0.5864, allocations: 410.5 kB / 0.7259 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.903e-05/0.5865, allocations: 38.84 kB / 0.726 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=33): time 2.073e-06/0.5865, allocations: 0 / 0.726 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.001963/0.5884, allocations: 0.6439 MB / 0.7266 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001137/0.5886, allocations: 136.5 kB / 0.7267 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007173/0.5893, allocations: 482 kB / 0.7272 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.08e-05/0.5893, allocations: 29.7 kB / 0.7272 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003055/0.5896, allocations: 288.2 kB / 0.7275 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001399/0.5898, allocations: 122.9 kB / 0.7276 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002036/0.59, allocations: 110.1 kB / 0.7277 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002127/0.5902, allocations: 358.8 kB / 0.7281 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003259/0.5905, allocations: 152.8 kB / 0.7282 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004394/0.591, allocations: 275.7 kB / 0.7285 GB, free: 9.711 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007595/0.5917, allocations: 440.7 kB / 0.7289 GB, free: 9.234 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.5917, allocations: 1.5 kB / 0.7289 GB, free: 9.234 MB / 0.5606 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001075/0.5928, allocations: 0.5369 MB / 0.7294 GB, free: 8.688 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.377e-05/0.5928, allocations: 8 kB / 0.7294 GB, free: 8.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.5928, allocations: 0 / 0.7294 GB, free: 8.68 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001599/0.5944, allocations: 236.8 kB / 0.7296 GB, free: 8.445 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003689/0.5948, allocations: 103.9 kB / 0.7297 GB, free: 8.344 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006255/0.5954, allocations: 0.5953 MB / 0.7303 GB, free: 7.723 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003577/0.5958, allocations: 47.66 kB / 0.7304 GB, free: 7.676 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.244e-05/0.5959, allocations: 43.98 kB / 0.7304 GB, free: 7.633 MB / 0.5606 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.0002731/0.5961, allocations: 181.7 kB / 0.7306 GB, free: 7.445 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001366/0.5963, allocations: 55.67 kB / 0.7306 GB, free: 7.391 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001562/0.5978, allocations: 0.7299 MB / 0.7313 GB, free: 6.641 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.383e-06/0.5978, allocations: 4 kB / 0.7314 GB, free: 6.637 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.002e-06/0.5978, allocations: 0 / 0.7314 GB, free: 6.637 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.085e-06/0.5979, allocations: 3.938 kB / 0.7314 GB, free: 6.633 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001787/0.5996, allocations: 0.9909 MB / 0.7323 GB, free: 5.574 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.023e-06/0.5996, allocations: 4 kB / 0.7323 GB, free: 5.57 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002169/0.5999, allocations: 51.91 kB / 0.7324 GB, free: 5.52 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003202/0.6031, allocations: 445.1 kB / 0.7328 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.542e-05/0.6031, allocations: 8 kB / 0.7328 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005918/0.6037, allocations: 0.6079 MB / 0.7334 GB, free: 4.441 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.6037, allocations: 3.938 kB / 0.7334 GB, free: 4.438 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009527/0.6047, allocations: 0.5157 MB / 0.7339 GB, free: 3.887 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001878/0.6048, allocations: 59.53 kB / 0.734 GB, free: 3.828 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001203/0.605, allocations: 11.95 kB / 0.734 GB, free: 3.816 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003343/0.6053, allocations: 21.11 kB / 0.734 GB, free: 3.797 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.059e-05/0.6054, allocations: 35.89 kB / 0.734 GB, free: 3.762 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.105e-05/0.6054, allocations: 15.98 kB / 0.734 GB, free: 3.746 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005715/0.606, allocations: 406.8 kB / 0.7344 GB, free: 3.352 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.606, allocations: 4 kB / 0.7344 GB, free: 3.348 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001248/0.6072, allocations: 366.9 kB / 0.7348 GB, free: 2.988 MB / 0.5606 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.002491/0.6097, allocations: 1.442 MB / 0.7362 GB, free: 1.504 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009082/0.6106, allocations: 368 kB / 0.7365 GB, free: 1.145 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/0.6106, allocations: 4.875 kB / 0.7366 GB, free: 1.141 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003719/0.611, allocations: 160 kB / 0.7367 GB, free: 0.9844 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00173/0.6128, allocations: 383.6 kB / 0.7371 GB, free: 0.6133 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007311/0.6201, allocations: 4.879 MB / 0.7418 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005163/0.6206, allocations: 0.8597 MB / 0.7427 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0007076/0.6213, allocations: 205 kB / 0.7429 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003759/0.6217, allocations: 211.4 kB / 0.7431 GB, free: 10.24 MB / 0.5762 GB Notification: Performance of SimCode: time 7.11e-07/0.6217, allocations: 0 / 0.7431 GB, free: 10.24 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06265/0.6843, allocations: 24.78 MB / 0.7673 GB, free: 1.457 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.98/14.66, allocations: 7.547 kB / 0.7673 GB, free: 1.453 MB / 0.5919 GB " [Timeout remaining time 645] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201879 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/NewFittings/Bends/CurvedBend/CurvedBend.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 17.79923270503059]