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.001708/0.001708, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.002354/0.002354, allocations: 218.6 kB / 22.99 MB, free: 4.977 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.546/1.546, allocations: 207.7 MB / 233.8 MB, free: 9.785 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.2243/0.2243, allocations: 44.28 MB / 330.4 MB, free: 9.293 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.002346/0.002346, allocations: 79.88 kB / 467.5 MB, free: 4.309 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.1215, allocations: 61.03 MB / 0.5162 GB, free: 7.148 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend): time 0.4156/0.5371, allocations: 165 MB / 0.6773 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01043/0.5475, allocations: 5.609 MB / 0.6828 GB, free: 7.531 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001118/0.5486, allocations: 23.75 kB / 0.6828 GB, free: 7.508 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001595/0.5502, allocations: 313.9 kB / 0.6831 GB, free: 7.199 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.006056/0.5563, allocations: 1.971 MB / 0.685 GB, free: 5.223 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002189/0.5584, allocations: 0.718 MB / 0.6857 GB, free: 4.504 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002383/0.5608, allocations: 1.547 MB / 0.6872 GB, free: 2.949 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007303/0.5616, allocations: 348 kB / 0.6876 GB, free: 2.602 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001176/0.5627, allocations: 0.5994 MB / 0.6881 GB, free: 2 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009226/0.5637, allocations: 454 kB / 0.6886 GB, free: 1.555 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.000169/0.5638, allocations: 59.94 kB / 0.6886 GB, free: 1.496 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003661/0.5675, allocations: 1.365 MB / 0.69 GB, free: 132 kB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002939/0.5678, allocations: 167.4 kB / 0.6901 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0005029/0.5683, allocations: 294.8 kB / 0.6904 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.003453/0.5717, allocations: 1.76 MB / 0.6921 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.5717, allocations: 0 / 0.6921 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.733e-06/0.5717, allocations: 0 / 0.6921 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.182e-05/0.5718, allocations: 0 / 0.6921 GB, free: 13.91 MB / 0.5294 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.002541/0.5743, allocations: 1.072 MB / 0.6932 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/0.5744, allocations: 8.031 kB / 0.6932 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001229/0.5745, allocations: 78.53 kB / 0.6932 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001026/0.5755, allocations: 147.5 kB / 0.6934 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009995/0.5765, allocations: 433.6 kB / 0.6938 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.393e-05/0.5765, allocations: 33 kB / 0.6938 GB, free: 12.08 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.37e-05/0.5766, allocations: 36 kB / 0.6939 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001323/0.5779, allocations: 0.8957 MB / 0.6947 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.876e-05/0.578, allocations: 11.92 kB / 0.6948 GB, free: 11.03 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.687e-05/0.578, allocations: 20 kB / 0.6948 GB, free: 11.01 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.414e-05/0.578, allocations: 12 kB / 0.6948 GB, free: 11 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009927/0.579, allocations: 467.6 kB / 0.6952 GB, free: 10.54 MB / 0.5294 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.003367/0.5824, allocations: 1.985 MB / 0.6972 GB, free: 8.48 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008054/0.5832, allocations: 315.5 kB / 0.6975 GB, free: 8.164 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000329/0.5835, allocations: 161.3 kB / 0.6976 GB, free: 8.004 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00103/0.5846, allocations: 410.4 kB / 0.698 GB, free: 7.602 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.61e-05/0.5846, allocations: 38.84 kB / 0.6981 GB, free: 7.555 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=33): time 2.304e-06/0.5846, allocations: 0 / 0.6981 GB, free: 7.555 MB / 0.5294 GB Notification: Performance of matching and sorting (n=33): time 0.001847/0.5864, allocations: 0.6517 MB / 0.6987 GB, free: 6.895 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.679e-05/0.5865, allocations: 132.5 kB / 0.6988 GB, free: 6.734 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006594/0.5872, allocations: 482 kB / 0.6993 GB, free: 6.254 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.756e-05/0.5872, allocations: 37.7 kB / 0.6993 GB, free: 6.211 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002456/0.5875, allocations: 284.3 kB / 0.6996 GB, free: 5.93 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.000125/0.5876, allocations: 119 kB / 0.6997 GB, free: 5.812 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001727/0.5878, allocations: 102.1 kB / 0.6998 GB, free: 5.707 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001788/0.588, allocations: 358.8 kB / 0.7001 GB, free: 5.348 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003505/0.5883, allocations: 151.4 kB / 0.7003 GB, free: 5.203 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005175/0.5888, allocations: 360.8 kB / 0.7006 GB, free: 4.777 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008659/0.5897, allocations: 432.7 kB / 0.701 GB, free: 4.309 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.5897, allocations: 0 / 0.701 GB, free: 4.309 MB / 0.5294 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001211/0.5909, allocations: 0.5406 MB / 0.7016 GB, free: 3.758 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.545e-05/0.5909, allocations: 8.938 kB / 0.7016 GB, free: 3.75 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/0.591, allocations: 4 kB / 0.7016 GB, free: 3.746 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001624/0.5926, allocations: 240.9 kB / 0.7018 GB, free: 3.508 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003824/0.593, allocations: 107.9 kB / 0.7019 GB, free: 3.402 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006066/0.5936, allocations: 0.5915 MB / 0.7025 GB, free: 2.785 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003816/0.5939, allocations: 51.61 kB / 0.7025 GB, free: 2.734 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.155e-05/0.594, allocations: 47.98 kB / 0.7026 GB, free: 2.688 MB / 0.5294 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.0003154/0.5944, allocations: 189.6 kB / 0.7028 GB, free: 2.492 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001505/0.5945, allocations: 55.67 kB / 0.7028 GB, free: 2.438 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001599/0.5961, allocations: 0.7248 MB / 0.7035 GB, free: 1.691 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/0.5961, allocations: 4 kB / 0.7035 GB, free: 1.688 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/0.5961, allocations: 4 kB / 0.7035 GB, free: 1.684 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.125e-06/0.5961, allocations: 3.938 kB / 0.7035 GB, free: 1.68 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001758/0.5979, allocations: 0.9326 MB / 0.7044 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.5979, allocations: 3.938 kB / 0.7045 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000237/0.5981, allocations: 55.84 kB / 0.7045 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003241/0.6014, allocations: 444.3 kB / 0.7049 GB, free: 188 kB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.541e-05/0.6014, allocations: 8 kB / 0.7049 GB, free: 180 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005331/0.6019, allocations: 0.5992 MB / 0.7055 GB, free: 15.55 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.893e-06/0.602, allocations: 7.969 kB / 0.7055 GB, free: 15.54 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009458/0.6029, allocations: 0.5119 MB / 0.706 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000164/0.6031, allocations: 63.53 kB / 0.7061 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001109/0.6032, allocations: 15.95 kB / 0.7061 GB, free: 14.92 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003502/0.6035, allocations: 15.98 kB / 0.7061 GB, free: 14.9 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.487e-05/0.6036, allocations: 31.83 kB / 0.7061 GB, free: 14.87 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.371e-05/0.6036, allocations: 19.98 kB / 0.7062 GB, free: 14.85 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0005785/0.6042, allocations: 402.8 kB / 0.7066 GB, free: 14.46 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.6042, allocations: 0 / 0.7066 GB, free: 14.46 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001246/0.6055, allocations: 375 kB / 0.7069 GB, free: 14.09 MB / 0.545 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.003204/0.6087, allocations: 1.447 MB / 0.7083 GB, free: 12.61 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001098/0.6098, allocations: 364.2 kB / 0.7087 GB, free: 12.25 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.681e-06/0.6098, allocations: 0 / 0.7087 GB, free: 12.25 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003891/0.6102, allocations: 151.8 kB / 0.7088 GB, free: 12.1 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002051/0.6122, allocations: 390.2 kB / 0.7092 GB, free: 11.72 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00835/0.6206, allocations: 4.89 MB / 0.714 GB, free: 6.629 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002836/0.6208, allocations: 255.6 kB / 0.7142 GB, free: 6.348 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0007995/0.6216, allocations: 205.1 kB / 0.7144 GB, free: 6.148 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003969/0.622, allocations: 215.4 kB / 0.7146 GB, free: 5.938 MB / 0.545 GB Notification: Performance of SimCode: time 6.81e-07/0.622, allocations: 0 / 0.7146 GB, free: 5.938 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07111/0.6931, allocations: 26.35 MB / 0.7403 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.35/14.04, allocations: 3.906 kB / 0.7403 GB, free: 11.57 MB / 0.5762 GB " [Timeout remaining time 646] (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.264879127964377]