Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.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.0009048/0.0009048, 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.004241/0.004241, allocations: 155.4 kB / 24.7 MB, free: 8.355 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.8944/0.8944, allocations: 177 MB / 204.9 MB, free: 5.746 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.2389/0.2389, allocations: 34.24 MB / 295.6 MB, free: 0.6836 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.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_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0 / 443.4 MB, free: 1.059 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.295e-05/2.432e-05, allocations: 2.281 kB / 443.4 MB, free: 1.055 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend): time 0.3459/0.3459, allocations: 161.6 MB / 0.5909 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.004166/0.3501, allocations: 3.401 MB / 0.5942 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000238/0.3503, allocations: 23.81 kB / 0.5942 GB, free: 11.06 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0006319/0.351, allocations: 313.7 kB / 0.5945 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.002634/0.3536, allocations: 1.792 MB / 0.5963 GB, free: 8.965 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001053/0.3546, allocations: 0.7334 MB / 0.597 GB, free: 8.242 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.001363/0.356, allocations: 1.555 MB / 0.5985 GB, free: 6.684 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003863/0.3564, allocations: 357 kB / 0.5988 GB, free: 6.332 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006583/0.3571, allocations: 0.7986 MB / 0.5996 GB, free: 5.531 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003364/0.3574, allocations: 410.8 kB / 0.6 GB, free: 5.129 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 5.686e-05/0.3574, allocations: 48 kB / 0.6 GB, free: 5.082 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001271/0.3587, allocations: 1.15 MB / 0.6012 GB, free: 3.93 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.000114/0.3588, allocations: 159.4 kB / 0.6013 GB, free: 3.773 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001618/0.359, allocations: 252.8 kB / 0.6016 GB, free: 3.527 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001386/0.3604, allocations: 1.741 MB / 0.6033 GB, free: 1.781 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.3604, allocations: 0 / 0.6033 GB, free: 1.781 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.513e-06/0.3604, allocations: 0 / 0.6033 GB, free: 1.781 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.855e-06/0.3604, allocations: 0 / 0.6033 GB, free: 1.781 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.00117/0.3616, allocations: 1.021 MB / 0.6043 GB, free: 0.7266 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.393e-05/0.3616, allocations: 16.56 kB / 0.6043 GB, free: 0.7109 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004983/0.3621, allocations: 139.5 kB / 0.6044 GB, free: 0.5742 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000565/0.3627, allocations: 424.8 kB / 0.6048 GB, free: 136 kB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.208e-05/0.3627, allocations: 29 kB / 0.6048 GB, free: 108 kB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.202e-05/0.3627, allocations: 40 kB / 0.6049 GB, free: 68 kB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001088/0.3638, allocations: 0.8918 MB / 0.6058 GB, free: 15.07 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.3638, allocations: 0 / 0.6058 GB, free: 15.07 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.249e-05/0.3639, allocations: 25.88 kB / 0.6058 GB, free: 15.04 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.004e-05/0.3639, allocations: 12 kB / 0.6058 GB, free: 15.03 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000554/0.3644, allocations: 471.6 kB / 0.6062 GB, free: 14.57 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.001525/0.366, allocations: 1.87 MB / 0.6081 GB, free: 12.64 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004374/0.3664, allocations: 311.6 kB / 0.6084 GB, free: 12.32 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001849/0.3666, allocations: 161.3 kB / 0.6085 GB, free: 12.16 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000152/0.3667, allocations: 52.23 kB / 0.6086 GB, free: 12.11 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.664e-05/0.3668, allocations: 45.47 kB / 0.6086 GB, free: 12.06 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=33): time 1.593e-06/0.3668, allocations: 0 / 0.6086 GB, free: 12.06 MB / 0.5105 GB Notification: Performance of matching and sorting (n=33): time 0.0009855/0.3677, allocations: 0.6282 MB / 0.6092 GB, free: 11.43 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.24e-05/0.3678, allocations: 140.5 kB / 0.6094 GB, free: 11.26 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002817/0.3681, allocations: 401.8 kB / 0.6097 GB, free: 10.85 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.059e-05/0.3681, allocations: 33.7 kB / 0.6098 GB, free: 10.81 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001323/0.3682, allocations: 280.3 kB / 0.61 GB, free: 10.54 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 6.856e-05/0.3683, allocations: 126.9 kB / 0.6102 GB, free: 10.41 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.926e-05/0.3684, allocations: 102.2 kB / 0.6103 GB, free: 10.3 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.079e-05/0.3685, allocations: 350.8 kB / 0.6106 GB, free: 9.953 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001801/0.3687, allocations: 152.8 kB / 0.6107 GB, free: 9.801 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002524/0.3689, allocations: 357.5 kB / 0.6111 GB, free: 9.379 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004188/0.3694, allocations: 441.6 kB / 0.6115 GB, free: 8.902 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.3694, allocations: 3.938 kB / 0.6115 GB, free: 8.898 MB / 0.5105 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008255/0.3702, allocations: 0.5292 MB / 0.612 GB, free: 8.359 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.3702, allocations: 4 kB / 0.612 GB, free: 8.355 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.3702, allocations: 4 kB / 0.612 GB, free: 8.352 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007154/0.3709, allocations: 244.7 kB / 0.6123 GB, free: 8.109 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001823/0.3711, allocations: 107.8 kB / 0.6124 GB, free: 8.004 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000301/0.3714, allocations: 0.5992 MB / 0.6129 GB, free: 7.379 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001346/0.3715, allocations: 35.73 kB / 0.613 GB, free: 7.344 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.649e-05/0.3716, allocations: 52.05 kB / 0.613 GB, free: 7.293 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.0001441/0.3717, allocations: 173.8 kB / 0.6132 GB, free: 7.113 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.93e-05/0.3718, allocations: 51.66 kB / 0.6132 GB, free: 7.062 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001062/0.3728, allocations: 1.075 MB / 0.6143 GB, free: 5.98 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.3728, allocations: 4 kB / 0.6143 GB, free: 5.977 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.3729, allocations: 0 / 0.6143 GB, free: 5.977 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.409e-06/0.3729, allocations: 8 kB / 0.6143 GB, free: 5.969 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007592/0.3736, allocations: 0.8465 MB / 0.6151 GB, free: 5.066 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.3736, allocations: 4 kB / 0.6151 GB, free: 5.062 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001012/0.3737, allocations: 52.72 kB / 0.6152 GB, free: 5.012 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001306/0.375, allocations: 444.3 kB / 0.6156 GB, free: 4.574 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.808e-05/0.375, allocations: 12 kB / 0.6156 GB, free: 4.562 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002638/0.3753, allocations: 0.6013 MB / 0.6162 GB, free: 3.938 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.3753, allocations: 3.984 kB / 0.6162 GB, free: 3.934 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000439/0.3757, allocations: 0.4885 MB / 0.6167 GB, free: 3.41 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.473e-05/0.3758, allocations: 55.58 kB / 0.6167 GB, free: 3.355 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.21e-05/0.3758, allocations: 11.94 kB / 0.6168 GB, free: 3.344 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001388/0.376, allocations: 19.98 kB / 0.6168 GB, free: 3.324 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.698e-05/0.376, allocations: 28.02 kB / 0.6168 GB, free: 3.297 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.039e-05/0.376, allocations: 19.98 kB / 0.6168 GB, free: 3.277 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002372/0.3763, allocations: 319.1 kB / 0.6171 GB, free: 2.969 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7e-08/0.3763, allocations: 0 / 0.6171 GB, free: 2.969 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0005918/0.3769, allocations: 358.8 kB / 0.6175 GB, free: 2.617 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.0006082/0.3775, allocations: 453.9 kB / 0.6179 GB, free: 2.16 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0004923/0.378, allocations: 360.6 kB / 0.6182 GB, free: 1.809 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.378, allocations: 4.125 kB / 0.6182 GB, free: 1.805 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.000187/0.3782, allocations: 147.8 kB / 0.6184 GB, free: 1.66 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007187/0.3789, allocations: 293.1 kB / 0.6187 GB, free: 1.395 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001119/0.38, allocations: 0.8814 MB / 0.6195 GB, free: 484 kB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000144/0.3801, allocations: 258.9 kB / 0.6198 GB, free: 196 kB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002046/0.3803, allocations: 128.4 kB / 0.6199 GB, free: 68 kB / 0.5105 GB Notification: Performance of SimCode: time 4.81e-07/0.3803, allocations: 0 / 0.6199 GB, free: 68 kB / 0.5105 GB Notification: Performance of Templates: time 0.01162/0.392, allocations: 14.84 MB / 0.6344 GB, free: 1.281 MB / 0.5261 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/NewFittings/Bends/EdgedBend/EdgedBend.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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.76029787492007]