Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.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.001848/0.001848, allocations: 116 kB / 20.43 MB, free: 1.449 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.002313/0.002313, allocations: 214.8 kB / 23.74 MB, free: 4.66 MB / 14.72 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 1.467/1.467, allocations: 230.6 MB / 257.5 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] 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.2269/0.2269, allocations: 46.93 MB / 360.9 MB, free: 4.262 MB / 286.1 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.EdgedBend,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002195/0.002195, allocations: 71.89 kB / 0.4962 GB, free: 7.875 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3199/0.3221, allocations: 66.03 MB / 0.5607 GB, free: 4.484 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend): time 0.5359/0.858, allocations: 186.8 MB / 0.7431 GB, free: 1.785 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005951/0.864, allocations: 3.698 MB / 0.7467 GB, free: 1.754 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000708/0.8647, allocations: 24.44 kB / 0.7467 GB, free: 1.754 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008896/0.8656, allocations: 327.4 kB / 0.7471 GB, free: 1.746 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004381/0.87, allocations: 1.76 MB / 0.7488 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001861/0.8718, allocations: 0.7273 MB / 0.7495 GB, free: 1.672 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001683/0.8735, allocations: 1.551 MB / 0.751 GB, free: 1.672 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004454/0.8739, allocations: 357.2 kB / 0.7513 GB, free: 1.652 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007263/0.8747, allocations: 0.6011 MB / 0.7519 GB, free: 1.652 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005074/0.8752, allocations: 485.9 kB / 0.7524 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.89e-05/0.8752, allocations: 48.66 kB / 0.7524 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003908/0.8792, allocations: 1.956 MB / 0.7544 GB, free: 1.629 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000204/0.8794, allocations: 164.2 kB / 0.7545 GB, free: 1.629 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004378/0.8798, allocations: 338.2 kB / 0.7548 GB, free: 1.629 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002367/0.8822, allocations: 1.835 MB / 0.7566 GB, free: 1.531 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.8822, allocations: 0 / 0.7566 GB, free: 1.531 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.413e-06/0.8822, allocations: 3.406 kB / 0.7566 GB, free: 1.531 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.022e-05/0.8822, allocations: 0.875 kB / 0.7566 GB, free: 1.531 MB / 0.5606 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.001787/0.884, allocations: 1.028 MB / 0.7576 GB, free: 16.96 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.884, allocations: 11.53 kB / 0.7576 GB, free: 16.96 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.225e-05/0.8841, allocations: 80.41 kB / 0.7577 GB, free: 16.92 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009419/0.885, allocations: 146 kB / 0.7579 GB, free: 16.89 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000724/0.8858, allocations: 420.7 kB / 0.7583 GB, free: 16.7 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.36e-05/0.8858, allocations: 33.88 kB / 0.7583 GB, free: 16.7 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.447e-05/0.8858, allocations: 41.84 kB / 0.7583 GB, free: 16.7 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008938/0.8867, allocations: 0.5874 MB / 0.7589 GB, free: 16.57 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.559e-05/0.8867, allocations: 0.8438 kB / 0.7589 GB, free: 16.57 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.418e-05/0.8868, allocations: 18.78 kB / 0.7589 GB, free: 16.57 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.838e-06/0.8868, allocations: 12.75 kB / 0.7589 GB, free: 16.57 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007738/0.8876, allocations: 477.7 kB / 0.7594 GB, free: 16.57 MB / 0.5762 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.002848/0.8904, allocations: 2.619 MB / 0.762 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006218/0.8911, allocations: 319 kB / 0.7623 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002466/0.8913, allocations: 156.2 kB / 0.7624 GB, free: 14.78 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002149/0.8915, allocations: 52.47 kB / 0.7625 GB, free: 14.78 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.44e-05/0.8916, allocations: 39.06 kB / 0.7625 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=33): time 1.894e-06/0.8916, allocations: 1.031 kB / 0.7625 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33): time 0.001462/0.893, allocations: 0.6367 MB / 0.7631 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.705e-05/0.8931, allocations: 136.5 kB / 0.7632 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004149/0.8935, allocations: 474 kB / 0.7637 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.733e-05/0.8936, allocations: 31.92 kB / 0.7637 GB, free: 14.35 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001543/0.8937, allocations: 282.1 kB / 0.764 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.972e-05/0.8938, allocations: 122.9 kB / 0.7641 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001251/0.8939, allocations: 105.2 kB / 0.7642 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001705/0.8941, allocations: 368.1 kB / 0.7646 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002537/0.8943, allocations: 151.1 kB / 0.7647 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003084/0.8947, allocations: 280.8 kB / 0.765 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005637/0.8952, allocations: 436.2 kB / 0.7654 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.8952, allocations: 2.625 kB / 0.7654 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008187/0.896, allocations: 0.5383 MB / 0.7659 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.8961, allocations: 7.031 kB / 0.7659 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.8961, allocations: 3.375 kB / 0.7659 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0014/0.8975, allocations: 236.9 kB / 0.7662 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003236/0.8978, allocations: 110.5 kB / 0.7663 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004764/0.8983, allocations: 0.591 MB / 0.7668 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003081/0.8986, allocations: 50.7 kB / 0.7669 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.608e-05/0.8986, allocations: 45.03 kB / 0.7669 GB, free: 12.88 MB / 0.5762 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.0002316/0.8989, allocations: 181.9 kB / 0.7671 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001076/0.899, allocations: 54.95 kB / 0.7672 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0016/0.9006, allocations: 1.081 MB / 0.7682 GB, free: 12.58 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.97e-06/0.9006, allocations: 6.219 kB / 0.7682 GB, free: 12.58 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.9006, allocations: 3.844 kB / 0.7682 GB, free: 12.58 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.638e-06/0.9006, allocations: 0 / 0.7682 GB, free: 12.58 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00126/0.9019, allocations: 0.9801 MB / 0.7692 GB, free: 12.24 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.666e-06/0.9019, allocations: 2.125 kB / 0.7692 GB, free: 12.24 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001923/0.902, allocations: 52.92 kB / 0.7692 GB, free: 12.24 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002924/0.905, allocations: 441 kB / 0.7697 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.631e-05/0.905, allocations: 8.812 kB / 0.7697 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004703/0.9055, allocations: 0.6044 MB / 0.7702 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.9055, allocations: 7.031 kB / 0.7703 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007518/0.9062, allocations: 0.5003 MB / 0.7707 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001393/0.9064, allocations: 62.78 kB / 0.7708 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001106/0.9065, allocations: 17.3 kB / 0.7708 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003273/0.9068, allocations: 19.41 kB / 0.7708 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.043e-05/0.9069, allocations: 32.33 kB / 0.7709 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.135e-05/0.9069, allocations: 17.22 kB / 0.7709 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004286/0.9073, allocations: 400.5 kB / 0.7713 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.9073, allocations: 0 / 0.7713 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009742/0.9083, allocations: 345.3 kB / 0.7716 GB, free: 11.29 MB / 0.5762 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.001986/0.9103, allocations: 1.373 MB / 0.7729 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0007887/0.9111, allocations: 357.7 kB / 0.7733 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.9111, allocations: 4.281 kB / 0.7733 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003003/0.9114, allocations: 155.3 kB / 0.7734 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001576/0.9129, allocations: 354.6 kB / 0.7738 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006354/0.9193, allocations: 4.839 MB / 0.7785 GB, free: 8.504 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004983/0.9198, allocations: 0.8566 MB / 0.7793 GB, free: 7.805 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001055/0.9209, allocations: 0.5519 MB / 0.7799 GB, free: 7.754 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003549/0.9212, allocations: 221.8 kB / 0.7801 GB, free: 7.746 MB / 0.5762 GB Notification: Performance of SimCode: time 5.81e-07/0.9212, allocations: 0 / 0.7801 GB, free: 7.746 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06276/0.984, allocations: 23.46 MB / 0.803 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.8/14.78, allocations: 11.91 kB / 0.803 GB, free: 13.86 MB / 0.5919 GB " [Timeout remaining time 645] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201879 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/NewFittings/Bends/EdgedBend/EdgedBend.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.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.86031828308478]