Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001091/0.001091, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.004821/0.004821, allocations: 163.9 kB / 24.7 MB, free: 9.406 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.8877/0.8877, allocations: 177.1 MB / 205 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.2333/0.2333, allocations: 32.79 MB / 294.2 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: translateModel(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|ramp.y|boundary.ports.1..m_flow|boundary.ports.1..p|boundary.ports.1..h_outflow|sensor.port_b.m_flow|sensor.port_b.p|sensor.port_b.h_outflow|fitting1.port_b.m_flow|fitting1.port_b.p|fitting1.port_b.h_outflow|fitting2.port_b.m_flow|fitting2.port_b.p|fitting2.port_b.h_outflow",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend") translateModel(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|ramp.y|boundary.ports.1..m_flow|boundary.ports.1..p|boundary.ports.1..h_outflow|sensor.port_b.m_flow|sensor.port_b.p|sensor.port_b.h_outflow|fitting1.port_b.m_flow|fitting1.port_b.p|fitting1.port_b.h_outflow|fitting2.port_b.m_flow|fitting2.port_b.p|fitting2.port_b.h_outflow",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 440.9 MB, free: 3.75 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.578e-05/2.729e-05, allocations: 2.281 kB / 440.9 MB, free: 3.746 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend): time 0.2946/0.2946, allocations: 161.6 MB / 0.5883 GB, free: 2.703 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.004225/0.2988, allocations: 3.409 MB / 0.5917 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003582/0.2992, allocations: 23.81 kB / 0.5917 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0007165/0.2999, allocations: 309.8 kB / 0.592 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.00277/0.3027, allocations: 1.792 MB / 0.5937 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001126/0.3038, allocations: 0.7299 MB / 0.5945 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.001306/0.3051, allocations: 1.559 MB / 0.596 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003594/0.3055, allocations: 353 kB / 0.5963 GB, free: 10.54 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006218/0.3061, allocations: 0.7948 MB / 0.5971 GB, free: 9.742 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003369/0.3064, allocations: 414.8 kB / 0.5975 GB, free: 9.336 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 5.607e-05/0.3065, allocations: 51.47 kB / 0.5975 GB, free: 9.289 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001282/0.3078, allocations: 1.15 MB / 0.5987 GB, free: 8.137 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.00012/0.3079, allocations: 163.4 kB / 0.5988 GB, free: 7.977 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001605/0.3081, allocations: 247.4 kB / 0.5991 GB, free: 7.734 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001405/0.3095, allocations: 1.738 MB / 0.6007 GB, free: 5.992 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.3095, allocations: 4 kB / 0.6008 GB, free: 5.988 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.963e-06/0.3095, allocations: 0 / 0.6008 GB, free: 5.988 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.043e-06/0.3095, allocations: 0 / 0.6008 GB, free: 5.988 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.001176/0.3106, allocations: 1.029 MB / 0.6018 GB, free: 4.926 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.285e-05/0.3107, allocations: 12.03 kB / 0.6018 GB, free: 4.914 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004956/0.3112, allocations: 131.5 kB / 0.6019 GB, free: 4.785 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005055/0.3117, allocations: 426.1 kB / 0.6023 GB, free: 4.34 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.138e-05/0.3117, allocations: 33 kB / 0.6023 GB, free: 4.309 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.222e-05/0.3117, allocations: 44 kB / 0.6024 GB, free: 4.266 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001001/0.3127, allocations: 0.8918 MB / 0.6032 GB, free: 3.262 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.3128, allocations: 0 / 0.6032 GB, free: 3.262 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.296e-05/0.3128, allocations: 20 kB / 0.6033 GB, free: 3.242 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.796e-06/0.3128, allocations: 8 kB / 0.6033 GB, free: 3.234 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005413/0.3134, allocations: 471.6 kB / 0.6037 GB, free: 2.773 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.001553/0.3149, allocations: 1.874 MB / 0.6056 GB, free: 0.8359 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004382/0.3153, allocations: 319.6 kB / 0.6059 GB, free: 0.5156 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001736/0.3155, allocations: 157.3 kB / 0.606 GB, free: 368 kB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001363/0.3157, allocations: 48.27 kB / 0.6061 GB, free: 320 kB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.584e-05/0.3157, allocations: 46.77 kB / 0.6061 GB, free: 264 kB / 0.4948 GB Notification: Performance of pre-optimization done (n=33): time 1.683e-06/0.3157, allocations: 0 / 0.6061 GB, free: 264 kB / 0.4948 GB Notification: Performance of matching and sorting (n=33): time 0.0009857/0.3167, allocations: 0.6282 MB / 0.6067 GB, free: 15.62 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.56e-05/0.3167, allocations: 144.4 kB / 0.6068 GB, free: 15.45 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002882/0.317, allocations: 397.8 kB / 0.6072 GB, free: 15.05 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.006e-05/0.317, allocations: 33.7 kB / 0.6073 GB, free: 15.01 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001285/0.3172, allocations: 280.4 kB / 0.6075 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 6.648e-05/0.3172, allocations: 126.9 kB / 0.6076 GB, free: 14.61 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.702e-05/0.3173, allocations: 102.2 kB / 0.6077 GB, free: 14.5 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.842e-05/0.3174, allocations: 350.8 kB / 0.6081 GB, free: 14.15 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001883/0.3176, allocations: 152.8 kB / 0.6082 GB, free: 14 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002613/0.3179, allocations: 353.5 kB / 0.6086 GB, free: 13.58 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004363/0.3183, allocations: 433.6 kB / 0.609 GB, free: 13.11 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.3183, allocations: 1.5 kB / 0.609 GB, free: 13.11 MB / 0.5105 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008416/0.3192, allocations: 0.5357 MB / 0.6095 GB, free: 12.57 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.3192, allocations: 7.984 kB / 0.6095 GB, free: 12.56 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.3192, allocations: 7.047 kB / 0.6095 GB, free: 12.56 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007296/0.3199, allocations: 240.9 kB / 0.6097 GB, free: 12.32 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001854/0.3201, allocations: 107.9 kB / 0.6098 GB, free: 12.21 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003118/0.3204, allocations: 0.5952 MB / 0.6104 GB, free: 11.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001391/0.3205, allocations: 43.72 kB / 0.6105 GB, free: 11.55 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.761e-05/0.3206, allocations: 47.98 kB / 0.6105 GB, free: 11.5 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.0001555/0.3208, allocations: 178.8 kB / 0.6107 GB, free: 11.32 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.226e-05/0.3208, allocations: 51.66 kB / 0.6107 GB, free: 11.27 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00108/0.3219, allocations: 1.074 MB / 0.6118 GB, free: 10.19 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.3219, allocations: 4 kB / 0.6118 GB, free: 10.18 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.3219, allocations: 0 / 0.6118 GB, free: 10.18 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.523e-06/0.3219, allocations: 7.984 kB / 0.6118 GB, free: 10.18 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007714/0.3227, allocations: 0.8503 MB / 0.6126 GB, free: 9.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.3227, allocations: 8.156 kB / 0.6126 GB, free: 9.262 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001048/0.3228, allocations: 51.97 kB / 0.6127 GB, free: 9.211 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001318/0.3241, allocations: 436.2 kB / 0.6131 GB, free: 8.781 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.735e-05/0.3241, allocations: 11.98 kB / 0.6131 GB, free: 8.77 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000268/0.3244, allocations: 0.5966 MB / 0.6137 GB, free: 8.148 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.3244, allocations: 0 / 0.6137 GB, free: 8.148 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004659/0.3249, allocations: 0.504 MB / 0.6142 GB, free: 7.609 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.41e-05/0.3249, allocations: 47.64 kB / 0.6142 GB, free: 7.562 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.349e-05/0.3249, allocations: 11.94 kB / 0.6142 GB, free: 7.551 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001417/0.3251, allocations: 19.98 kB / 0.6143 GB, free: 7.531 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.814e-05/0.3251, allocations: 19.97 kB / 0.6143 GB, free: 7.512 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.094e-05/0.3252, allocations: 23.92 kB / 0.6143 GB, free: 7.488 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002296/0.3254, allocations: 315.1 kB / 0.6146 GB, free: 7.18 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3254, allocations: 0 / 0.6146 GB, free: 7.18 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0006311/0.326, allocations: 358.8 kB / 0.6149 GB, free: 6.828 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.0006377/0.3267, allocations: 462.9 kB / 0.6154 GB, free: 6.363 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0005009/0.3272, allocations: 359.8 kB / 0.6157 GB, free: 6.012 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.3272, allocations: 3.938 kB / 0.6157 GB, free: 6.008 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001918/0.3274, allocations: 149 kB / 0.6159 GB, free: 5.863 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000738/0.3281, allocations: 296.9 kB / 0.6162 GB, free: 5.59 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009492/0.329, allocations: 0.889 MB / 0.617 GB, free: 4.66 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001465/0.3292, allocations: 254.9 kB / 0.6173 GB, free: 4.383 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002079/0.3294, allocations: 120.4 kB / 0.6174 GB, free: 4.266 MB / 0.5105 GB Notification: Performance of SimCode: time 6.62e-07/0.3294, allocations: 0 / 0.6174 GB, free: 4.266 MB / 0.5105 GB Notification: Performance of Templates: time 0.01178/0.3412, allocations: 14.84 MB / 0.6319 GB, free: 5.473 MB / 0.5261 GB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/NewFittings/Bends/EdgedBend/EdgedBend.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 6.917856781743467]