Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000872/0.000872, allocations: 88.28 kB / 21.44 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.003666/0.003666, allocations: 152.8 kB / 24.7 MB, free: 8.91 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8731/0.8731, allocations: 177 MB / 204.9 MB, free: 5.77 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2288/0.2288, allocations: 34.23 MB / 295.6 MB, free: 0.6758 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend,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_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend") translateModel(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend,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_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.844e-06/1.844e-06, allocations: 0 / 443.4 MB, free: 1.043 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.752e-05/1.937e-05, allocations: 12.75 kB / 443.4 MB, free: 1.031 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend): time 0.2817/0.2817, allocations: 161.6 MB / 0.5909 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.003929/0.2856, allocations: 3.408 MB / 0.5942 GB, free: 11.03 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002836/0.2859, allocations: 23.81 kB / 0.5943 GB, free: 11 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0007201/0.2866, allocations: 313.7 kB / 0.5946 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.002701/0.2893, allocations: 1.796 MB / 0.5963 GB, free: 8.898 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001107/0.2904, allocations: 0.732 MB / 0.597 GB, free: 8.172 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.001116/0.2915, allocations: 1.563 MB / 0.5985 GB, free: 6.605 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003623/0.2919, allocations: 349.1 kB / 0.5989 GB, free: 6.262 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006463/0.2926, allocations: 0.8141 MB / 0.5997 GB, free: 5.445 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003527/0.2929, allocations: 414.8 kB / 0.6001 GB, free: 5.039 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 5.594e-05/0.293, allocations: 48 kB / 0.6001 GB, free: 4.992 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001297/0.2943, allocations: 1.193 MB / 0.6013 GB, free: 3.797 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001181/0.2944, allocations: 183.3 kB / 0.6015 GB, free: 3.617 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001653/0.2945, allocations: 247.5 kB / 0.6017 GB, free: 3.375 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.00146/0.296, allocations: 1.773 MB / 0.6034 GB, free: 1.598 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.296, allocations: 4 kB / 0.6034 GB, free: 1.594 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.683e-06/0.296, allocations: 0 / 0.6034 GB, free: 1.594 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.404e-06/0.296, allocations: 3.938 kB / 0.6034 GB, free: 1.59 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.001165/0.2972, allocations: 1.021 MB / 0.6044 GB, free: 0.5352 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.153e-05/0.2972, allocations: 8.625 kB / 0.6044 GB, free: 0.5273 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004936/0.2977, allocations: 143.5 kB / 0.6046 GB, free: 396 kB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005255/0.2982, allocations: 425.6 kB / 0.605 GB, free: 15.94 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.117e-05/0.2983, allocations: 33 kB / 0.605 GB, free: 15.91 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.011e-05/0.2983, allocations: 40 kB / 0.605 GB, free: 15.87 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007371/0.299, allocations: 0.9022 MB / 0.6059 GB, free: 14.86 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.299, allocations: 3.938 kB / 0.6059 GB, free: 14.86 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.765e-05/0.2991, allocations: 20 kB / 0.606 GB, free: 14.84 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.767e-06/0.2991, allocations: 12 kB / 0.606 GB, free: 14.82 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005343/0.2996, allocations: 471.6 kB / 0.6064 GB, free: 14.36 MB / 0.5105 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.001519/0.3011, allocations: 1.884 MB / 0.6083 GB, free: 12.42 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004441/0.3016, allocations: 326.6 kB / 0.6086 GB, free: 12.1 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001722/0.3018, allocations: 161.4 kB / 0.6087 GB, free: 11.94 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001274/0.3019, allocations: 44.25 kB / 0.6088 GB, free: 11.89 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.592e-05/0.3019, allocations: 38.84 kB / 0.6088 GB, free: 11.85 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=33): time 2.665e-06/0.3019, allocations: 4 kB / 0.6088 GB, free: 11.84 MB / 0.5105 GB Notification: Performance of matching and sorting (n=33): time 0.0009945/0.3029, allocations: 0.6398 MB / 0.6094 GB, free: 11.2 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.875e-05/0.303, allocations: 144.4 kB / 0.6096 GB, free: 11.02 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000561/0.3035, allocations: 409.9 kB / 0.61 GB, free: 10.61 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.104e-05/0.3036, allocations: 37.69 kB / 0.61 GB, free: 10.57 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.000125/0.3037, allocations: 284.3 kB / 0.6103 GB, free: 10.29 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 6.248e-05/0.3037, allocations: 123 kB / 0.6104 GB, free: 10.16 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.514e-05/0.3038, allocations: 98.17 kB / 0.6105 GB, free: 10.06 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.216e-05/0.3039, allocations: 358.8 kB / 0.6108 GB, free: 9.703 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001796/0.3041, allocations: 144.9 kB / 0.611 GB, free: 9.562 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000253/0.3044, allocations: 361.4 kB / 0.6113 GB, free: 9.133 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004475/0.3048, allocations: 437.6 kB / 0.6117 GB, free: 8.66 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.3048, allocations: 0 / 0.6117 GB, free: 8.66 MB / 0.5105 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0005741/0.3054, allocations: 0.5332 MB / 0.6122 GB, free: 8.117 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.3054, allocations: 12.06 kB / 0.6122 GB, free: 8.105 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.3054, allocations: 4 kB / 0.6123 GB, free: 8.102 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007143/0.3061, allocations: 244.5 kB / 0.6125 GB, free: 7.859 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001829/0.3063, allocations: 107.8 kB / 0.6126 GB, free: 7.754 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002962/0.3066, allocations: 0.5915 MB / 0.6132 GB, free: 7.137 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001386/0.3067, allocations: 43.67 kB / 0.6132 GB, free: 7.094 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.924e-05/0.3068, allocations: 47.98 kB / 0.6133 GB, free: 7.047 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.0001536/0.3069, allocations: 181.8 kB / 0.6134 GB, free: 6.859 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.88e-05/0.307, allocations: 51.66 kB / 0.6135 GB, free: 6.809 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00106/0.3081, allocations: 1.086 MB / 0.6145 GB, free: 5.719 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.3081, allocations: 4 kB / 0.6145 GB, free: 5.715 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.3081, allocations: 0.5625 kB / 0.6145 GB, free: 5.715 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.3081, allocations: 0 / 0.6145 GB, free: 5.715 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009559/0.309, allocations: 0.8621 MB / 0.6154 GB, free: 4.797 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.309, allocations: 4 kB / 0.6154 GB, free: 4.793 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001045/0.3091, allocations: 58.28 kB / 0.6154 GB, free: 4.738 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001318/0.3105, allocations: 436.4 kB / 0.6159 GB, free: 4.309 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.818e-05/0.3105, allocations: 15.98 kB / 0.6159 GB, free: 4.293 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000263/0.3107, allocations: 0.6069 MB / 0.6165 GB, free: 3.66 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3107, allocations: 4.094 kB / 0.6165 GB, free: 3.656 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004569/0.3112, allocations: 0.4955 MB / 0.617 GB, free: 3.129 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.377e-05/0.3112, allocations: 51.58 kB / 0.617 GB, free: 3.078 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.117e-05/0.3113, allocations: 8 kB / 0.617 GB, free: 3.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001403/0.3114, allocations: 19.98 kB / 0.617 GB, free: 3.051 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.964e-05/0.3115, allocations: 27.91 kB / 0.6171 GB, free: 3.023 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.893e-05/0.3115, allocations: 15.98 kB / 0.6171 GB, free: 3.008 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002283/0.3117, allocations: 327.1 kB / 0.6174 GB, free: 2.691 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6e-08/0.3117, allocations: 8 kB / 0.6174 GB, free: 2.684 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0006048/0.3123, allocations: 346.9 kB / 0.6177 GB, free: 2.344 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.0006351/0.313, allocations: 451.9 kB / 0.6182 GB, free: 1.891 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0004749/0.3134, allocations: 355.9 kB / 0.6185 GB, free: 1.543 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.3134, allocations: 0 / 0.6185 GB, free: 1.543 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001893/0.3136, allocations: 160.9 kB / 0.6186 GB, free: 1.387 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000721/0.3143, allocations: 305.9 kB / 0.6189 GB, free: 1.113 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008783/0.3152, allocations: 0.8849 MB / 0.6198 GB, free: 184 kB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001566/0.3154, allocations: 255.2 kB / 0.62 GB, free: 15.9 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002071/0.3156, allocations: 124.4 kB / 0.6202 GB, free: 15.78 MB / 0.5261 GB Notification: Performance of SimCode: time 6.71e-07/0.3156, allocations: 3.938 kB / 0.6202 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of Templates: time 0.01152/0.3271, allocations: 15.19 MB / 0.635 GB, free: 0.6406 MB / 0.5261 GB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/NewFittings/Bends/CurvedBend/CurvedBend.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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: 6.717236960306764]